class wradlib.ipol.RectGrid(src, trg, method='linear')

Interpolation on a 2d grid in arbitrary dimensions.

The source data must be defined on a regular grid, the grid spacing however may be uneven. Linear, nearest-neighbour and spline interpolation are supported.

Based on scipy.interpolate.interpn, uses: - nearest scipy.interpolate.RegularGridInterpolator - linear scipy.interpolate.RegularGridInterpolator - splinef2d scipy.interpolate.RectBivariateSpline

Parameters
Keyword Arguments

method (str) – Method of interpolation used, defaults to ‘linear’.

 __call__(values, **kwargs) Evaluate interpolator for values given at the source points.