wradlib.ipol.Idw¶
-
class
wradlib.ipol.Idw(src, trg, nnearest=4, p=2.0)¶ Inverse distance weighting interpolation in N dimensions.
- Parameters
src (ndarray of floats, shape (npoints, ndims) of cKDTree object) – Data point coordinates of the source points.
trg (ndarray of floats, shape (npoints, ndims)) – Data point coordinates of the target points.
nnearest (integer - max. number of neighbours to be considered) –
p (float - inverse distance power used in 1/dist**p) –
remove_missing (bool) – If True masks NaN values in the data values, defaults to False
- Keyword Arguments
**kwargs (keyword arguments of ipclass (see class documentation)) –
Examples
See How to use wradlib’s ipol module for interpolation tasks?.
Note
|
Evaluate interpolator for values given at the source points. |