hydromodpy.simulation.extraction.derivation.observation_ingest#

Persist loaded observation timeseries into the simulation catalog.

Observation-type data managers (hydrometry, piezometry, intermittency, water_quality) load station timeseries at project init time. This extractor copies those series into the catalog’s timeseries table keyed by sim_id, so they can be queried via Run.timeseries(variable, station=...) alongside the simulated ones.

To keep observed and simulated series distinguishable, observed variables are written with an _obs suffix (e.g. discharge from hydrometry becomes discharge_obs). The forcing-reproducibility copy in Zarr forcing/ (written by step_persist_forcings()) is separate and keeps the raw variable name.

Functions

ingest_observations(sim_id,Ā store,Ā loaded_data)

Write observation timeseries from loaded_data into the catalog.