hydromodpy.spatial.geographic.structure_binders#

Geographic-side binders for data-to-structure updates.

These functions bridge geographic outputs (catchment polygons, zone codes) into domain-level objects (CatchmentZonesField, Domain.zones). They live in geographic/ because they depend on geographic core functions and produce objects consumed by the domain layer.

Functions

apply_catchment_zones_to_domain(*, domain, ...)

Attach zone codes built from geographic outputs.

apply_geology_to_domain(*, domain, geology)

Attach one loaded geology field to the domain zone registry.

build_catchment_zone_field_from_geographic(*, ...)

Build one catchment-zone field from geographic runtime payloads.