#include <TropModel.hpp>
Inheritance diagram for SaasTropModel:


The mapping functions are from Neill, A.E., 1996, 'Global Mapping Functions for the Atmosphere Delay of Radio Wavelengths,' J. Geophys. Res., 101, pp. 3227-3246 (also see IERS TN 32).
This model includes a wet and dry component, and requires input of the geodetic latitude, day of year and height above the ellipsoid of the receiver.
Usually, the caller will set the latitude and day of year at the same time the weather is set SaasTropModel stm; stm.setReceiverLatitude(lat); stm.setDayOfYear(doy); stm.setWeather(T,P,H); Then, when the correction (and/or delay and map) is computed, receiver height should be set before the call to correction(elevation): stm.setReceiverHeight(height); trop_corr = stm.correction(elevation);
NB in this model, units of 'temp' are degrees Celsius and humid actually stores water vapor partial pressure in mbars
Definition at line 798 of file TropModel.hpp.
Public Member Functions | |
| SaasTropModel (void) | |
| Empty constructor. | |
| SaasTropModel (const double &lat, const int &day) | |
| Create a trop model using the minimum information: latitude and doy. | |
| SaasTropModel (const double &lat, const int &day, const WxObservation &wx) throw (InvalidParameter) | |
| Create a trop model with weather. | |
| SaasTropModel (const double &lat, const int &day, const double &T, const double &P, const double &H) throw (InvalidParameter) | |
| Create a tropospheric model from explicit weather data. | |
| virtual double | correction (double elevation) const throw (InvalidTropModel) |
| Compute and return the full tropospheric delay. | |
| virtual double | correction (const Position &RX, const Position &SV, const DayTime &tt) throw (InvalidTropModel) |
| Compute and return the full tropospheric delay, given the positions of receiver and satellite and the time tag. | |
| virtual double | correction (const Xvt &RX, const Xvt &SV, const DayTime &tt) throw (InvalidTropModel) |
| virtual double | dry_zenith_delay (void) const throw (InvalidTropModel) |
| Compute and return the zenith delay for dry component of the troposphere. | |
| virtual double | wet_zenith_delay (void) const throw (InvalidTropModel) |
| Compute and return the zenith delay for wet component of the troposphere. | |
| virtual double | dry_mapping_function (double elevation) const throw (InvalidTropModel) |
| Compute and return the mapping function for dry component of the troposphere. | |
| virtual double | wet_mapping_function (double elevation) const throw (InvalidTropModel) |
| Compute and return the mapping function for wet component of the troposphere. | |
| virtual void | setWeather (const WxObservation &wx) throw (InvalidParameter) |
| Re-define the tropospheric model with explicit weather data. | |
| virtual void | setWeather (const double &T, const double &P, const double &H) throw (InvalidParameter) |
| Define the weather data; typically called just before correction(). | |
| void | setReceiverHeight (const double &ht) |
| Define the receiver height; this required before calling correction() or any of the zenith_delay or mapping_function routines. | |
| void | setReceiverLatitude (const double &lat) |
| Define the latitude of the receiver; this is required before calling correction() or any of the zenith_delay or mapping_function routines. | |
| void | setDayOfYear (const int &d) |
| Define the day of year; this is required before calling correction() or any of the zenith_delay or mapping_function routines. | |
|
|
Empty constructor.
Definition at line 1343 of file TropModel.cpp. |
|
||||||||||||
|
Create a trop model using the minimum information: latitude and doy.
Definition at line 1355 of file TropModel.cpp. |
|
||||||||||||||||
|
Create a trop model with weather.
Definition at line 1368 of file TropModel.cpp. |
|
||||||||||||||||||||||||
|
Create a tropospheric model from explicit weather data.
Definition at line 1385 of file TropModel.cpp. |
|
||||||||||||||||
|
Reimplemented from TropModel. Definition at line 1468 of file TropModel.cpp. |
|
||||||||||||||||
|
Compute and return the full tropospheric delay, given the positions of receiver and satellite and the time tag. This version is most useful within positioning algorithms, where the receiver position and timetag may vary; it computes the elevation (and other receiver location information) and passes them to appropriate set...() routines and the correction(elevation) routine.
Reimplemented from TropModel. Definition at line 1437 of file TropModel.cpp. References GPSTK_RETHROW, and GPSTK_THROW. |
|
|
Compute and return the full tropospheric delay.
Reimplemented from TropModel. Definition at line 1399 of file TropModel.cpp. References GPSTK_RETHROW, and GPSTK_THROW. |
|
|
Compute and return the mapping function for dry component of the troposphere. NB this function will return infinity at zero elevation.
Implements TropModel. Definition at line 1532 of file TropModel.cpp. References GPSTK_THROW. |
|
|
Compute and return the zenith delay for dry component of the troposphere.
Implements TropModel. Definition at line 1478 of file TropModel.cpp. References GPSTK_THROW. |
|
|
Define the day of year; this is required before calling correction() or any of the zenith_delay or mapping_function routines.
Reimplemented from TropModel. Definition at line 1696 of file TropModel.cpp. |
|
|
Define the receiver height; this required before calling correction() or any of the zenith_delay or mapping_function routines.
Reimplemented from TropModel. Definition at line 1678 of file TropModel.cpp. |
|
|
Define the latitude of the receiver; this is required before calling correction() or any of the zenith_delay or mapping_function routines.
Reimplemented from TropModel. Definition at line 1687 of file TropModel.cpp. |
|
||||||||||||||||
|
Define the weather data; typically called just before correction().
Reimplemented from TropModel. Definition at line 1643 of file TropModel.cpp. References gpstk::exp(), and gpstk::pow(). |
|
|
Re-define the tropospheric model with explicit weather data. Typically called just before correction().
Reimplemented from TropModel. Definition at line 1662 of file TropModel.cpp. References GPSTK_RETHROW. |
|
|
Compute and return the mapping function for wet component of the troposphere.
Implements TropModel. Definition at line 1594 of file TropModel.cpp. References GPSTK_THROW. |
|
|
Compute and return the zenith delay for wet component of the troposphere.
Implements TropModel. Definition at line 1506 of file TropModel.cpp. References GPSTK_THROW. |
1.3.9.1