wradlib.comp.togrid¶
-
wradlib.comp.
togrid
(src, trg, radius, center, data, interpol, *args, **kwargs)¶ Interpolate data from a radar location to the composite grid or set of locations
Parameters: - src (
numpy.ndarray
) – array of float of shape (numpoints, ndim), cartesian x / y coordinates of the radar bins - trg (
numpy.ndarray
) – array of float of shape (numpoints, ndim), cartesian x / y coordinates of the composite - radius (float) – the radius of the radar circle (same units as src and trg)
- center (
numpy.ndarray
) – array of float, the location coordinates of the radar - data (
numpy.ndarray
) – array of float, the data that should be transferred to composite - interpol (object) – an interpolation class name from
wradlib.ipol
e.g.Nearest
orIdw
Other Parameters: *args (arguments of Interpolator (see class documentation))
Keyword Arguments: **kwargs (keyword arguments of Interpolator (see class documentation)) –
Returns: output (
numpy.ndarray
) – array of float, data of the radar circle which is interpolated on the composite gridExamples
See Gridding.
- src (