hydromodpy.spatial.mesh.runtime#

Shared public runtime helpers for catchment meshing workflows.

This module now acts mainly as the public validation/normalization facade used by the dedicated launcher and by embedded launcher integrations. The concrete mono-run execution pipeline lives in runtime_single_run so that the public entry points here stay short and easy to follow.

Functions

get_optional_mesh_section(payload, *[, ...])

Return one validated optional mesh section, or None when absent/blank.

prepare_geographic_config_for_meshing(...[, ...])

Enable river-network preprocessing when the mesh contract needs it.

require_mesh_section(payload, *[, section_name])

Return one validated launcher section and fail fast when it is missing.

run_single_mesh_catchment_workflow(*, ...[, ...])

Run one mono-catchment mesh workflow and return the summary payload.

run_single_mesh_catchment_workflow_with_runtime_artifacts(*, ...)

Run one mono-catchment mesh workflow and keep the runtime mesh in memory.