wradlib.ipol.Linear

Contents

wradlib.ipol.Linear#

class wradlib.ipol.Linear(src, trg, *, remove_missing=False)[source]#

Bases: IpolBase

Interface to the scipy.interpolate.LinearNDInterpolator class.

We provide this class in order to achieve a uniform interface for all Interpolator classes

Parameters:
  • src (numpy.ndarray) – ndarray of floats, shape (npoints, ndims) Data point coordinates of the source points.

  • trg (numpy.ndarray) – ndarray of floats, shape (npoints, ndims) Data point coordinates of the target points.

Examples

See How to use wradlib's ipol module for interpolation tasks?.

__call__(vals, *[, fill_value])

Evaluate interpolator for values given at the source points.