ExecutionRegistry#
- class hydromodpy.simulation.ExecutionRegistry(simulation_plan=None, process_runs_by_id=<factory>, models_by_run_id=<factory>, output_dirs_by_run_id=<factory>, lightweight=False, rng=None)[source]#
Bases:
objectExecution-oriented metadata and produced model registry.
lightweightis set toTruewhen the pipeline runs inside a calibration trial: in that mode steps 06/07 skip Zarr / Parquet / provenance writes and the solver output is kept in RAM for scoring only. The flag isFalsefor normalhmp runand for promoted trials.output_dirs_by_run_idmirrorsmodels_by_run_idand records the raw solver output directory emitted by each run. Calibration metric extractors read the solver binaries (.hds/.cbc) directly from these paths without touching the catalog.rngis the masterRngManagerfor the simulation. Stochastic consumers derive their own deterministicGeneratorfromrng.child_rng(label). It isNonewhen no master seed is declared in[simulation]: each consumer then usesnp.random.default_rng()with a fresh entropy source.Field types are
Anybecausecorecannot import from sibling layers.simulation_plan,process_runs_by_idvalues, andmodels_by_run_idvalues are produced by thesimulationandsolverlayers respectively.