wradlib.vpr.CartesianVolume#

class wradlib.vpr.CartesianVolume(polcoords, gridcoords, gridshape=None, maxrange=None, minelev=None, maxelev=None, ipclass=<class 'wradlib.ipol.Idw'>, **ipargs)[source]#

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)

  • ipclass (wradlib.ipol.IpolBase) – an interpolation class from wradlib.ipol

  • ipargs (dict) – keyword arguments corresponding to ipclass

Returns:

output (numpy.ndarray) – float 1-d ndarray of the same length as gridcoords (num voxels,)

Examples

See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.

__init__(polcoords, gridcoords, gridshape=None, maxrange=None, minelev=None, maxelev=None, ipclass=<class 'wradlib.ipol.Idw'>, **ipargs)[source]#

Methods

__init__(polcoords, gridcoords[, gridshape, ...])