xoa.cf.CFVarSpecs.get_name¶
-
CFVarSpecs.get_name(name, specialize=False, loc=None)¶ Get the name of the matching CF specs
- Parameters
name (str, xarray.DataArray) – Either a cf name or a data array
specialize (bool) – Get the first name as listed in specs, which is generally a specialized one, like a name adopted by specialized dataset.
- Returns
None or str