cf.Domain.new_axis_identifier

Domain.new_axis_identifier()[source]

Return a new, unique axis identifier for the domain.

The domain is not updated.

Returns :
out : str

The new identifier.

Examples

>>> d.dimension_sizes.keys()
['dim2', 'dim0']
>>> d.new_axis_identifier()
'dim3'
>>> d.dimension_sizes.keys()
[]
>>> d.new_axis_identifier()
'dim0'

Previous topic

cf.Domain.new_aux_identifier

Next topic

cf.Domain.new_cm_identifier

This Page