pyrad.proc.process_attenuation#
- pyrad.proc.process_attenuation(procstatus, dscfg, radar_list=None)[source]#
Computes specific attenuation and specific differential attenuation using the Z-Phi method and corrects reflectivity and 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, "dBZ" or "dBZc", and, "PhiDP" or "PhiDPc", and, "ZDR" or "ZDRc", and "TEMP" or "H_ISO0" (Optional) ATT_METHOD : float. Dataset keyword The attenuation estimation method used. One of the following: ZPhi, Philin. Default ZPhi fzl : float. Dataset keyword The default freezing level height. It will be used if no temperature field name is specified or the temperature field is not in the radar object. Default 2000. sounding : str. Dataset keyword The nearest radiosounding WMO code (5 int digits). It will be used to compute the freezing level, if no temperature field name is specified, if the temperature field is in the radar object or if no freezing_level is explicitely defined.
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the output fields “Ah” (spec. attenuation), “PIA” (path-integrated attenuation) and “dBZc” (corr. refl.)
ind_rad (int) – radar index