hydromodpy.spatial.mesh.protocol#

Topology-aware Grid Protocol for HydroModPy meshes.

A Grid is the read-only contract every spatial pivot exposes regardless of whether the underlying simulation is structured (DIS), unstructured-in-plan (DISV) or lumped (single-cell, GR4J). Concrete implementations live in hydromodpy.spatial.mesh.grid_wrappers.

The literal GridTopology mirrors the canonical values stored in the catalog simulations.mesh_topology column and read back by hydromodpy.results.run.Run.

Classes

Grid(*args, **kwargs)

Topology-aware view over a HydroModPy spatial grid.