SurfaceWaterNetwork#
Constructors#
|
Surface water network class. |
|
Create and evaluate a new SurfaceWaterNetwork from lines for segments. |
Read a pickled format from a file. |
DataFrame properties#
GeoDataFrame of stream segments derived from the lines input. |
|
Polygon GeoSeries of surface water catchments. |
|
[Geo]DataFrame of surface water diversions. |
Other properties#
Return True if all segment lines have Z dimension. |
|
Return index of headwater segments. |
|
Return index of outlets. |
|
Return Series of segnum to connect downstream. |
|
Return partial Series of a set of segnums to connect upstream. |
Methods#
|
Set surface water diversion locations. |
|
Generate a Series along the segments index. |
Generate a DataFrame of paired values for top/bottom of segments. |
|
Accumulate values down the stream network. |
|
|
Return a list of segnums that connect a pair of segnums. |
|
Return segnums upstream (inclusive) and downstream (exclusive). |
|
Return GeoDataFrame of data associated in finding geometies. |
|
Aggregate segments (and catchments) to a coarser network of segnums. |
|
Coarsen stream network to a minimum stream order level. |
|
Remove segments (and catchments) in-place, preserving attributes. |
Evaluate upstream length of segments, adds to segments. |
|
Evaluate upstream area from catchments, adds to segments. |
|
|
Estimate stream width based on upstream area and fitting parameters. |
Check and adjust (if necessary) Z coordinates of elevation profiles. |
Miscellaneous#
|
Plot map of surface water network. |
|
Pickle (serialize) object to file. |