cf.Data.chunk¶
-
Data.
chunk
(chunksize=None, total=None, omit_axes=None, pmshape=None)[source]¶ Partition the data array
Parameters: - chunksize:
int
, optional The
total: sequence of
int
, optionalomit_axes: sequence of
int
, optionalpmshape: sequence of
int
, optionalReturns: Examples: >>> d.chunk() >>> d.chunk(100000) >>> d.chunk(100000, [2]) >>> d.chunk(100000, [2], total=[2]) >>> d.chunk(100000, [2], omit_axes=[3, 4])
- chunksize: