xoa.cf.CFVarSpecs.get_attrs¶
- CFVarSpecs.get_attrs(cf_name, select=None, exclude=None, errors='warn', loc=None, multi=False, standardize=True, **extra)¶
Get the default attributes from cf specs
- Parameters
cf_name (str) – Valid generic CF name
multi (bool) – Get standard_name and long_name attribute as a list of possible values
errors ({'ignore', 'warn', 'raise'}) –
In case of errors
ignore: silently ignorewarn: emit a warningraise: raise an exception
extra (dict) – Extra params are included as extra attributes
- Returns
dict