🍾 Xarray is now 10 years old! 🎉

xarray.unify_chunks

Contents

xarray.unify_chunks#

xarray.unify_chunks(*objects)[source]#

Given any number of Dataset and/or DataArray objects, returns new objects with unified chunk size along all chunked dimensions.

Returns:

  • unified (DataArray or Dataset) Tuple of objects with the same type as

  • *objects with consistent chunk sizes for all dask-array variables