hydromodpy.spatial.geographic.core.catchment_from_polygon#
Import and normalize an externally provided catchment polygon.
Purpose#
Support workflows where catchment delineation is already available outside HydroModPy and only needs to be standardized for internal pipeline contracts.
Pipeline position#
Used when catch_def='from_polyg_shp' in the geographic workflow.
Main responsibilities#
copy the input polygon to canonical
watershed.shplocation,remove duplicate attribute columns often found in shapefile exports,
enforce CRS metadata expected by downstream steps.
Functions
|
Copy and sanitize one input catchment polygon shapefile. |