Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/improve-safe-chunk-validation' i…
Browse files Browse the repository at this point in the history
…nto improve-safe-chunk-validation

# Conflicts:
#	xarray/tests/test_backends.py
  • Loading branch information
josephnowak committed Sep 21, 2024
2 parents 0b4b9b1 + 9302036 commit b2ec698
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xarray/backends/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def extract_zarr_variable_encoding(
safe_chunks=True,
region=None,
mode=None,
shape=None
shape=None,
):
"""
Extract zarr encoding dictionary from xarray Variable
Expand Down Expand Up @@ -348,7 +348,7 @@ def extract_zarr_variable_encoding(
safe_chunks=safe_chunks,
region=region,
mode=mode,
shape=shape
shape=shape,
)
encoding["chunks"] = chunks
return encoding
Expand Down Expand Up @@ -888,7 +888,7 @@ def set_variables(self, variables, check_encoding_set, writer, unlimited_dims=No
safe_chunks=self._safe_chunks,
region=region,
mode=self._mode,
shape=zarr_shape
shape=zarr_shape,
)

if name not in existing_keys:
Expand Down

0 comments on commit b2ec698

Please sign in to comment.