pyart.retrieve.est_rain_rate_za#
- pyart.retrieve.est_rain_rate_za(radar, alphaz=0.0376, betaz=0.6112, alphaa=None, betaa=None, refl_field=None, a_field=None, rr_field=None, main_field=None, thresh=None, thresh_max=False)[source]#
Estimates rainfall rate from a blending of power law r-alpha and r-z relations.
- Parameters:
radar (Radar) – Radar object
alphaz, betaz (floats, optional) – Factor (alpha) and exponent (beta) of the z-r power law.
alphaa,betaa (floats, optional) – Factor (alpha) and exponent (beta) of the a-r power law. If not set the factors are going to be determined according to the radar frequency.
refl_field (str, optional) – Name of the reflectivity field to use.
a_field (str, optional) – Name of the specific attenuation field to use.
rr_field (str, optional) – Name of the rainfall rate field.
main_field (str, optional) – Name of the field that is going to act as main. Has to be either refl_field or kdp_field. Default is refl_field.
thresh (float, optional) – Value of the threshold that determines when to use the secondary field.
thresh_max (Bool, optional) – If true the main field is used up to the thresh value maximum. Otherwise the main field is not used below thresh value.
- Returns:
rain_main (dict) – Field dictionary containing the rainfall rate.