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

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.

  • polcoords (numpy.ndarray) – coordinate array of shape (num bins, 3) Represents the 3-D coordinates of the orginal radar bins
  • gridcoords (numpy.ndarray) – coordinate array of shape (num voxels, 3) Represents the 3-D coordinates of the Cartesian grid
  • gridshape (tuple) – shape of the original polar volume (num elevation angles, num azimuth angles, num range bins) size must correspond to length of polcoords
  • 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

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

See also



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

__call__(data) Interpolates the polar data to 3-dimensional Cartesian coordinates