From 2b6e7c622c04b6674e4717b23c73f29d67423d5e Mon Sep 17 00:00:00 2001 From: Stephen Moseley Date: Fri, 21 Feb 2020 14:50:42 +0000 Subject: [PATCH] Updates incorrect test results. 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. --- lib/iris/tests/integration/test_regridding.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/iris/tests/integration/test_regridding.py b/lib/iris/tests/integration/test_regridding.py index 0a6a78f2df4..c9f80b20c39 100644 --- a/lib/iris/tests/integration/test_regridding.py +++ b/lib/iris/tests/integration/test_regridding.py @@ -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