pyart.retrieve.compute_rqvp#
- pyart.retrieve.compute_rqvp(radar, field_names, ref_time=None, hmax=10000.0, hres=2.0, avg_type='mean', nvalid_min=30, interp_kind='nearest', rmax=50000.0, weight_power=2.0, qvp=None)[source]#
Computes range-defined 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
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
rmax (float) – ground range up to which the data is intended for use [m].
weight_power (float) – Power p of the weighting function 1/abs(grng-(rmax-1))**p given to the data outside the desired range. -1 will set the weight to 0.
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 range defined quasi vertical profile
Reference
———
Tobin D.M., Kumjian M.R. 2017 (Polarimetric Radar and Surface-Based)
Precipitation-Type Observations of ice Pellet to Freezing Rain
Transitions. Weather and Forecasting vol. 32 pp 2065-2082