py_eddy_tracker.generic.interp2d_nearest¶
-
py_eddy_tracker.generic.
interp2d_nearest
(x_g, y_g, z_g, x, y)[source]¶ Nearest interpolation with wrapping if circular
- Parameters
x_g (array) – coordinates of grid
y_g (array) – coordinates of grid
z_g (array) – Grid value
x (array) – coordinate where interpolate z
y (array) – coordinate where interpolate z
- Returns
z interpolated
- Return type
array