wradlib.vpr.PseudoCAPPI#

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

Create a Pseudo-CAPPI Constant Altitude Plan Position Indicator (CAPPI)

The difference to a CAPPI (wradlib.vpr.CAPPI) is that the blind area below and above the radar are not masked, but filled by interpolation. Only the areas beyond the range of the radar are masked out. As a result, “blind” areas below the radar are particularly filled from the lowest available elevation angle.

In order to create a Pseudo CAPPI, you first have to create an instance of this class. Calling this instance with the actual polar volume data will return the Pseudo CAPPI grid.

Parameters:
  • polcoords (numpy.ndarray) – coordinate array of shape (num bins, 3) Represents the 3-D coordinates of the original radar bins

  • gridcoords (numpy.ndarray) – coordinate array of shape (num voxels, 3) Represents the 3-D coordinates of the Cartesian grid

  • 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,)

See also

out_of_range

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)#

Methods

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