Grid Structures

Grid Structures#

Xarray Backends#

High-level grid containers compatible with xarray.

These classes provide a convenient interface for creating interpolators directly from xarray.DataArray objects. They automatically handle coordinate systems, including temporal axes and geodetic units.

Grid2D(data_array)

Build a Grid2D from Xarray data.

Grid3D(data_array)

Build a Grid3D from Xarray data.

Grid4D(data_array)

Build a Grid4D from Xarray data.

Core Grids#

The fundamental grid structure used internally by the library.

Grid(...)

Overloaded function.

GridHolder

N-dimensional Cartesian grid with runtime dtype detection.

Core Grids Aliases#

Aliases for commonly used grid.

Grid1D

Alias for pyinterp.Grid with one spatial dimension.

Grid2D

Alias for pyinterp.Grid with two spatial dimensions.

Grid3D

Alias for pyinterp.Grid with three spatial dimensions.

Grid4D

Alias for pyinterp.Grid with three spatial dimensions and one temporal dimension.