cfdm.CoordinateConversion.domain_ancillaries

CoordinateConversion.domain_ancillaries()[source]

Return all domain_ancillaries.

New in version (cfdm): 1.7.0

Returns
dict

The domain ancillaries.

Examples

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