cf.CoordinateConversion.clear_domain_ancillaries

CoordinateConversion.clear_domain_ancillaries()[source]

Remove all domain_ancillaries.

New in version 1.7.0.

Returns
dict

The domain ancillaries that have been removed.

Examples:

>>> old = f.clear_domain_ancillaries()
>>> old
{'a': 'domainancillary0',
 'b': 'domainancillary1',
 'orog': 'domainancillary2'}
>>> f.set_domain_ancillaries(old)
>>> f.domain_ancillaries()
{'a': 'domainancillary0',
 'b': 'domainancillary1',
 'orog': 'domainancillary2'}