Skip to content

Commit

Permalink
Updates incorrect test results.
Browse files Browse the repository at this point in the history
These results were wrong because the coord_system was wrong. The false_easting and false_northing should be in metres, but had values in km.
  • Loading branch information
MoseleyS committed Feb 21, 2020
1 parent c97d048 commit 2b6e7c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/iris/tests/integration/test_regridding.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ def _regrid(self, method):

def test_linear(self):
res = self._regrid("linear")
self.assertArrayShapeStats(res, (73, 96), -15539.099752, 5825.651452)
self.assertArrayShapeStats(res, (73, 96), 18921.800578, 11651.3029,
rtol=1e-2)

def test_nearest(self):
res = self._regrid("nearest")
self.assertArrayShapeStats(res, (73, 96), -15542.226501, 5839.922010)
self.assertArrayShapeStats(res, (73, 96), 18915.546996, 11679.8440,
rtol=1e-2)


@tests.skip_data
Expand Down

0 comments on commit 2b6e7c6

Please sign in to comment.