wradlib.vpr.CartesianVolume#
- class wradlib.vpr.CartesianVolume(polcoords, gridcoords, *, maxrange=None, minelev=None, maxelev=None, site=None, ipclass=<class 'wradlib.ipol.Idw'>, **ipargs)[source]#
Bases:
object
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)maxrange (
float
) – The maximum radar range (must be the same for each elevation angle)minelev (
float
) – The minimum elevation angle of the volume (degree)maxelev (
float
) – The maximum elevation angle of the volume (degree)site (sequence) – the lon / lat / alt coordinates of the radar location and its altitude a.m.s.l. (in meters)
ipclass (
wradlib.ipol.IpolBase
) – an interpolation class fromwradlib.ipol
ipargs (
dict
) – keyword arguments corresponding toipclass
- 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.
|
Interpolates the polar data to 3-dimensional Cartesian coordinates |