From b741d8311fdc3d6150fd10d6421635eb4d84c7d5 Mon Sep 17 00:00:00 2001 From: Paige Martin Date: Fri, 13 Jan 2023 13:50:32 -0700 Subject: [PATCH] Add sentence to open_dataset docstring (#7438) * Add sentence to open_dataset docstring * Update xarray/backends/api.py Co-authored-by: Deepak Cherian --- xarray/backends/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xarray/backends/api.py b/xarray/backends/api.py index 1f1ff0711aa..2c13117b483 100644 --- a/xarray/backends/api.py +++ b/xarray/backends/api.py @@ -414,7 +414,8 @@ def open_dataset( arrays. ``chunks=-1`` loads the dataset with dask using a single chunk for all arrays. ``chunks={}`` loads the dataset with dask using engine preferred chunks if exposed by the backend, otherwise with - a single chunk for all arrays. + a single chunk for all arrays. In order to reproduce the default behavior + of ``xr.open_zarr(...)`` use ``xr.open_dataset(..., engine='zarr', chunks={})``. ``chunks='auto'`` will use dask ``auto`` chunking taking into account the engine preferred chunks. See dask chunking for more details. cache : bool, optional