radarx.retrieve.ensemble.relation_scatter#
- radarx.retrieve.ensemble.relation_scatter(band='S', temperature=20.0, prior='generic')[source]#
Scatter of the rain rate relations caused by the variability of the DSD.
Draws the drop size distributions of a prior of
dsd_prior()with their radar variables from the forward model offorward_grid(), fits each power law \(R(Z)\), \(R(K_{DP})\), \(R(Z, Z_{DR})\) and \(R(A)\) to them by least squares in \(\ln R\), and returns the standard deviation of the residual. Each DSD is weighted by the rain rate it carries and its probability, as the optimal relations of Ryzhkov et al. (2014) are fitted. The same is done for the ratio \(\alpha = A_H/K_{DP}\), whose variability limits the attenuation correction from the differential phase (Ryzhkov et al. 2014, Sect. 5). The numbers are the defaults of the DSD part of the ensemble (priorofensemble_retrieval()).- Parameters:
band (
{"S", "C", "X"}, optional) – Radar band of the forward model. Default"S".temperature (
float, optional) – Rain temperature in degrees Celsius (0-30). Default 20.prior (
{"generic", "perils2022"}orxarray.Dataset, optional) – The DSD prior, a name or the output ofdsd_prior(). Default"generic", a radarx choice broad around the statistics of Bringi et al. (2003).
- Returns:
xarray.Dataset– Onrelation(z,kdp,z_zdr,a):ln_sd, the standard deviation of \(\ln R\) about the fitted relation (0.3 is a factor 1.35), the prefactorprefactor(mm h-1 in the units of the radar variable) and the exponentexponentof the fit, andzdr_exponentof the linear \(Z_{DR}\) (z_zdronly); and the scalarsalpha(geometric mean of \(A_H/K_{DP}\), dB per degree) andalpha_ln_sd(standard deviation of its logarithm).- Raises:
ValueError – For an unknown band or prior name.
Notes
The result is the variability of the DSDs of the prior and the simplified forward model of
forward_grid()(normalized gamma DSD, horizontal incidence); it is not the error of a particular relation against data, and not the bias of the default coefficients ofrain_rate_z()and the others against the fit.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
Bringi, V. N., V. Chandrasekar, J. Hubbert, E. Gorgucci, W. L. Randeu, and M. Schoenhuber, 2003: Raindrop size distribution in different climatic regimes from disdrometer and dual-polarized radar analysis. J. Atmos. Sci., 60 (2), 354-365, https://doi.org/10.1175/1520-0469(2003)060<0354:RSDIDC>2.0.CO;2
Examples
>>> sc = radarx.retrieve.relation_scatter("S") >>> sc.ln_sd.sel(relation="z")