hydromodpy.spatial.geographic.core.pipeline_steps#

Shared orchestration helpers for geographic pipelines.

Purpose#

Centralize reusable setup/build steps so both compact feature builders and runtime pipelines call the same primitives (paths, DEM metadata, catchment extraction, domain support polygons).

Why this module matters#

Keeps orchestration logic explicit and avoids duplicating fragile path/CRS handling across multiple runner entry points.

Functions

build_standard_catchment(*, config, paths, ...)

Build the canonical watershed geometry from outlet or polygon config.

build_standard_domain_polygons(*, config, ...)

Build buffered catchment, box and box-buffer polygons with canonical names.

prepare_geographic_run(*, config, out_dir_path)

Build canonical paths, ensure folders exist, and resolve DEM/CRS primitives.

Classes

PreparedGeographicRun(paths, dem_init_path, ...)

Canonical shared setup computed before geographic product generation.