pyrad.proc.process_kdp_leastsquare_double_window#

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

Computes specific differential phase using a piecewise least square method

Parameters:
  • procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing

  • dscfg (dictionary of dictionaries) –

    data set configuration. Accepted Configuration Keywords:

    The input data types, must contain,
    "PhiDP" or "PhiDPc" or "uPhiDP", and,
    "dBZ" or "dBZc"
    
    rwindsfloat. Dataset keyword

    The length of the short segment for the least square method [m]. Default 2000.

    rwindlfloat. Dataset keyword

    The length of the long segment for the least square method [m]. Default 6000.

    Zthrfloat. Dataset keyword

    The threshold defining which estimated data to use [dBZ]

    vectorizeBool. Dataset keyword

    Whether to vectorize the KDP processing. Default false

  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output field “KDPc”

  • ind_rad (int) – radar index