wradlib.ipol.cart_to_irregular_interp

wradlib.ipol.cart_to_irregular_interp#

wradlib.ipol.cart_to_irregular_interp(cartgrid, values, newgrid, **kwargs)[source]#

Interpolate array values defined by cartesian coordinate array cartgrid to new coordinates defined by newgrid using nearest neighbour, linear or cubic interpolation

Slow for large arrays

Keyword arguments are fed to scipy.interpolate.griddata

Parameters:
Returns:

interp (numpy.ndarray) – array with interpolated values of size N