hydromodpy.simulation.extraction.post_run#

Post-run hook that ingests solver outputs into the SimulationCatalog.

Called by SimulationRunner after each solver execution completes. Orchestrates the full results lifecycle: extract → derive → export → cleanup → provenance.

Functions

auto_export_results(*, sim_id, store, ...[, ...])

Run automated exports for one simulation when configured.

cleanup_solver_outputs(*, ctx, results_config)

Cleanup raw solver files through the matching solver adapter.

derive_run_outputs(*, ctx, sim_id, ...)

Compute solver-adapter derived outputs and catchment aggregates.

extract_run_outputs(*, ctx, sim_id, ...)

Extract raw solver outputs into the SimulationCatalog.

post_run_results(*, ctx, sim_id, ...[, ...])

Ingest solver outputs into the SimulationCatalog after a run completes.

record_run_execution_metrics(*, ctx, sim_id, ...)

Persist lightweight solver-side execution metrics in the catalog.