hydromodpy.spatial.geographic.core.catchment_from_point#

Delineate a catchment polygon from one outlet coordinate.

Purpose#

Transform one configured outlet point into canonical watershed products (outlet.shp, outlet_snap.shp, watershed.tif, watershed.shp).

Pipeline position#

Used when catch_def='from_outlet_coord' in the geographic workflow.

Processing steps#

  1. Build a point layer from x_outlet / y_outlet.

  2. Snap the point to the nearest strong-flow cell on accumulation raster.

  3. Run watershed delineation from D8 direction raster.

  4. Polygonize the resulting watershed raster for downstream GIS/domain usage.

Functions

extract_catchment_from_point(*, x_outlet, ...)

Delineate a catchment polygon from one outlet point.

Classes

CatchmentFromPointProducts(outlet_shp, ...)

Paths to all artifacts generated by outlet-based delineation.