cf.Coordinate.Z

Coordinate.Z

True if and only if the coordinate is a CF Z axis coordinate.

See also

ctype, T, X, Y

Returns:
out : bool

Whether or not the coordinate is a Z axis 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'
>>> c.Z
True
>>> c.Units
<CF Units: sigma_level>
>>> c.Z
True
>>> c.standard_name
'ocean_sigma_coordinate'
>>> c.Z
True