hydromodpy.spatial.delineation.base#

Protocol for catchment delineation backends.

This module defines the abstract contract used by hydromodpy to perform delineation on top of a digital elevation model. Concrete implementations live in whitebox_workflows_backend.py and synthetic_backend.py.

The low-level Whitebox surface is no longer expressed as a Protocol since hydromodpy.spatial.delineation.whitebox_workflows_backend.WhiteboxWorkflowsBackend splits its API across three thematic sub-backends (raster IO, flow analysis, delineation) and is the only concrete implementation. Callers that need a typed handle reference WhiteboxWorkflowsBackend directly.

Classes

DelineationBackend(*args, **kwargs)

Minimal high-level contract for a catchment delineation backend.