hydromodpy.calibration.programmatic_runner#

Programmatic entry point hmp.calibrate(project, cfg).

Used by Project.calibrate to drive a calibration without a stand-alone calibration TOML. The simulation TOML attached to the project is reused as cfg_path for prepare_trials() so promotion and overlay materialization keep working. Pure in-memory projects materialize a temporary overlay TOML so the trial pipeline can locate the source declaration.

Functions

run_calibration_programmatic(cfg, *, project)

Run calibration without a calibration TOML file.