cf.Field.data_axes

Field.data_axes()[source]

Return the domain axes identifiers of the field’s data array.

See also

axes, axis, item_axes

Returns:
out : list or None

The ordered axes of the field’s data array. If there is no data array then None is returned.

Examples:
>>> f.data_axes()
['dim2', 'dim0', 'dim1']
>>> f.ndim
0
>>> f.data_axes()
[]
>>> del f.Data
>>> print f.data_axes()
None

Previous topic

cf.Field.cyclic

Next topic

cf.Field.datum

This Page