pyrad.proc.process_intercomp_time_avg#
- pyrad.proc.process_intercomp_time_avg(procstatus, dscfg, radar_list=None)[source]#
intercomparison between the average reflectivity of two radars
- Parameters:
procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing
dscfg (dictionary of dictionaries) –
data set configuration. Accepted Configuration Keywords:
datatype : list of string. Dataset keyword The input data types, must contain dBZ" or "dBZc" or "dBuZ" or "dBZv" or "dBZvc" or "dBuZv, and, "PhiDP" or "PhiDPc", and, "time_avg_flag" for the two radars colocgatespath : string. base path to the file containing the coordinates of the co-located gates coloc_data_dir : string. Dataset keyword name of the directory containing the csv file with colocated data coloc_radars_name : string. Dataset keyword string identifying the radar names rays_are_indexed : bool. Dataset keyword If True it is considered that the rays are indexed and that the data can be selected simply looking at the ray number. Default false azi_tol : float. Dataset keyword azimuth tolerance between the two radars. Default 0.5 deg ele_tol : float. Dataset keyword elevation tolerance between the two radars. Default 0.5 deg rng_tol : float. Dataset keyword range tolerance between the two radars. Default 50 m clt_max : int. Dataset keyword maximum number of samples that can be clutter contaminated. Default 100 i.e. all phi_excess_max : int. Dataset keyword maximum number of samples that can have excess instantaneous PhiDP. Default 100 i.e. all non_rain_max : int. Dataset keyword maximum number of samples that can be no rain. Default 100 i.e. all phi_avg_max : float. Dataset keyword maximum average PhiDP allowed. Default 600 deg i.e. any
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing a dictionary with intercomparison data and the key “final” which contains a boolean that is true when all volumes have been processed
ind_rad (int) – radar index