pyrad.proc.process_spectral_reflectivity#

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

Computes spectral reflectivity

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,
        either a combination of signal and noise
        "ShhADU" or "SvvADU" or "ShhADUu" or "SvvADUu", and,
        "sNADUh" or "sNADUv", or
        the power signal
        "sPhhADU" or "sPvvADU" or "sPhhADUu" or "sPvvADUu"
    subtract_noise : Bool
        If True noise will be subtracted from the signal
    smooth_window : int or None
        Size of the moving Gaussian smoothing window. If none no smoothing
        will be applied
    
  • radar_list (list of spectra objects) – Optional. list of spectra objects

Returns:

  • new_dataset (dict) – dictionary containing the output field “sdBZ” if “ShhADU” (or “sPhhADU”) was provided as input “sdBuZ” if “ShhADUu” (or “sPhhADUu”) was provided as input “sdBZv” if “SvvADU” (or “sPvvADU”) was provided as input “sdBuZv” if “SvvADUu” (or “sPvvADUu”) was provided as input

  • ind_rad (int) – radar index