Skip to content

Commit

Permalink
update testing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc2 committed Feb 4, 2025
1 parent 626851b commit a1fbdfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_zonal.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def test_zonal_weights(self):
data_path = self.datafile_vortex_ne30
uxds = ux.open_dataset(grid_path, data_path)

za_1 = uxds['psi'].zonal_mean((-90, 90, 1), use_robust_weights=True)
za_2 = uxds['psi'].zonal_mean((-90, 90, 1), use_robust_weights=False)
za_1 = uxds['psi'].zonal_mean((-90, 90, 30), use_robust_weights=True)
za_2 = uxds['psi'].zonal_mean((-90, 90, 30), use_robust_weights=False)

nt.assert_almost_equal(za_1.data, za_2.data)

Expand Down

0 comments on commit a1fbdfb

Please sign in to comment.