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

Create a Constant Altitude Plan Position Indicator (CAPPI)

A CAPPI gives the value of a target variable (typically reflectivity in dBZ, but here also other variables such as e.g. rainfall intensity) in a defined altitude.

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

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

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

  • ipargs (dict) – keyword arguments corresponding to ipclass


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


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

__call__(data, **kwargs)

Interpolates the polar data to 3-dimensional Cartesian coordinates