Skip to content

Commit

Permalink
Overlooked the isel(Time=0)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpilz committed Oct 13, 2022
1 parent 179e95d commit bff5e0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ def test_calc_base_diagnostics(sample_dataset):

# Earth-relative 10m eastward winds
np.testing.assert_allclose(ds['wind_east_10'].max().item(), 10.115304)
np.testing.assert_allclose(ds['wind_east_10'].min().item(), -9.439444)
np.testing.assert_allclose(ds['wind_east_10'].min().item(), -0.918889)
assert ds['wind_east_10'].attrs['units'] == 'm s-1'

# Earth-relative 10m northward winds
np.testing.assert_allclose(ds['wind_north_10'].max().item(), 8.37126)
np.testing.assert_allclose(ds['wind_north_10'].min().item(), -14.108697)
np.testing.assert_allclose(ds['wind_north_10'].max().item(), 1.8683547)
np.testing.assert_allclose(ds['wind_north_10'].min().item(), -10.904247)
assert ds['wind_north_10'].attrs['units'] == 'm s-1'

# Check dropped or not
Expand Down

0 comments on commit bff5e0f

Please sign in to comment.