pyart.retrieve.compute_svp#
- pyart.retrieve.compute_svp(radar, field_names, lon, lat, angle, ref_time=None, ang_tol=1.0, latlon_tol=0.0005, delta_rng=15000.0, delta_azi=10, hmax=10000.0, hres=250.0, avg_type='mean', nvalid_min=1, interp_kind='none', qvp=None)[source]#
Computes slanted vertical profiles.
- Parameters:
radar (Radar) – Radar object used.
field_names (list of str) – list of field names to add to the QVP
lat, lon (float) – latitude and longitude of the point of interest [deg]
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.
ref_time (datetime object) – reference time for current radar volume
ang_tol (float) – If the radar object contains an RHI volume, the tolerance in the elevation angle for the conversion into PPI
latlon_tol (float) – tolerance in latitude and longitude in deg.
delta_rng, delta_azi (float) – maximum range distance [m] and azimuth distance [degree] from the central point of the evp containing data to average.
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 slanted vertical profile
Reference
———
Bukovcic P., Zrnic D., Zhang G. 2017 (Winter Precipitation Liquid-Ice)
Phase Transitions Revealed with Polarimetric Radar and 2DVD Observations
in Central Oklahoma. JTECH vol. 56 pp 1345-1363