hydromodpy.spatial.geographic.core.catchment_metrics#

Compute scalar metrics from catchment geometries.

Purpose#

Expose lightweight, deterministic geographic indicators used by orchestration and diagnostics.

Current scope#

Only catchment area (km2) is exposed here, with compatibility logic that preserves authored shapefile area metadata when an AREA attribute exists.

Functions

compute_catchment_area_km2(watershed_shp)

Return catchment area in km2 from watershed polygon.