A CF-compliant earth science data analysis library
Data.
numblocks
The number of chunks along each dimension.
New in version 3.14.0.
See also
chunks, npartitions, rechunk
chunks
npartitions
rechunk
Examples
>>> d = cf.Data.ones((6, 5), chunks=(2, 4)) >>> d.chunks ((2, 2, 2), (4, 1)) >>> d.numblocks (3, 2) >>> d.npartitions 6