wradlib.ipol.Nearest¶
-
class
wradlib.ipol.Nearest(src, trg)¶ Nearest-neighbour interpolation in N dimensions.
- Parameters
src (ndarray of floats, shape (npoints, ndims) or cKDTree object) – Data point coordinates of the source points.
trg (ndarray of floats, shape (npoints, ndims)) – Data point coordinates of the target points.
remove_missing (int) – Number of neighbours to consider in the presence of NaN, defaults to 0.
- 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. |