pyart.retrieve.compute_vp#

pyart.retrieve.compute_vp(radar, field_names, lon, lat, ref_time=None, latlon_tol=0.0005, hmax=10000.0, hres=50.0, interp_kind='none', qvp=None)[source]#

Computes 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]

  • ref_time (datetime object) – reference time for current radar volume

  • latlon_tol (float) – tolerance in latitude and longitude in deg.

  • hmax (float) – The maximum height to plot [m].

  • hres (float) – The height resolution [m].

  • 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 vertical profile