cf.AuxiliaryCoordinate.Z¶
-
AuxiliaryCoordinate.Z¶ True if and only if the data are coordinates for a CF ‘Z’ axis.
CF ‘Z’ axis coordinates are defined by having one or more of the following:
The
axisproperty has the value'Z'Units of pressure, level, layer or sigma_level
The
positiveproperty has the value'up'or'down'(case insensitive)The
standard_nameproperty is one of'atmosphere_ln_pressure_coordinate','atmosphere_sigma_coordinate','atmosphere_hybrid_sigma_pressure_coordinate','atmosphere_hybrid_height_coordinate','atmosphere_sleve_coordinate’,'ocean_sigma_coordinate','ocean_s_coordinate','ocean_s_coordinate_g1','ocean_s_coordinate_g2','ocean_sigma_z_coordinate'or'ocean_double_sigma_coordinate'
Examples
>>> c.Units <CF Units: Pa> >>> c.Z True
>>> c.Units.equivalent(cf.Units('K')) and c.positive == 'up' True >>> c.Z True
>>> c.axis == 'Z' and c.Z True
>>> c.Units <CF Units: sigma_level> >>> c.Z True
>>> c.standard_name 'ocean_sigma_coordinate' >>> c.Z True