Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow chunks=None for dask-less lazy loading #6028

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def open_dataarray(

def open_mfdataset(
paths,
chunks=None,
chunks={},
concat_dim=None,
compat="no_conflicts",
preprocess=None,
Expand Down Expand Up @@ -891,7 +891,7 @@ def open_mfdataset(
"instead specify combine='nested' along with a value for `concat_dim`.",
)

open_kwargs = dict(engine=engine, chunks=chunks or {}, **kwargs)
open_kwargs = dict(engine=engine, chunks=chunks, **kwargs)

if parallel:
import dask
Expand Down