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, optional

omit_axes: sequence of int, optional

pmshape: sequence of int, optional

Returns

None

Examples:

>>> d.chunk()
>>> d.chunk(100000)
>>> d.chunk(100000, )
>>> d.chunk(100000, total=[2])
>>> d.chunk(100000, omit_axes=[3, 4])