wradlib.georef.GeorefMethods.bin_distance#

GeorefMethods.bin_distance(**kwargs)#

Calculates great circle distance from radar site to radar bin over spherical earth, taking the refractivity of the atmosphere into account.

\[s = k_e r_e \arctan\left( \frac{r \cos\theta}{r \cos\theta + k_e r_e + h}\right)\]

where \(h\) would be the radar site altitude amsl.

Parameters

obj (xarray.DataArray | xarray.Dataset) – DataArray or Dataset

Returns

bin_distance (xarray.DataArray) – DataArray