19 const double& lat = lla_pos(0);
20 const double& alt = lla_pos(2);
23 double ZHD = 0.0022768 * p / (1 - 0.00266 * std::cos(2 * lat) - 0.00028 * alt * 1e-3);
24 LOG_DATA(
"ZHD {} [m] (Zenith hydrostatic delay)", ZHD);
32 double ZWD = 0.002277 * (1255.0 / T + 0.05) * e;
33 LOG_DATA(
"ZWD {} [m] (Zenith wet delay)", ZWD);
Utility class for logging to console and file.
#define LOG_DATA
All output which occurs repeatedly every time observations are received.
Saastamoinen troposphere correction model.
double calcZWD_Saastamoinen(double T, double e)
Calculates the tropospheric zenith wet delay with the Saastamoinen model.
double calcZHD_Saastamoinen(const Eigen::Vector3d &lla_pos, double p)
Calculates the tropospheric zenith hydrostatic delay with the Saastamoinen model.