cf.Domain.new_ref_identifier

Domain.new_ref_identifier()[source]

Return a new, unique coordinate reference identifier for the domain.

The domain is not updated.

Returns:
out : str

The new identifier.

Examples:
>>> d.items(role='r').keys()
['ref1']
>>> d.new_ref_identifier()
'ref2'
>>> d.items(role='r').keys()
[]
>>> d.new_ref_identifier()
'ref0'

Previous topic

cf.Domain.new_measure_identifier

Next topic

cf.Domain.remove_axes

This Page