Skip to content

Commit

Permalink
dict refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioF committed Feb 10, 2022
1 parent 14a0329 commit 71c3704
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions test/cli/test_prune.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ def setUp(self) -> None:
variables=dict(precipitation=np.nan,
temperature=np.nan)) \
.chunk(dict(time=1, lat=90, lon=90))
encoding = {
'precipitation': {
'_FillValue': None
},
'temperature': {
'_FillValue': None
}
}
fv_encoding = dict(
_FillValue=None
)
encoding = dict(
precipitation=fv_encoding,
temperature=fv_encoding
)
cube.to_zarr(self.TEST_CUBE, encoding=encoding)

def tearDown(self) -> None:
Expand Down

0 comments on commit 71c3704

Please sign in to comment.