hydromodpy.calibration.engine#
CalibrationEngine - orchestrates an ask/tell loop.
The engine is solver-agnostic and pipeline-agnostic: it takes a callable
evaluator(values: dict[str, float]) -> EvaluationResult and runs the
ask/tell loop until the optimizer converges or max_iter is reached.
save_runs modes (implemented via promote_best_n):
"none"(default): each iteration is only a DuckDB row. No Zarr."best_n": after the loop, promote the topsave_best_niterationsinto full simulations (caller-supplied promoter callable).
"all": each iteration is already a full simulation.
Classes
|
Drive an ask/tell loop until convergence or budget is exhausted. |
|
Runtime result returned after a calibration loop. |
|