code: def get_xyz_1d(self, xcoord, x, ycoord, y, u, v):
          
          xclose = xcoord.indexes[xcoord.name].get_loc(x, method='nearest')
          yclose = ycoord.indexes[ycoord.name].get_loc(y, method='nearest')
          uval = u[yclose, xclose].values
          vval = v[yclose, xclose].values
          return xcoord[xclose].values, ycoord[yclose].values, uval, vval
docs: Get closest x, y and z for the given `x` and `y` in `data` for
          1d coords