hydromodpy.workflow.pipelines.mesh#

Standalone launcher for catchment meshing.

This module is the direct API entry point for single mesh artifacts. Public hmp run TOMLs should express mesh-only work as a simulation process with type = "mesh". The launcher does not generate meshes by itself; instead it performs the small amount of orchestration work that turns one launcher TOML into the concrete runtime objects consumed by geographic preprocessing and by the 2D conformal meshing case.

The key design choice is that batch orchestration now lives in launchers.mesh_catchment.batch. This launcher therefore stays focused on:

  • loading and validating the launcher-specific section;

  • loading the shared runtime sections (workspace, geographic, optional domain);

  • preparing the geographic config for the chosen constraints mode;

  • delegating either to one mono-catchment run or to the batch runner.

Functions

main([argv])

Run the mesh-catchment launcher with a provided TOML config.

Classes

MeshCatchmentLauncher(config_path)

Run one mesh-only launcher from the [mesh_catchment] TOML section.