code: def get_xyz_2d(self, xcoord, x, ycoord, y, u, v):
          
          xy = xcoord.values.ravel() + 1j * ycoord.values.ravel()
          dist = np.abs(xy - (x + 1j * y))
          imin = np.nanargmin(dist)
          xy_min = xy[imin]
          return (xy_min.real, xy_min.imag, u.values.ravel()[imin],
                  v.values.ravel()[imin])
docs: Get closest x, y and z for the given `x` and `y` in `data` for
          2d coords