cf.Units.islongitude

Units.islongitude

True if and only if the units are longitude units.

This is the case if and only if the units attribute is one of 'degrees_east', 'degree_east', 'degree_E', 'degrees_E', 'degreeE', and 'degreesE'.

Note that units of 'degrees' are not longitude units.

Examples:
>>> Units('degrees_east').islongitude
True
>>> Units('degrees').islongitude
False
>>> Units('degrees_north').islongitude
False
>>> Units('kg').islongitude
False
>>> Units().islongitude
False