diff --git a/xarray/backends/api.py b/xarray/backends/api.py index b8c256f2cb2..e3cd77385d2 100644 --- a/xarray/backends/api.py +++ b/xarray/backends/api.py @@ -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, @@ -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,