swn.SurfaceWaterNetwork.diversions#
- property SurfaceWaterNetwork.diversions#
[Geo]DataFrame of surface water diversions.
Use
set_diversions()
to set this property.- Attributes:
- indexany
Unique index for each diversion, with an optional name attribute. Copied from
lines.index
. This is often defined externally, and is used to relate and exchange stream information.- geometrygeometry
If a GeoDataFrame was used to define diversions, this is a copy of the GeoSeries.
- from_segnumsame type as segments.index
Index of segment from which diversion is connected to.
- methodstr, optional
Method used to match diversion to segment location; see
locate_geoms()
for further information. This column is absent if assigned directly with afrom_segnum
column.- seg_ndistfloat
Normalized distance along segment to closest point to diversion.
- dist_to_segfloat
Distance to segment line described by
from_segnum
.