cf.Domain.new_cm_identifier

Domain.new_cm_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='c').keys()
['cm2', 'cm0']
>>> d.new_cm_identifier()
'cm3'
>>> d.items(role='c').keys()
[]
>>> d.new_cm_identifier()
'cm0'

Previous topic

cf.Domain.new_axis_identifier

Next topic

cf.Domain.new_transform_identifier

This Page