Skip to content

stream widths are all 1 despite providing width columns #208

@aestrad-intera

Description

@aestrad-intera

I am running the following code:

lines = sfrmaker.Lines.from_shapefile(shapefile=pshp_ws/streams,
id_column='StreamID',
routing_column='MEAN_toID',
name_column='NAME',
attr_length_units='meters', # units of source data
width1_column1='uwidth',
width2_column='dwidth',
width_units='feet'
)
sfrdata = lines.to_sfr(grid=mg, model=gwf, model_length_units='feet',
one_reach_per_cell=True)
rd = sfrdata.reach_data.copy()

all widths come out as 1 in rd. I have made sure that the columns in the shapefile provided exist. Why is this not returning a width column based on the supplied stream widths?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions