pyrad.proc.process_echo_filter#

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

Masks all echo types that are not of the class specified in keyword echo_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, must be
        "echoID" at minimum, as well as any other fields
        that will be echo filtered (e.g. dBZ, ZDR)
    echo_type : int or list of ints
        The type of echoes to keep: 1 noise, 2 clutter, 3 precipitation.
        Default 3
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output field, it will contain the corrected version of the provided datatypes For example dBZ -> dBZc, ZDR -> ZDRc, RhoHV -> RhoHVc

  • ind_rad (int) – radar index