xarray.Dataset.cf.grid_mapping_names#

Dataset.cf.grid_mapping_names#

Mapping the CF grid mapping name to the grid mapping variable name.

Returns:
dict

Dictionary mapping the CF grid mapping name to the variable name containing the grid mapping attributes.

See also

DataArray.cf.grid_mapping

References

Please refer to the CF conventions document : https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html#grid-mappings-and-projections

For a list of valid grid_mapping names, refer to: https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html#appendix-grid-mappings

Examples

>>> from cf_xarray.datasets import rotds
>>> rotds.cf.grid_mapping_names
{'rotated_latitude_longitude': ['rotated_pole']}