pyrad.proc.process_spectral_differential_reflectivity#

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

Computes spectral differential 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" and "SvvADU") or ("ShhADUu" and "SvvADUu"), and,
        ("sNADUh" and "sNADUv"), or
        the power signal
        ("sPhhADU" and "sPvvADU") or ("sPhhADUu" and "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 “sZDR” if “ShhADU” and “SvvADU” were provided as input “sZDRu” if “ShhADUu” and “SvvADUu” were provided as input

  • ind_rad (int) – radar index