Go to the documentation of this file.
40 #ifndef GNSSTK_TROPCORRECTOR_HPP
41 #define GNSSTK_TROPCORRECTOR_HPP
89 template <
class Model>
99 double& corrOut)
override;
104 double& corrOut)
override;
130 friend class ::GroupPathCorr_T;
153 template <
class Model>
157 defTemp(
std::numeric_limits<double>::quiet_NaN()),
158 defPres(
std::numeric_limits<double>::quiet_NaN()),
159 defHum(
std::numeric_limits<double>::quiet_NaN())
165 template <
class Model>
173 model.setReceiverHeight(rxPos.
height());
176 model.setDayOfYear(
YDSTime(when).doy);
179 setWeather(model, when);
180 corrOut = model.correction(rxPos, svPos, when);
185 corrOut = std::numeric_limits<double>::quiet_NaN();
191 template <
class Model>
199 return getCorr(rxPos, svp, sat, obs, when, nav, corrOut);
203 template <
class Model>
214 template <
class Model>
224 template <
class Model>
230 model.setWeather(wxData.wx.getWxObservation(when));
234 model.setWeather(defTemp, defPres, defHum);
246 if (wxData.wx.obs.empty())
256 model.
setWeather(wxData.wx.getWxObservation(when));
267 #endif // GNSSTK_TROPCORRECTOR_HPP
double defHum
Default humidity (%).
TropCorrector< SimpleTropModel > SimpleTropCorrector
Wrapper for the "simple" trop model.
@ Trop
Troposphere (weather) corrector.
virtual void setWeather(Model &model, const CommonTime &when)
double defTemp
Default temperature value (degrees C).
double height() const noexcept
return height above ellipsoid (meters) (Geodetic).
TropCorrector< NeillTropModel > NeillTropCorrector
Wrapper for the A.E. Neill trop model.
Triple x
Sat position ECEF Cartesian (X,Y,Z) meters.
double defPres
Default pressure value (millibars).
TropCorrector< ZeroTropModel > ZeroTropCorrector
Somewhat pointless wrapper for zero trop correction model.
double getGeodeticLatitude() const noexcept
return geodetic latitude (deg N)
TropCorrector< SaasTropModel > SaasTropCorrector
Wrapper for the Saastamoinen trop model.
TropCorrector()
Set the corrType to Trop for GroupPathCorr.
TropCorrector< NBTropModel > NBTropCorrector
Wrapper for the Univeristy of New Brunswick trop model.
TropCorrector< GGTropModel > GGTropCorrector
Wrapper for the Goad and Goodman trop model.
TropCorrector< GlobalTropModel > GlobalTropCorrector
Wrapper for the global trop model (Boehm et al).
double getLongitude() const noexcept
return longitude (deg E) (either geocentric or geodetic)
MetReader wxData
Read and store weather data for look-up (single site)
virtual bool loadFile(const std::string &fn)
Load RINEX MET data into wxData, uses Model.
TropCorrector< GGHeightTropModel > GGHeightTropCorrector
Wrapper for the Goad and Goodman trop model with heights.
NavType
Supported navigation types.
bool useDefault
Set to true if setDefaultWx was called more recently than loadFile.
CorrectorType corrType
Set by child classes, indicates what type of bias is computed.
bool getCorr(const Position &rxPos, const Position &svPos, const SatID &sat, const ObsID &obs, const CommonTime &when, NavType nav, double &corrOut) override
virtual void setWeather(const WxObservation &wx)
virtual void setDefaultWx(double temp=20, double pres=1013, double hum=50)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42