code: def inverse_distance(xp, yp, variable, grid_x, grid_y, r, gamma=None, kappa=None,
                       min_neighbors=3, kind='cressman'):
      
      return inverse_distance_to_grid(xp, yp, variable, grid_x, grid_y, r, gamma=gamma,
                                      kappa=kappa, min_neighbors=min_neighbors, kind=kind)
docs: Wrap inverse_distance_to_grid for deprecated inverse_distance function.