@@ -20,7 +20,7 @@ def test_earth_dist_01d():
20
20
assert data .gmt .registration == 0
21
21
npt .assert_allclose (data .lat , np .arange (- 90 , 91 , 1 ))
22
22
npt .assert_allclose (data .lon , np .arange (- 180 , 181 , 1 ))
23
- npt .assert_allclose (data .min (), - 106.06 , atol = 0.01 )
23
+ npt .assert_allclose (data .min (), - 2655.7 , atol = 0.01 )
24
24
npt .assert_allclose (data .max (), 81.35 , atol = 0.01 )
25
25
26
26
@@ -33,7 +33,7 @@ def test_earth_dist_01d_with_region():
33
33
assert data .gmt .registration == 0
34
34
npt .assert_allclose (data .lat , np .arange (- 5 , 6 , 1 ))
35
35
npt .assert_allclose (data .lon , np .arange (- 10 , 11 , 1 ))
36
- npt .assert_allclose (data .min (), 5.57 , atol = 0.01 )
36
+ npt .assert_allclose (data .min (), - 1081.94 , atol = 0.01 )
37
37
npt .assert_allclose (data .max (), 29.21 , atol = 0.01 )
38
38
39
39
@@ -49,5 +49,5 @@ def test_earth_dist_01m_default_registration():
49
49
assert data .coords ["lat" ].data .max () == 5.0
50
50
assert data .coords ["lon" ].data .min () == - 10.0
51
51
assert data .coords ["lon" ].data .max () == - 9.0
52
- npt .assert_allclose (data .min (), 20.34 , atol = 0.01 )
52
+ npt .assert_allclose (data .min (), - 243.62 , atol = 0.01 )
53
53
npt .assert_allclose (data .max (), 30.04 , atol = 0.01 )
0 commit comments