wradlib Documentation - Bitbucket
wradlib Documentation - Bitbucket
wradlib Documentation - Bitbucket
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>wradlib</strong> <strong>Documentation</strong>, Release 0.1.1<br />
Notes<br />
Uses scipy.spatial.cKDTree<br />
__call__(vals)<br />
Evaluate interpolator for values given at the source points.<br />
<strong>wradlib</strong>.ipol.Idw.__call__<br />
Idw.__call__(vals)<br />
Evaluate interpolator for values given at the source points.<br />
Parameters vals : ndarray of float, shape (numsourcepoints, ...)<br />
Values at the source points which to interpolate<br />
maxdist : the maximum distance up to which an interpolated values is<br />
assigned - if maxdist is exceeded, np.nan will be assigned If maxdist==None, values<br />
will be assigned everywhere<br />
Returns output : ndarray of float with shape (numtargetpoints,...)<br />
3.6.3 <strong>wradlib</strong>.ipol.Linear<br />
class <strong>wradlib</strong>.ipol.Linear(src, trg)<br />
Interface to the scipy.interpolate.LinearNDInterpolator class.<br />
We provide this class in order to achieve a uniform interface for all Interpolator classes<br />
Parameters src : ndarray of floats, shape (npoints, ndims)<br />
Data point coordinates of the source points.<br />
trg : ndarray of floats, shape (npoints, ndims)<br />
Data point coordinates of the target points.<br />
__call__(vals[, fill_value])<br />
Evaluate interpolator for values given at the source points.<br />
<strong>wradlib</strong>.ipol.Linear.__call__<br />
Linear.__call__(vals, fill_value=nan)<br />
Evaluate interpolator for values given at the source points.<br />
Parameters vals : ndarray of float, shape (numsourcepoints, ...)<br />
Values at the source points which to interpolate<br />
fill_value : float<br />
is needed if linear interpolation fails; defaults to np.nan<br />
Returns output : ndarray of float with shape (numtargetpoints,...)<br />
3.6. Interpolation 49