wradlib.georef.misc.bin_altitude¶
- wradlib.georef.misc.bin_altitude(r, theta, sitealt, *, re=6371000, ke=1.3333333333333333)¶
- wradlib.georef.misc.bin_altitude(obj: DataArray, **kwargs)
- wradlib.georef.misc.bin_altitude(obj: Dataset, **kwargs)
Calculates the height of a radar bin taking the refractivity of the atmosphere into account.
Based on [Doviak et al., 1993] the bin altitude is calculated as
\[h = \sqrt{r^2 + (k_e r_e)^2 + 2 r k_e r_e \sin\theta} - k_e r_e\]- Parameters:
r (
numpy.ndarray
) – Array of ranges [m]theta (scalar or
numpy.ndarray
) – Array broadcastable to the shape of r elevation angles in degrees with 0° at horizontal and +90° pointing vertically upwards from the radarsitealt (
float
) – Altitude in [m] a.s.l. of the referencing radar site
- Keyword Arguments:
- Returns:
altitude (
numpy.ndarray
) – Array of heights of the radar bins in [m]