cf.Domain.axis_name

Domain.axis_name(axis=None, **kwargs)[source]

Return the canonical name for an axis.

Parameters :
axis, kwargs : optional

Select the axis which would be selected by this call of the domain’s axis method: d.axis(axis, **kwargs). See cf.Domain.axis for details.

Returns :
out : str

The canonical name for the axis.

Examples

>>> d.axis_name('dim0')
'time'
>>> d.axis_name('dim1')
'domain:dim1'
>>> d.axis_name('dim2')
'ncdim:lat'

Previous topic

cf.Domain.axis

Next topic

cf.Domain.close

This Page