cf.NetCDFArray.get_compression_type¶
-
NetCDFArray.
get_compression_type
()[source]¶ Returns the array’s compression type.
Specifically, returns the type of compression that has been applied to the underlying array.
New in version (cfdm): 1.8.7.0
- Returns
str
The compression type. An empty string means that no compression has been applied.
Examples
>>> a.compression_type ''
>>> a.compression_type 'gathered'
>>> a.compression_type 'ragged contiguous'