Skip to content

Commit 29e3b3d

Browse files
committed
Using correct values for the test data
1 parent 4434f90 commit 29e3b3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_cfa.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def test_cfa_pure():
1212
assert not hasattr(ds,'location')
1313

1414
assert 'p' in ds
15-
assert ds['p'].shape == (4, 90, 180)
15+
assert ds['p'].shape == (20, 180, 360)
1616

1717
p_sel = ds['p'].sel(time=slice(1,3),latitude=slice(50,54), longitude=slice(0,9))
1818

@@ -23,9 +23,9 @@ def test_cfa_pure():
2323
p_mean = p_sel.mean(dim='time')
2424

2525
assert p_mean.shape == (5, 10)
26-
assert (p_mean[0] - 0.3979965) < 0.01
26+
assert (p_mean[0] - 0.63536) < 0.01
2727

2828
p_value = p_sel.mean()
2929

3030
assert p_value.shape == ()
31-
assert (p_value - 0.51319) < 0.01
31+
assert (p_value - 0.511954) < 0.01

0 commit comments

Comments
 (0)