pyrad.proc.process_rqvp#
- pyrad.proc.process_rqvp(procstatus, dscfg, radar_list=None)[source]#
Computes range defined quasi vertical profiles, by averaging over height levels PPI data.
- Parameters:
procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing
dscfg (dictionary of dictionaries) –
data set configuration. Accepted Configuration Keywords:
datatype : string. Dataset keyword The data type where we want to extract the point measurement, can be any datatype supported by pyrad and available in the data hmax : float The maximum height to plot [m]. Default 10000. hres : float The height resolution [m]. Default 2. avg_type : str The type of averaging to perform. Can be either "mean" or "median" Default "mean" nvalid_min : int Minimum number of valid points to accept average. Default 30. interp_kind : str type of interpolation when projecting to vertical grid: 'none', or 'nearest', etc. Default 'nearest' '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]. Default 50000. 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. Default 2.
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the QVP and a keyword stating whether the processing has finished or not.
ind_rad (int) – radar index
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