Skip to content

Commit

Permalink
test modified
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Oct 21, 2024
1 parent f740748 commit 789add2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/core/gridmapping/test_regular.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ def test_derive(self):
self.assertEqual(True, derived_gm.is_j_axis_up)

def test_xy_coords(self):
gm = GridMapping.regular((8, 4), (10, 53), 0.1, CRS_WGS84)
gm = gm.derive(tile_size=(4, 2))
gm = GridMapping.regular((8, 4), (10, 53), 0.1, CRS_WGS84).derive(
tile_size=(4, 2)
)
xy_coords = gm.xy_coords
self.assertIsInstance(xy_coords, xr.DataArray)
self.assertIs(gm.xy_coords, xy_coords)
Expand Down

0 comments on commit 789add2

Please sign in to comment.