wradlib.vpr.CAPPI¶
-
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.
- Parameters
polcoords (
numpy.ndarray
) – coordinate array of shape (num bins, 3) Represents the 3-D coordinates of the orginal radar binsgridcoords (
numpy.array
) – coordinate array of shape (num voxels, 3) Represents the 3-D coordinates of the Cartesian gridgridshape (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
- Returns
output (
numpy.ndarray
) – float 1-d ndarray of the same length asgridcoords
(num voxels,)
See also
out_of_range
,blindspots
Examples
See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.
|
Interpolates the polar data to 3-dimensional Cartesian coordinates |