radarx.retrieve.qpe.rain_rate_kdp#

radarx.retrieve.qpe.rain_rate_kdp(obj, kdp=None, *, band='S', coefficients=None, negative='keep', n_threads=None, engine='auto')[source]#

Rain rate from the specific differential phase, R = a |KDP|**b sign(KDP).

\(K_{DP}\) is in degrees km-1. The default for S band is R = 44.0 |KDP|**0.822 of Giangrande and Ryzhkov (2007); for X band R = 16.9 |KDP|**0.801 as used by Ryzhkov et al. (2014) for the Bonn radar, and R = 30.5 |KDP|**0.85 for C band (Eq. 8.14 of Bringi and Chandrasekar 2001 at 5.45 GHz, from T-matrix simulations; see radarx.retrieve.qpe). The relation is independent of the reflectivity calibration and of attenuation, but KDP is noisy below about 0.3 degrees km-1 and the relation is not meant for light rain.

Parameters:
  • obj (xarray.DataArray, xarray.Dataset or xarray.DataTree) – KDP as a DataArray, a sweep or grid that holds it, or a volume (sweeps without the field are skipped).

  • kdp (str, optional) – Name of the specific differential phase. By default the first found of KDP, specific_differential_phase and corrected_specific_differential_phase; see radarx.retrieve.estimate_kdp().

  • negative ({"keep", "zero"}, optional) – What to do with negative KDP (noise). "keep" (default) gives a negative rain rate with the sign of KDP, as the relation is written in the paper, so that averages are not biased; "zero" gives zero (a radarx option).

Notes

Dask and extra dimensions. The fields may have extra leading dimensions (for example time or volume): 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.DataArray or xarray.DataTree – RAIN_RATE_KDP (mm h-1) on the coordinates of KDP (float32, NaN where KDP is missing); for a DataTree one node per sweep. The input is not changed.

Raises:
  • KeyError – If KDP is not found.

  • ValueError – For an unknown band, engine or negative, a coefficients of the wrong length, or a band without a default and without coefficients.

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. 19, S band; Eq. 22, X band).

Bringi, V. N., and V. Chandrasekar, 2001: Polarimetric Doppler Weather Radar: Principles and Applications. Cambridge University Press, https://doi.org/10.1017/CBO9780511541094 (Eq. 8.14, the C-band relation at 5.45 GHz; reproduced with the T-matrix code of radarx in the notebook TMatrix_Textbook_Examples).

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 S-band relation is taken from the extended abstract of the same title, 33rd Conf. on Radar Meteorology, 2007, paper P6B.7, Eq. 2; the journal article has not been compared).

Examples

>>> rr = radarx.retrieve.rain_rate_kdp(sweep)
>>> rr = dtree.radarx.rain_rate_kdp(negative="zero")