cf.CoordinateConversion.set_domain_ancillary

CoordinateConversion.set_domain_ancillary(term, value, copy=True)[source]

Set an domain ancillary-valued term.

New in version 1.7.0.

Parameters:
term: str

The name of the term to be set.

value:

The value for the term.

copy: bool, optional

If True then set a deep copy of value.

Returns:

None

Examples:

>>> c.set_domain_ancillary('orog', 'domainancillary2')
>>> c.has_domain_ancillary('orog')
True
>>> c.get_domain_ancillary('orog')
domainancillary2'   
>>> c.del_domain_ancillary('orog')
domainancillary2'   
>>> c.has_domain_ancillaryr('orog')
False
>>> print(c.del_domain_ancillaryy('orog', None))
None
>>> print(c.get_domain_ancillary('orog', None))
None