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 ignore'warn'
: emit a warning'raise'
: raise an exception
extra (dict) – Extra params are included as extra attributes
- Returns:
dict