hydromodpy.workflow.orchestrator#

Canonical simulation pipeline.

Five run-phase verbs (prepare_run, execute_run, ingest_run, render_run, cleanup_run) compose a full simulation by chaining atomic steps. A single composite prepare_runtime keeps the model-phase (setup/data/mesh) wiring in one place for the eager Project constructor.

This is the only path from orchestration to solver. CLI, programmatic API and frontend backends all funnel through these functions.

Functions

cleanup_run(ctx, sim_id, *[, ...])

Finalize the simulation row and remove the scratch directory.

execute_run(ctx, sim_id, *, final_name[, ...])

Execute the planned simulation via a launcher.

ingest_run(ctx, sim_id, *[, extractors])

Ingest observations attached to this simulation.

prepare_run(ctx, *, sim_id, name, project_name)

Reserve sim_id, register the simulation, persist inputs.

prepare_runtime(ctx, *[, mesh_section_data, ...])

Run the full model-phase: workspace, geographic, data, mesh.

render_run(ctx, sim_id, *[, run, figures, ...])

Render the figures declared in [display] for this simulation.

standard_steps()

Return the canonical ordered tuple of simulation pipeline steps.