pyinterp.reduced_gaussian.Mesh#
- class pyinterp.reduced_gaussian.Mesh(self, latitudes: numpy.ndarray[dtype=float64, shape=(*), order='C'], points_per_parallel: numpy.ndarray[dtype=int64, shape=(*), order='C'])#
Bases:
objectA reduced Gaussian mesh: parallels of equally spaced points, north to south, starting at longitude 0.
Build the mesh from the latitudes of its parallels (strictly decreasing) and their number of points.
Attributes
Latitudes of the parallels.
Number of parallels.
Flat index of the first point of each parallel, then the number of points.
Number of points of each parallel.
Number of points.
Public Methods
locate(self, lon[, shape, writable, shape, ...])Locate the cells of points: the flat indices of their four corners (bottom right, bottom left, top right, top left; -1 outside the mesh) and their bilinear weights.
Special Methods
__eq__(self, arg, /)__getstate__(self)__new__(*args, **kwargs)__setstate__(self, arg, /)