cfdm.RaggedIndexedContiguousArray.get_compressed_axes

RaggedIndexedContiguousArray.get_compressed_axes()[source]

Return axes that are compressed in the underlying array.

Returns
list

The compressed axes described by their integer positions.

Examples:

>>> c.ndim
4
>>> c.compressed_array.ndim
3
>>> c.compressed_axes()
[1, 2]