Skip to content

Commit

Permalink
do not pass as backend, use for chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Jimenez-Urias committed Apr 29, 2020
1 parent 4ebf380 commit 4ce3007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def maybe_decode_store(store, lock=False):
if engine == 'zarr':
# on ZarrStore, mode='r', synchronizer=None, group=None,
# consolidated=False.
overwrite_encoded_chunks = backend_kwargs.pop("overwrite_encoded_chunks", None)
store = backends.ZarrStore.open_group(
filename_or_obj,
group=group,
Expand Down Expand Up @@ -510,6 +511,7 @@ def maybe_decode_store(store, lock=False):
elif engine == 'zarr':
# on ZarrStore, mode='r', synchronizer=None, group=None,
# consolidated=False.
overwrite_encoded_chunks = backend_kwargs.pop("overwrite_encoded_chunks", None)
store = backends.ZarrStore.open_group(
filename_or_obj,
group=group,
Expand Down

0 comments on commit 4ce3007

Please sign in to comment.