pyart.retrieve.compute_qvp#
- pyart.retrieve.compute_qvp(radar, field_names, ref_time=None, angle=0.0, ang_tol=1.0, hmax=10000.0, hres=50.0, avg_type='mean', nvalid_min=30, interp_kind='none', qvp=None)[source]#
Computes quasi vertical profiles.
- Parameters:
radar (Radar) – Radar object used.
field_names (list of str) – list of field names to add to the QVP
ref_time (datetime object) – reference time for current radar volume
angle (int or float) – If the radar object contains a PPI volume, the sweep number to use, if it contains an RHI volume the elevation angle.
ang_tol (float) – If the radar object contains an RHI volume, the tolerance in the elevation angle for the conversion into PPI
hmax (float) – The maximum height to plot [m].
hres (float) – The height resolution [m].
avg_type (str) – The type of averaging to perform. Can be either “mean” or “median”
nvalid_min (int) – Minimum number of valid points to accept average.
interp_kind (str) – type of interpolation when projecting to vertical grid: ‘none’, or ‘nearest’, etc. ‘none’ will select from all data points within the regular grid height bin the closest to the center of the bin. ‘nearest’ will select the closest data point to the center of the height bin regardless if it is within the height bin or not. Data points can be masked values If another type of interpolation is selected masked values will be eliminated from the data points before the interpolation
qvp (QVP object or None) – If it is not None this is the QVP object where to store the data from the current time step. Otherwise a new QVP object will be created
- Returns:
qvp (qvp object) – The computed QVP object
Reference
———
Ryzhkov A., Zhang P., Reeves H., Kumjian M., Tschallener T., Trömel S.,
Simmer C. 2016 (Quasi-Vertical Profiles: A New Way to Look at Polarimetric)
Radar Data. JTECH vol. 33 pp 551-562