py_eddy_tracker.generic.interp2d_geo

py_eddy_tracker.generic.interp2d_geo(x_g, y_g, z_g, m_g, x, y, nearest=False)[source]

For geographic grid, test of cicularity.

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

  • nearest (bool) – if True we will take nearest pixel

Returns:

z interpolated

Return type:

array