xarray.DataArray.cf.cell_measures#

DataArray.cf.cell_measures#

Mapping valid cell measure standard names for .cf[] to variable names.

This is useful for checking whether a key is valid for indexing, i.e. that the attributes necessary to allow indexing by that key exist.

Returns:
dict

Dictionary of valid cell measure names that can be used with __getitem__ or .cf[key].