Skip to content

Commit

Permalink
fix test_data_quality_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 22, 2023
1 parent 737b932 commit dd4662a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ def test_save_dataarray_to_zarr(self): # noqa D102

def test_data_quality_filter(self):
test = xarray.Dataset({
"data": (("time", "y", "x"), np.zeros(100, 100, 100))
"data": (("time", "y", "x"), np.zeros((100, 100, 100)))
})

out = data_quality_filter(test, 0.9)
self.assertFalse(out)

test = xarray.Dataset({
"data": (("time", "y", "x"), np.ones(100, 100, 100))
"data": (("time", "y", "x"), np.ones((100, 100, 100)))
})

out = data_quality_filter(test, 0.9)
Expand Down

0 comments on commit dd4662a

Please sign in to comment.