hydromodpy.results.views#
Lazy catchment-scale views computed on demand from a Run.
These functions read already-persisted spatial fields (derived/ and
budget/ groups in the simulation Zarr) and reduce them to scalar
timeseries on the fly. Nothing is written to DuckDB: results are returned
as pd.Series so that callers can plot, combine or aggregate them
freely.
All functions are pure - they take a Run (or any
object exposing the same field / n_timesteps / mesh API) and
the reduction parameters, and return a new object. They never mutate the
catalog.
Module-level functions are the canonical implementation. Run exposes
thin lazy wrappers for notebook ergonomics.
Functions
|
Arithmetic mean of |
|
Return a per-cell active mask view for a scalar cell field. |
|
Return scalar active-cell metrics for a time-varying cell field. |
|
Return a display label for a cell-field active mode. |
|
Return planar bidirectional distances between active cells and a network. |
|
Compare active cells from any scalar field with a vector network role. |
|
Fraction of active catchment cells whose routed drain flux is positive. |
|
Per-cell fraction of timesteps where |
|
Input recharge rate per stress period (from |
|
Return raw planar distances between release cells and a vector network. |
|
Compare direct groundwater-release cells with a vector network role. |
|
Resolve how a time-varying cell field is reduced to active cells. |
|
Fraction of active catchment cells where seepage exceeds |