pyrad.proc.process_intercomp#

pyrad.proc.process_intercomp(procstatus, dscfg, radar_list=None)[source]#

intercomparison between two radars at co-located gates. The variables compared must be of the same type.

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 (one for every radar).
        Any arbitrary datatype supported by pyrad and available
        in both radar is accepted.
    colocgatespath : string.
        base path to the file containing the coordinates of the co-located
        gates
    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
    coloc_data_dir : string. Dataset keyword
        name of the directory containing the csv file with colocated data
    
  • 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