Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Oct 11, 2022
1 parent f81a124 commit 56b8e7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_save_result_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ def test_aggregate_polygon_result_CSV(tmp_path):
assert 'raster:bands' in theAsset
assert 'file:size' in theAsset

assert 'mean' in theAsset['raster:bands'][0]
assert 'minimum' in theAsset['raster:bands'][0]
assert 100.0 == theAsset['raster:bands'][0]['valid_percent']
assert 'mean' in theAsset['raster:bands'][0]["statistics"]
assert 'minimum' in theAsset['raster:bands'][0]["statistics"]
assert 100.0 == theAsset['raster:bands'][0]["statistics"]['valid_percent']

timeseries_ds = xr.open_dataset(filename)
print(timeseries_ds)
Expand Down

0 comments on commit 56b8e7b

Please sign in to comment.