radarx.retrieve.qpe.rain_rate_z#
- radarx.retrieve.qpe.rain_rate_z(obj, dbz=None, *, band='S', coefficients=None, z_cap=53.0, n_threads=None, engine='auto')[source]#
Rain rate from the reflectivity,
R = a Z**b.Z is the reflectivity in mm6 m-3 from the horizontal reflectivity in dBZ. The default for S band is the operational WSR-88D relation
R = 1.70e-2 Z**0.714(\(Z = 300 R^{1.4}\)), the one for X band the Marshall-Palmer type relationR = 0.029 Z**0.67used for the Bonn radar; seeradarx.retrieve.qpefor the sources and for what to correct before using it. There is no default for C band (no relation for it could be verified).- Parameters:
obj (
xarray.DataArray,xarray.Datasetorxarray.DataTree) – The reflectivity (dBZ) as a DataArray, a sweep or grid that holds it, or a volume withsweep_*groups (sweeps without the field are skipped).dbz (
str, optional) – Name of the reflectivity. By default the first found ofDBZH,DBZ,reflectivityandcorrected_reflectivity. Correct the reflectivity for attenuation and calibration first and pass its name.
Notes
Dask and extra dimensions. The fields may have extra leading dimensions (for example
timeorvolume): each sweep is processed on its own and the result has the same extra dimensions. Dask arrays stay lazy: the result is a dask array and nothing is computed until it is (the sweep dimensions are rechunked into one chunk).{common}
- Returns:
xarray.DataArrayorxarray.DataTree–RAIN_RATE_Z(mm h-1) on the coordinates of the reflectivity (float32, NaN where the reflectivity is missing); for a DataTree one node per sweep with that variable. The input is not changed.- Raises:
KeyError – If the reflectivity is not found.
ValueError – For an unknown
bandorengine, acoefficientsof the wrong length, or a band without a default and withoutcoefficients.
References
Ryzhkov, A., M. Diederich, P. Zhang, and C. Simmer, 2014: Potential utilization of specific attenuation for rainfall estimation, mitigation of partial beam blockage, and radar networking. J. Atmos. Oceanic Technol., 31 (3), 599-619, https://doi.org/10.1175/JTECH-D-13-00038.1 (Eq. 18, S band; Eq. 21, X band).
Giangrande, S. E., and A. V. Ryzhkov, 2008: Estimation of rainfall based on the results of polarimetric echo classification. J. Appl. Meteor. Climatol., 47 (9), 2445-2462, https://doi.org/10.1175/2008JAMC1753.1 (the relations and the 53 dBZ cap are taken from the extended abstract of the same title, 33rd Conf. on Radar Meteorology, 2007, paper P6B.7, Eq. 1; the journal article has not been compared).
Examples
>>> rr = radarx.retrieve.rain_rate_z(sweep) >>> rr = dtree.radarx.rain_rate_z(dbz="DBZH_corrected")