Skip to content

Commit

Permalink
Add sentence to open_dataset docstring (#7438)
Browse files Browse the repository at this point in the history
* Add sentence to open_dataset docstring

* Update xarray/backends/api.py

Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
  • Loading branch information
paigem and dcherian authored Jan 13, 2023
1 parent b589f6b commit b741d83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b741d83

Please sign in to comment.