hydromodpy.results.grid#

Scalar spatial metadata for a simulation: cell size, shape, extent.

Exposed as hydromodpy.results.run.Run.grid. Provides the scalars typically needed when post-processing or plotting a distributed simulation without reaching for the raw DEM transform.

Lumped simulations (e.g. GR4J, solver_category == "lumped") raise RuntimeError because they have no spatial discretisation.

Functions

build_grid(run)

Read scalar grid metadata for run from the catalog + DEM transform.

Classes

Grid(cell_size, shape, extent, crs, ...)

Scalar spatial metadata for a regular-in-plan simulation.