pyrad.proc.process_pol_variables#

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

Computes the polarimetric variables from the complex spectra

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"), and
        ("sRhoHV" or "sRhoHVu")
    
    subtract_noise : Bool
        If True noise will be subtracted from the signal. Default False
    smooth_window : int or None
        Size of the moving Gaussian smoothing window. If none no smoothing
        will be applied. Default None
    variables : list of str
        list of variables to compute. Default dBZ
    
  • radar_list (list of spectra objects) – Optional. list of spectra objects

Returns:

  • new_dataset (dict) – dictionary containing the all outputs fields, that correspond to the specified “variables” keyword

  • ind_rad (int) – radar index