hydromodpy.spatial.delineation#

Catchment delineation backends.

Runtime entry points:

  • DelineationBackend - high-level Protocol (see base).

  • WhiteboxWorkflowsBackend - facade aggregating raster IO, flow analysis, and delineation sub-backends.

  • WhiteboxRasterBackend / WhiteboxFlowBackend / WhiteboxDelineationBackend - thematic sub-backends accessible via the facade attributes raster / flow / delineation.

  • get_backend(name) - resolve a registered backend by name with graceful fallback when an optional dependency is missing.

  • get_whitebox_backend() - shortcut returning the default workflows-backed facade.

Functions

clear_whitebox_backend_cache()

Clear the shared workflows backend singleton.

get_whitebox_backend([kind])

Return the shared workflows backend used by runtime code.

Modules

base

Protocol for catchment delineation backends.

registry

Registry of delineation backends.

synthetic_backend

Synthetic delineation backend.

whitebox_workflows_backend

Whitebox Workflows backend split by concern.