A Python reference implementation of the CF data model

RaggedIndexedContiguousArray.

get_compressed_axes

Return axes that are compressed in the underlying array.

list

The compressed axes described by their integer positions in the uncompressed array.

Examples

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