pywgrib2_xr.ips_points

pywgrib2_xr.ips_points(data, iptype, grid, point, ipopt=None)[source]

Interface to NCEP subroutine ipolates.

This function interpolates scalar fields from any grid to a set of points given by their latitudes and longitudes. Only horizontal interpolation is performed.

Parameters
  • data (array_like) – Input grid.

  • iptype ({'bilinear', 'bicubic', 'neighbour', 'budget'}) – Interpolation method.

  • grid (Grid) – Input grid geometry instance. One of {GridLatLon, GridRotLatLon, GridMercator, GridPolarStereo, GridDefLambertConformal, GridDefGaussian}

  • point (Point) – Output Point geometry instance.

  • ipopt (array_like) – Interpolation options.

Returns

A dictionary with single key {“data”} (for consistency with ips_grid). Values are interpolated grid at location specified by ‘point’ argument.

Return type

dict