pyinterp.reduced_gaussian.Grid

Contents

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: object

The 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

a

(self) -> object

b

(self) -> object

field_names

(self) -> list[str]

fields

(self) -> dict

mesh

(self) -> pyinterp.core.reduced_gaussian.Mesh

zone

(self) -> pyinterp.core.reduced_gaussian.Zone

Special Methods

__new__(*args, **kwargs)