Get a standard or non-standard CF attribute.
The name of the attribute to get.
Return default if and only if the variable does not have the named attribute.
The value of the named attribute, or the default value.
If the variable does not have the named attribute a default value has not been set.
Examples
>>> f.getattr('standard_name') >>> f.getattr('standard_name', None) >>> f.getattr('foo')
cf.Field.extract
cf.Field.finalize
Enter search terms or a module, class or function name.