cf.Coordinate.islatitude

Coordinate.islatitude

True if and only if the coordinate represents latitude.

This is the case only if any of the following are true:

  • The units attribute is one of 'degrees_north', 'degree_north', 'degree_N', 'degrees_N', 'degreeN', and 'degreesN' (returns False if 'degrees').
  • The standard_name property is 'latitude' (returns False if 'grid_latitude').

Examples

Examples

>>> if c.islatitude:
...    print c

Previous topic

cf.Coordinate.isbounded

Next topic

cf.Coordinate.islongitude

This Page