pyinterp.GridHolder#
- class pyinterp.GridHolder#
Bases:
objectN-dimensional Cartesian grid with runtime dtype detection.
This class represents a grid of values defined on N spatial or temporal axes. The grid automatically detects the data type from the input array and creates the appropriate internal representation.
Attributes
The underlying data array
Data type of the grid values
Whether this grid has a temporal axis
Number of dimensions
Shape of the grid
Index of the temporal axis, or -1 if none
U-axis (fourth axis)
X-axis (first axis)
Y-axis (second axis)
Z-axis (third axis)
Special Methods
__getstate__(self)Get the state for pickling (axes..., array).
__new__(*args, **kwargs)__repr__(self)Return the string representation of this Grid.