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=True)[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 master. 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 slave field.
thresh_max (Bool, optional) – If true the master field is used up to the thresh value maximum. Otherwise the master field is not used below thresh value.
- Returns:
rain_master (dict) – Field dictionary containing the rainfall rate.