cfdm.Data.get_compression_type¶
-
Data.
get_compression_type
()[source]¶ Returns the type of compression applied to the 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'