swn.SurfaceWaterNetwork.estimate_width#
- SurfaceWaterNetwork.estimate_width(a=1.42, b=0.52, upstream_area='upstream_area')#
Estimate stream width based on upstream area and fitting parameters.
The column ‘upstream_area’ (in m^2) must exist in segments, as automatically calculated if provided catchments (polygons), or appended manually.
Stream width is based on the formula:
width = a + (upstream_area / 1e6) ** b
- Parameters:
- a, bfloat or pandas.Series, optional
Fitting parameters, with defaults a=1.42, and b=0.52
- upstream_areastr or pandas.Series
Column name in segments (default
upstream_area
) to use for upstream area (in m^2), or series of upstream areas.
- Returns:
- None