py_eddy_tracker.generic.interp2d_bilinear

py_eddy_tracker.generic.interp2d_bilinear(x_g, y_g, z_g, m_g, x, y)[source]

Bilinear interpolation with wrapping if circular

Parameters:
  • x_g (array) – coordinates of grid

  • y_g (array) – coordinates of grid

  • z_g (array) – Grid value

  • m_g (array) – Boolean grid, True if value is masked

  • x (array) – coordinate where interpolate z

  • y (array) – coordinate where interpolate z

Returns:

z interpolated

Return type:

array