hydromodpy.solver.modflow_common.calibration_extractors#
Lightweight binary readers for calibration trials.
During a calibration trial, the solver writes .hds and .cbc to the
scratch folder but no Zarr / Parquet rows are produced. The optimizer needs
the simulated series ASAP to score one trial — these helpers read the binary
files directly and return a pd.Series aligned with the simulation time
grid. Both MODFLOW-NWT and MODFLOW 6 use the same binary layout, so the same
helpers are reused across the two backends.
Functions
|
Convert one signed DRAIN budget array to positive per-cell outflow. |
|
Sum the DRAIN budget component per timestep and return a m3/s series. |
|
Return positive DRAIN outflow by timestep and cell in m3/s. |
|
Return head timeseries keyed by station at the given |