Provide a means for estimating the pseudorange delay due to tropospheric conditions. To use it, instantiate one of the typedefs, then call one of either setDefaultWx() or loadFile() (the most recently called will be used to set the model's weather data). At that point, the getCorr() methods may be used.
Model | The tropospheric model class, which is expected to be derived from the TropModel class. Since there is a relatively limited number of these, there are typedefs for each of the existing TropModel classes. |
Definition at line 90 of file TropCorrector.hpp.
#include <TropCorrector.hpp>
Public Member Functions | |
bool | getCorr (const Position &rxPos, const Position &svPos, const SatID &sat, const ObsID &obs, const CommonTime &when, NavType nav, double &corrOut) override |
bool | getCorr (const Position &rxPos, const Xvt &svPos, const SatID &sat, const ObsID &obs, const CommonTime &when, NavType nav, double &corrOut) override |
virtual bool | loadFile (const std::string &fn) |
Load RINEX MET data into wxData, uses Model. More... | |
virtual void | setDefaultWx (double temp=20, double pres=1013, double hum=50) |
TropCorrector () | |
Set the corrType to Trop for GroupPathCorr. More... | |
![]() | |
GroupPathCorrector () | |
Set the corrType to Unknown by default. More... | |
Public Attributes | |
MetReader | wxData |
Read and store weather data for look-up (single site) More... | |
![]() | |
CorrectorType | corrType |
Set by child classes, indicates what type of bias is computed. More... | |
Protected Member Functions | |
virtual void | setWeather (Model &model, const CommonTime &when) |
void | setWeather (NBTropModel &model, const CommonTime &when) |
Template specialization for NBTropModel. More... | |
Protected Attributes | |
double | defHum |
Default humidity (%). More... | |
double | defPres |
Default pressure value (millibars). More... | |
double | defTemp |
Default temperature value (degrees C). More... | |
bool | useDefault |
Set to true if setDefaultWx was called more recently than loadFile. More... | |
Friends | |
class | ::GroupPathCorr_T |
gnsstk::TropCorrector< Model >::TropCorrector |
Set the corrType to Trop for GroupPathCorr.
Definition at line 155 of file TropCorrector.hpp.
|
overridevirtual |
Get the bias in meters given the supplied state arguments.
[in] | rxPos | The position of the GNSS receiver antenna. |
[in] | svPos | The position of the satellite with delayed signal. |
[in] | sat | The identity of the satellite with delayed signal. |
[in] | obs | The ID of the signal being un-delayed. |
[in] | when | The time of measurement. |
[in] | nav | The navigation message type of the signal. |
[out] | corrOut | The computed bias in meters. |
Implements gnsstk::GroupPathCorrector.
Definition at line 167 of file TropCorrector.hpp.
|
overridevirtual |
Get the bias in meters given the supplied state arguments.
[in] | rxPos | The position of the GNSS receiver antenna. |
[in] | svPos | The position of the satellite with delayed signal. |
[in] | sat | The identity of the satellite with delayed signal. |
[in] | obs | The ID of the signal being un-delayed. |
[in] | when | The time of measurement. |
[in] | nav | The navigation message type of the signal. |
[out] | corrOut | The computed bias in meters. |
Implements gnsstk::GroupPathCorrector.
Definition at line 193 of file TropCorrector.hpp.
|
virtual |
Load RINEX MET data into wxData, uses Model.
Definition at line 216 of file TropCorrector.hpp.
|
virtual |
Set default weather data if no time series is available
[in] | temp | The new default temperature (degrees C). |
[in] | pres | The new default pressure (millibars). |
[in] | hum | The new default humidity (%). |
Definition at line 205 of file TropCorrector.hpp.
|
protectedvirtual |
Tell the model what weather to use.
[in,out] | model | The model whose weather data is to be set. |
[in] | when | The time of the GNSS observation. |
Definition at line 226 of file TropCorrector.hpp.
|
inlineprotected |
Template specialization for NBTropModel.
Definition at line 242 of file TropCorrector.hpp.
|
friend |
Definition at line 130 of file TropCorrector.hpp.
|
protected |
Default humidity (%).
Definition at line 120 of file TropCorrector.hpp.
|
protected |
Default pressure value (millibars).
Definition at line 119 of file TropCorrector.hpp.
|
protected |
Default temperature value (degrees C).
Definition at line 118 of file TropCorrector.hpp.
|
protected |
Set to true if setDefaultWx was called more recently than loadFile.
Definition at line 117 of file TropCorrector.hpp.
MetReader gnsstk::TropCorrector< Model >::wxData |
Read and store weather data for look-up (single site)
Definition at line 114 of file TropCorrector.hpp.