hydromodpy.analysis.comparison.runtime.metadata#

Run-folder metadata and result-store discovery helpers.

Functions

compact_run_metrics(metrics)

Keep only comparison-relevant scalar/list metrics in manifests.

discover_result_store(config_path, *[, ...])

Open a SimulationCatalog from the project root inferred from a config path.

read_catalog_run_metadata(store, sim_id)

Read run metadata from the SimulationCatalog when available.

read_json_file(path)

Read one JSON object, returning an empty mapping when absent/invalid.

read_simulation_run_metadata(run_folder, *)

Collect lightweight run metadata useful in comparison manifests.

read_simulation_run_metrics(run_folder, *[, ...])

Read compact comparison metrics, preferring the catalog over scratch JSON.