cfdm.CompressedArray.subarray_shapes¶
- CompressedArray.subarray_shapes(shapes)[source]¶
Create the subarray shapes along each uncompressed dimension.
Added in version (cfdm): 1.10.0.0
See also
subarray
- Parameters:
- chunks:
int
, sequence,dict
orstr
, optional Define the subarray shapes.
Any value accepted by the chunks parameter of the
dask.array.from_array
function is allowed.The subarray sizes implied by chunks for a dimension that has been compressed are ignored and replaced with values that are implied by the decompression algorithm, so their specification is arbitrary.
By default, chunks is
-1
, meaning that all non-compressed dimensions in each subarray have the maximum possible size.
- chunks:
- Returns:
list
The subarray shapes along each uncompressed dimension.