cf.Data.add_partitions

Data.add_partitions(extra_boundaries, pdim)[source]

Add partition boundaries.

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(    )