hydromodpy.spatial.mesh.cartesian_grid.sgrid_field_discretization#
Field discretization on structured grids (any 2-D climatic variable).
Converts LoadResult field records (xarray, NetCDF, GeoTIFF) and
located point records into per-cell 2-D arrays aligned with the MODFLOW
structured grid.
Every public function is variable-agnostic and works with any LoadResult (recharge, precipitation, ETP, temperature, etc.).
Implementation details are split across:
- _sgrid_field_grid_utils - cell centers, time bounds, units, interp,
- _sgrid_field_xarray - xarray + NetCDF + GeoTIFF discretization,
- _sgrid_field_points - located point time-series,
- _sgrid_field_spatial_mean - homogeneous fallback series.
Functions
|
Discretize gridded FieldRecords onto a structured MODFLOW grid. |
|
Interpolate located PointRecords onto a structured MODFLOW grid. |
|
Compute the spatial mean of FieldRecords to produce a homogeneous series. |