Skip to content

Commit 3a4a9a5

Browse files
Fixing _spatial_slip_interpolation signature
1 parent d2781e5 commit 3a4a9a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parcels/field.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,8 +1296,8 @@ def _is_land2D(self, di, yi, xi):
12961296
else:
12971297
return True
12981298

1299-
def spatial_slip_interpolation(self, ti, z, y, x, time, particle=None, applyConversion=True):
1300-
(_, zeta, eta, xsi, _, zi, yi, xi) = self.U._search_indices(time, z, y, x, particle=particle)
1299+
def spatial_slip_interpolation(self, time, z, y, x, particle=None, applyConversion=True):
1300+
(_, zeta, eta, xsi, ti, zi, yi, xi) = self.U._search_indices(time, z, y, x, particle=particle)
13011301
di = ti if self.U.grid.zdim == 1 else zi # general third dimension
13021302

13031303
f_u, f_v, f_w = 1, 1, 1

0 commit comments

Comments
 (0)