wradlib.vpr.PseudoCAPPI¶
-
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.
- Parameters
polcoords (
numpy.ndarray
) – coordinate array of shape (num bins, 3) Represents the 3-D coordinates of the orginal radar binsgridcoords (
numpy.ndarray
) – 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
Examples
See Recipe #2: Reading and visualizing an ODIM_H5 polar volume.
|
Interpolates the polar data to 3-dimensional Cartesian coordinates |