31 #ifndef RADAR__CONSTANTS
32 #define RADAR__CONSTANTS "radar__constants 1.0, May 27 2006 Markus.Peura@fmi.fi"
37 #include "drain/image/CoordinateHandler.h"
55 const int earthRadiusMI = 6371000;
56 const int earthRadius43MI = (earthRadiusMI * 4) / 3;
57 const float earthRadius43MF =
static_cast<float>(earthRadiusMI) * 4.0 / 3.0;
72 return ::pow(10.0,
static_cast<double>(dBZ) * 0.1);
85 return 10.0 * ::log10(
static_cast<double>(Z) ) ;
Definition: DataSelector.cpp:44
const double EARTH_RADIUS
Approximated radius of Earth, integer.
Definition: Constants.h:50
const double EARTH_RADIUS_43
The standard 4/3 radius applied in radar to compensate the decreasing density of the atmosphere.
Definition: Constants.h:53
double dbzToZ(const T &dBZ)
Definition: Constants.h:69
double zToDbz(const T &Z)
Definition: Constants.h:82
const int EARTH_RADIUSi
Approximated radius of Earth, integer.
Definition: Constants.h:48