CoordSys¶
- class ESMF.api.constants.CoordSys(value, names=None, module=None, type=None, start=1)¶
This flag indicates the coordinate system of a
Grid
. This value is useful both to indicate to other users the type of the coordinates, but also to control how the coordinates are interpreted in regridding methods (e.g.Regrid
).- CART = <CoordSys.CART: 0>¶
Cartesian coordinate system. In this system, the Cartesian coordinates are mapped to the
Grid
coordinate dimensions in the following order: x, y, z. (e.g. using coord_dim=1 inget_coords()
references the y dimension)
- SPH_DEG = <CoordSys.SPH_DEG: 1>¶
Spherical coordinates in degrees. In this system, the spherical coordinates are mapped to the
Grid
coordinate dimensions in the following order: longitude, latitude, radius. (E.g. using coord_dim=1 inget_coords()`
references the latitude dimension).
- SPH_RAD = <CoordSys.SPH_RAD: 2>¶
Spherical coordinates in radians. In this system, the spherical coordinates are mapped to the
Grid
coordinate dimensions in the following order: longitude, latitude, radius. (E.g. using coord_dim=1 inget_coords()
references the latitude dimension).