pyrad.proc.process_snr#

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

Computes SNR

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 input data type, must contain,
        "dBZ" or "dBuZ" or "dBZv" or "dBuZv", and,
        "Nh" or "Nv"
    output_type : string. Dataset keyword
        The output data type. Either SNRh or SNRv
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output field “SNRh” or “SNRv” (if vert. refl. were provided)

  • ind_rad (int) – radar index