cf.Domain.new_measure_identifier

Domain.new_measure_identifier()[source]

Return a new, unique cell measure identifier for the domain.

The domain is not updated.

Returns:
out
: str

The new identifier.

Examples:
>>> d.items(role='m').keys()
['msr2', 'msr0']
>>> d.new_measure_identifier()
'msr3'
>>> d.items(role='m').keys()
[]
>>> d.new_measure_identifier()
'msr0'