hydromodpy.spatial.geographic.core.derived_features#

Structured geographic-derived features shared across runtime layers.

This module introduces a higher-level container for geographic artifacts that are neither raw data-managers nor domain zones:

  • topographic surface derived from the prepared DEM,

  • boundary/support polygons used by the domain and meshing workflows,

  • optional river-network products derived from the DEM workflow.

DomainGeographicContext remains available as a narrower domain view, but orchestration code should prefer GeographicDerivedFeatures whenever it needs the complete geographic product bundle.

Functions

attach_reference_hydrographic_network(...)

Return one updated features bundle enriched with the reference network.

coerce_geographic_derived_features(*[, ...])

Resolve GeographicDerivedFeatures from runtime objects when possible.

resolve_river_mesh_trace(*[, ...])

Return the canonical in-memory river mesh trace when available.

Classes

GeographicBoundaryFeatures(watershed_shp, ...)

Boundary/support polygons derived during geographic preprocessing.

GeographicDerivedFeatures(surface_topo, ...)

Canonical bundle of geographic artifacts derived from preprocessing.