hydromodpy.spatial.geographic.core.river_network#

Build DEM-derived river-network products on catchment support.

Purpose#

Create optional hydrographic products from flow rasters: - extracted stream raster, - vector river network, - optional stream-order/link diagnostics, - compact JSON summary for regression checks and reporting.

Pipeline position#

Executed after catchment/domain preprocessing when geographic.river_network.enabled = true.

Functions

build_river_network_products(*, ...[, ...])

Build stream rasters, stream vectors and one summary JSON payload.

compute_river_network_summary(*, ...[, ...])

Compute deterministic summary metrics used by diagnostics and tests.

resolve_stream_threshold_cells(*, ...)

Resolve the stream-initiation threshold as contributing cell count.

Classes

RiverNetworkProducts(enabled[, ...])

Technical bundle for one DEM-derived network build.