xarray.DataArray.cf.grid_mapping_name

DataArray.cf.grid_mapping_name

CF grid mapping name associated with this variable.

Returns:
str

CF Name of the associated grid mapping.

Examples

>>> from cf_xarray.datasets import rotds
>>> rotds.cf["temp"].cf.grid_mapping_name
'rotated_latitude_longitude'