wradlib.vpr.CartesianVolume¶
-
class
wradlib.vpr.
CartesianVolume
(polcoords, gridcoords, gridshape=None, maxrange=None, minelev=None, maxelev=None, ipclass=<class 'wradlib.ipol.Idw'>, **ipargs)¶ Create 3-D regular volume grid in Cartesian coordinates from polar data with multiple elevation angles
Parameters: - polcoords (
numpy.ndarray
) – of shape (num bins, 3) - gridcoords (
numpy.ndarray
) – of shape (num voxels, 3) - gridshape (tuple) – shape of the Cartesian grid (num x, num y, num z)
- maxrange (float) – The maximum radar range (must be the same for each elevation angle)
- ipclass (object) – an interpolation class from
wradlib.ipol
- ipargs (**kwargs) – keyword arguments corresponding to
ipclass
Returns: output (
numpy.ndarray
) – float 1-d ndarray of the same length asgridcoords
(num voxels,)Examples
See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.
- polcoords (
__call__ (data) |
Interpolates the polar data to 3-dimensional Cartesian coordinates |