hydromodpy.spatial.geographic.core#

Core building blocks for HydroModPy geographic preprocessing.

Purpose#

Provide small, testable modules that each implement one geographic step (flow products, catchment delineation, domain clipping, zoning, metrics).

How to use this package#

  • Normal runtime code should keep using hydromodpy.spatial.geographic as facade.

  • Advanced integrations can import specific modules from geographic.core when a finer orchestration is required.

Modules

catchment_domain

Build domain support polygons from one catchment boundary.

catchment_from_point

Delineate a catchment polygon from one outlet coordinate.

catchment_from_polygon

Import and normalize an externally provided catchment polygon.

catchment_metrics

Compute scalar metrics from catchment geometries.

catchment_zones

Build categorical zone rasters on geographic support.

derived_features

Structured geographic-derived features shared across runtime layers.

direct_dem_domain

Build domain artifacts directly from a DEM extent.

domain_dem

Clip a regional DEM to canonical domain rectangular support.

domain_geographic_pipeline

Assemble the full geographic context consumed by domain runtime.

flow_products

Generate core hydrologic rasters from a source DEM.

hydrographic_network

Canonical hydrographic-network contract shared across geographic workflows.

hydrographic_network_comparison

Geometric comparison helpers for canonical hydrographic networks.

pipeline_steps

Shared orchestration helpers for geographic pipelines.

river_mesh_trace

In-memory river-trace payload used by river-conformal meshing.

river_network

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

surface_from_dem

Convert a DEM raster into HydroModPy domain surface objects.