wradlib.qual.beam_block_frac¶
- wradlib.qual.beam_block_frac(th, bh, a)¶
Partial beam blockage fraction.
Note
Code was migrated from https://github.com/nguy/PyRadarMet.
From Bech et al. (2003), Eqn 2 and Appendix
- Parameters:
th (
float
ornumpy.ndarray
) – Terrain height [m]bh (
float
ornumpy.ndarray
) – Beam height [m]a (
float
ornumpy.ndarray
) – Half power beam radius [m]
- Returns:
pbb (
float
ornumpy.ndarray
) – Partial beam blockage fraction [unitless]
Examples
>>> pbb = beam_block_frac(th,bh,a)
See Beam Blockage Calculation using a DEM.
Note
This procedure uses a simplified interception function where no vertical gradient of refractivity is considered. Other algorithms treat this more thoroughly. However, this is accurate in most cases other than the super-refractive case.
See the the half_power_radius function to calculate variable a.
The heights must be the same units!