wradlib Documentation - Bitbucket
wradlib Documentation - Bitbucket
wradlib Documentation - Bitbucket
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>wradlib</strong> <strong>Documentation</strong>, Release 0.1.1<br />
initial value for linear coefficient of the k-Z relation ( k = a ∗ Z b ). Per default set to<br />
1.67e-4.<br />
a_min : float<br />
minimal allowed linear coefficient of the k-Z relation ( k = a ∗ Z b ) in the downwards<br />
iteration of a in case of signal overflow (sum of signal and attenuation exceeds the<br />
threshold thrs). Per default set to 2.33e-5.<br />
b : float<br />
exponent of the k-Z relation ( k = a ∗ Z b ). Per default set to 0.7.<br />
n : integer<br />
l : float<br />
number of iterations from a_max to a_min. Per default set to 30.<br />
length of a range gate [km]. Per default set to 1.0.<br />
mode : string<br />
Controls how the function reacts in case of signal overflow (sum of signal and attenuation<br />
exceeds the threshold thrs). Possible values:<br />
‘warn’ : emit a warning through the module’s logger but continue execution<br />
‘zero’ : set offending gates to 0.0<br />
‘nan’ : set offending gates to nan<br />
Per default set to ‘zero’. Any other mode will raise an Exception.<br />
thrs_dBZ : float<br />
Threshold, for the attenuation corrected signal [dBZ], which is deemed unplausible. Per<br />
default set to 59.0 dBZ.<br />
Returns pia : array<br />
Array with the same shape as gateset containing the calculated attenuation [dB] for<br />
each range gate.<br />
Raises AttenuationOverflowError :<br />
Exception, if attenuation exceeds thrs even with smallest possible linear coefficient<br />
(a_min) and no handling mode is set.<br />
References<br />
[Kraemer2008]<br />
3.12.3 <strong>wradlib</strong>.atten.correctAttenuationHJ<br />
<strong>wradlib</strong>.atten.correctAttenuationHJ(gateset, a_max=0.000167, a_min=2.33e-05, b=0.7, n=30,<br />
l=1.0, mode=’zero’, thrs_dBZ=59.0, max_PIA=20.0)<br />
Gate-by-Gate attenuation correction based on Stefan Kraemer [Kraemer2008], expanded by Stephan Jacobi,<br />
Maik Heistermann and Thomas Pfaff [Jacobi2011].<br />
Parameters gateset : array<br />
60 Chapter 3. Library Reference