get_true_longitude_variables#

compliance_checker.cfutil.get_true_longitude_variables(nc)[source]#

Returns a list of variables defining true longitude.

CF Chapter 4 refers to longitude as a coordinate variable that can also be used in non-standard coordinate systems like rotated pole and other projections. Chapter 5 refers to a concept of true longitude where the variable defines longitude in a standard projection.

True longitude, for lack of a better definition, is simply longitude where the standard_name is longitude or the units are degrees_north.

Parameters:

nc (netCDF4.Dataset) – An open netCDF dataset