cfdm.CompressedArray.compressed_dimensions

CompressedArray.compressed_dimensions()[source]

Mapping of compressed to uncompressed dimensions.

A dictionary key is a position of a dimension in the compressed data, with a value of the positions of the corresponding dimensions in the uncompressed data. Compressed array dimensions that are not compressed are omitted from the mapping.

New in version (cfdm): 1.10.0.0

Returns
dict

The mapping of dimensions of the compressed array to their corresponding dimensions in the uncompressed array. Compressed array dimensions that are not compressed are omitted from the mapping.