cf.Data.get_compression_type¶
-
Data.
get_compression_type
()[source]¶ Return the type of compression applied to the underlying array.
New in version (cfdm): 1.7.0
See also
compressed_array
,compression_axes
,get_compressed_dimension
- Returns
str
The compression type. An empty string means that no compression has been applied.
Examples:
>>> d.get_compression_type() ''
>>> d.get_compression_type() 'gathered'
>>> d.get_compression_type() 'ragged contiguous'