pyrad.proc.process_correct_bias#

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

Corrects a bias on the data

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 data type to correct for bias, can be any datatype supported by pyrad
    bias : float. Dataset keyword
        The bias to be corrected [dB]. Default 0
    
  • radar_list (list of Radar objects) – Optional. list of radar objects

Returns:

  • new_dataset (dict) – dictionary containing the output field, it will contain the corrected version of the provided datatypes For example dBZ -> dBZc, ZDR -> ZDRc, RhoHV -> RhoHVc

  • ind_rad (int) – radar index