cf.Data.add_partitions

Data.add_partitions(extra_boundaries, pdim)[source]

Add partition boundaries.

Deprecated at version 3.14.0. Use the rechunk method instead.

Parameters
extra_boundaries: list of int

The boundaries of the new partitions.

pdim: str

The name of the axis to have the new partitions.

Returns

None

Examples

>>> d.add_partitions(    )