pyinterp.reduced_gaussian.Grid#
- class pyinterp.reduced_gaussian.Grid(self, mesh: pyinterp.core.reduced_gaussian.Mesh, fields: dict, zone: pyinterp.core.reduced_gaussian.Zone | None = None, a: numpy.ndarray[dtype = float64, shape=(*), order='C'] | None = None, b: numpy.ndarray[dtype = float64, shape=(*), order='C'] | None = None)#
Bases:
objectThe fields of one time step on a mesh or a zone of it. The arrays are read without copy.
Build a grid from a dict of C-contiguous float32/float64 arrays of shape (points,) or (points, levels), with one row per point of the zone (or of the mesh without zone).
Attributes
(self) -> object
(self) -> object
(self) -> list[str]
(self) -> dict
(self) -> pyinterp.core.reduced_gaussian.Mesh
(self) -> pyinterp.core.reduced_gaussian.Zone
Special Methods
__new__(*args, **kwargs)