pyrad.proc.process_colocated_gates#
- pyrad.proc.process_colocated_gates(procstatus, dscfg, radar_list=None)[source]#
Find colocated gates within 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 to use to check colocated gates (one for every radar) Any datatype supported by pyrad and available in both radars is accepted. If visibility filtering is desired, the fields "visibility" or "visibility_polar" must be specified for both radars. h_tol : float. Dataset keyword Tolerance in altitude difference between radar gates [m]. Default 100. latlon_tol : float. Dataset keyword Tolerance in latitude and longitude position between radar gates [deg]. Default 0.0005 vol_d_tol : float. Dataset keyword Tolerance in pulse volume diameter [m]. Default 100. vismin : float. Dataset keyword Minimum visibility [percent]. Default None. hmin : float. Dataset keyword Minimum altitude [m MSL]. Default None. hmax : float. Dataset keyword Maximum altitude [m MSL]. Default None. rmin : float. Dataset keyword Minimum range [m]. Default None. rmax : float. Dataset keyword Maximum range [m]. Default None. elmin : float. Dataset keyword Minimum elevation angle [deg]. Default None. elmax : float. Dataset keyword Maximum elevation angle [deg]. Default None. azrad1min : float. Dataset keyword Minimum azimuth angle [deg] for radar 1. Default None. azrad1max : float. Dataset keyword Maximum azimuth angle [deg] for radar 1. Default None. azrad2min : float. Dataset keyword Minimum azimuth angle [deg] for radar 2. Default None. azrad2max : float. Dataset keyword Maximum azimuth angle [deg] for radar 2. Default None.
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the field “colocated_gates”
ind_rad (int) – radar index