Go to the documentation of this file.
77 catch(InvalidTropModel& e)
95 InvalidParameter e(
"Invalid temperature.");
101 InvalidParameter e(
"Invalid pressure.");
104 if (humid < 0.0 || humid > 105.0)
107 InvalidParameter e(
"Invalid humidity.");
129 catch(InvalidParameter& e)
138 InvalidParameter e(
"Invalid weather data.");
147 const double h0 = 0.0;
148 const double Tr = +18.0;
149 const double pr = 1013.25;
150 const double Hr = 50;
152 T = Tr-0.0065*(ht-h0);
153 P = pr * std::pow((1 - 0.0000226 * (ht - h0)), 5.225);
154 H = Hr * std::exp(-0.0006396 * (ht - h0));
virtual double correction(double elevation) const
virtual double dry_zenith_delay() const =0
static void weatherByStandardAtmosphereModel(const double &ht, double &T, double &P, double &H)
float temperature
degrees Centigrade
A Single Weather Observation.
#define THROW_IF_INVALID()
static const GNSSTK_EXPORT double CELSIUS_TO_KELVIN
double humid
latest value of relative humidity (percent)
bool isAllValid() const noexcept
virtual double wet_zenith_delay() const =0
bool valid
true only if current model parameters are valid
double press
latest value of pressure (millibars)
#define GNSSTK_RETHROW(exc)
@ P
Legacy GPS precise code.
virtual double dry_mapping_function(double elevation) const =0
virtual void setWeather(const double &T, const double &P, const double &H)
virtual double wet_mapping_function(double elevation) const =0
#define GNSSTK_THROW(exc)
double temp
latest value of temperature (kelvin or celsius)
double elevation(const Position &Target) const
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42