hydromodpy.results.simulation_group#
Multi-simulation view on the results catalog.
What#
Iterable, filterable view over a list of sim_id resolved against a single
SimulationCatalog. Builds pivoted parameters and metrics frames,
ranks runs (best, worst, sort_by), compares scalar metrics across
simulations (compare), exports tabular bundles (to_dataframe,
to_csv), stacks field arrays lazily into an xarray.DataArray
(to_xarray, dask-backed), and narrows the set with filter(**criteria).
Why#
Calibration ensembles, gallery sweeps, and ad hoc cohorts share the same ālist of runsā abstraction. Centralising it here keeps the per-run loop logic (sort, pivot, compare) in one place rather than duplicated across notebooks.
Public API#
SimulationGroup: returned bySimulationCatalog.findand similar multi-result entry points. Iteration yieldsRuninstances; indexing,len(), and HTML repr are supported.
Cross-refs#
hydromodpy.results.catalog.SimulationCatalogis the upstream owner.hydromodpy.results.run.Runis the unit element of the group.to_xarrayopens each per-sim Zarr lazily (dask-backed concat).
Classes
|
Collection view over several simulations from one catalog. |