Skip to content

Commit d9bff6f

Browse files
committed
Fix .grid call that escaped replacing to .get_grid()
1 parent 9f5f574 commit d9bff6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gridkit-py/gridkit/tile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ def resample(self, alignment_grid, method="nearest", **interp_kwargs):
995995
tile_is_given = isinstance(alignment_grid, Tile)
996996
if tile_is_given:
997997
tile = alignment_grid
998-
alignment_grid = alignment_grid.grid
998+
alignment_grid = alignment_grid.get_grid()
999999

10001000
if self.get_grid().crs is None or alignment_grid.crs is None:
10011001
warnings.warn(

0 commit comments

Comments
 (0)