Skip to content

Commit 7e9af71

Browse files
committed
unit test i/jDirectionIncrement
1 parent 321c0dc commit 7e9af71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/iris/tests/unit/fileformats/grib/save_rules/test_grid_definition_template_0.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def test__grid_points(self):
7676
self._check_key("longitudeOfLastGridPoint", 7000000)
7777
self._check_key("latitudeOfFirstGridPoint", 4000000)
7878
self._check_key("latitudeOfLastGridPoint", 9000000)
79-
self._check_key("DxInDegrees", 2.0)
80-
self._check_key("DyInDegrees", 5.0)
79+
self._check_key("iDirectionIncrement", 2000000)
80+
self._check_key("jDirectionIncrement", 5000000)
8181

8282
def test__scanmode(self):
8383
grid_definition_template_0(self.test_cube, self.mock_grib)

lib/iris/tests/unit/fileformats/grib/save_rules/test_grid_definition_template_1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ def test__grid_points(self):
9191
self._check_key("longitudeOfLastGridPoint", 7000000)
9292
self._check_key("latitudeOfFirstGridPoint", 4000000)
9393
self._check_key("latitudeOfLastGridPoint", 9000000)
94-
self._check_key("DxInDegrees", 2.0)
95-
self._check_key("DyInDegrees", 5.0)
94+
self._check_key("iDirectionIncrement", 2000000)
95+
self._check_key("jDirectionIncrement", 5000000)
9696

9797
def test__scanmode(self):
9898
grid_definition_template_1(self.test_cube, self.mock_grib)

0 commit comments

Comments
 (0)