Public Member Functions | Private Attributes | List of all members
gnsstk::SimpleTropModel Class Reference

Detailed Description

A simple Black model of the troposphere. temp is in Kelvin.

Definition at line 48 of file SimpleTropModel.hpp.

#include <SimpleTropModel.hpp>

Inheritance diagram for gnsstk::SimpleTropModel:
Inheritance graph
[legend]

Public Member Functions

virtual double dry_mapping_function (double elevation) const
 
virtual double dry_zenith_delay () const
 
virtual std::string name ()
 Return the name of the model. More...
 
virtual void setWeather (const double &T, const double &P, const double &H)
 
virtual void setWeather (const WxObservation &wx)
 
 SimpleTropModel ()
 Empty constructor. More...
 
 SimpleTropModel (const double &T, const double &P, const double &H)
 
 SimpleTropModel (const WxObservation &wx)
 
virtual double wet_mapping_function (double elevation) const
 
virtual double wet_zenith_delay () const
 
- Public Member Functions inherited from gnsstk::TropModel
virtual double correction (const Position &RX, const Position &SV, const CommonTime &tt)
 
virtual double correction (const Xvt &RX, const Xvt &SV, const CommonTime &tt)
 
virtual double correction (double elevation) const
 
bool isValid ()
 Return validity of model. More...
 
double SaasDryDelay (const double pr, const double lat, const double ht) const
 
virtual void setDayOfYear (const int &d)
 
virtual void setReceiverHeight (const double &ht)
 
virtual void setReceiverLatitude (const double &lat)
 
virtual void setReceiverLongitude (const double &lon)
 
virtual ~TropModel ()
 Destructor. More...
 

Private Attributes

double Cdrydelay
 computed dry delay More...
 
double Cdrymap
 computed dry map function More...
 
double Cwetdelay
 computed wet delay More...
 
double Cwetmap
 computed wet map function More...
 

Additional Inherited Members

- Static Public Member Functions inherited from gnsstk::TropModel
static void weatherByStandardAtmosphereModel (const double &ht, double &T, double &P, double &H)
 
- Static Public Attributes inherited from gnsstk::TropModel
static const GNSSTK_EXPORT double CELSIUS_TO_KELVIN = 273.15
 
- Protected Attributes inherited from gnsstk::TropModel
double humid
 latest value of relative humidity (percent) More...
 
double press
 latest value of pressure (millibars) More...
 
double temp
 latest value of temperature (kelvin or celsius) More...
 
bool valid
 true only if current model parameters are valid More...
 

Constructor & Destructor Documentation

◆ SimpleTropModel() [1/3]

gnsstk::SimpleTropModel::SimpleTropModel ( )

Empty constructor.

Definition at line 44 of file SimpleTropModel.cpp.

◆ SimpleTropModel() [2/3]

gnsstk::SimpleTropModel::SimpleTropModel ( const WxObservation wx)

Creates a trop model, with weather observation input

Parameters
wxthe weather to use for this correction.
Exceptions
InvalidParameter

Definition at line 55 of file SimpleTropModel.cpp.

◆ SimpleTropModel() [3/3]

gnsstk::SimpleTropModel::SimpleTropModel ( const double &  T,
const double &  P,
const double &  H 
)

Create a tropospheric model from explicit weather data

Parameters
Ttemperature in degrees Celsius
Patmospheric pressure in millibars
Hrelative humidity in percent
Exceptions
InvalidParameter

Definition at line 62 of file SimpleTropModel.cpp.

Member Function Documentation

◆ dry_mapping_function()

double gnsstk::SimpleTropModel::dry_mapping_function ( double  elevation) const
virtual

Compute and return the mapping function for hydrostatic (dry) component of the troposphere, in meters.

Parameters
elevationElevation of satellite as seen at receiver, in degrees
Exceptions
InvalidTropModel

Implements gnsstk::TropModel.

Definition at line 106 of file SimpleTropModel.cpp.

◆ dry_zenith_delay()

double gnsstk::SimpleTropModel::dry_zenith_delay ( ) const
virtual

Compute and return the zenith delay for hydrostatic (dry) component of the troposphere, in meters.

Exceptions
InvalidTropModel

Implements gnsstk::TropModel.

Definition at line 92 of file SimpleTropModel.cpp.

◆ name()

virtual std::string gnsstk::SimpleTropModel::name ( )
inlinevirtual

Return the name of the model.

Reimplemented from gnsstk::TropModel.

Definition at line 71 of file SimpleTropModel.hpp.

◆ setWeather() [1/2]

void gnsstk::SimpleTropModel::setWeather ( const double &  T,
const double &  P,
const double &  H 
)
virtual

Re-define the tropospheric model with explicit weather data. Typically called just before correction().

Parameters
Ttemperature in degrees Celsius
Patmospheric pressure in millibars
Hrelative humidity in percent
Exceptions
InvalidParameter

Reimplemented from gnsstk::TropModel.

Definition at line 71 of file SimpleTropModel.cpp.

◆ setWeather() [2/2]

void gnsstk::SimpleTropModel::setWeather ( const WxObservation wx)
virtual

Re-define the tropospheric model with explicit weather data. Typically called just before correction().

Parameters
wxthe weather to use for this correction
Exceptions
InvalidParameter

Reimplemented from gnsstk::TropModel.

Definition at line 86 of file SimpleTropModel.cpp.

◆ wet_mapping_function()

double gnsstk::SimpleTropModel::wet_mapping_function ( double  elevation) const
virtual

Compute and return the mapping function for wet component of the troposphere, in meters.

Parameters
elevationElevation of satellite as seen at receiver, in degrees
Exceptions
InvalidTropModel

Implements gnsstk::TropModel.

Definition at line 118 of file SimpleTropModel.cpp.

◆ wet_zenith_delay()

double gnsstk::SimpleTropModel::wet_zenith_delay ( ) const
virtual

Compute and return the zenith delay for wet component of the troposphere, in meters.

Exceptions
InvalidTropModel

Implements gnsstk::TropModel.

Definition at line 99 of file SimpleTropModel.cpp.

Member Data Documentation

◆ Cdrydelay

double gnsstk::SimpleTropModel::Cdrydelay
private

computed dry delay

Definition at line 95 of file SimpleTropModel.hpp.

◆ Cdrymap

double gnsstk::SimpleTropModel::Cdrymap
private

computed dry map function

Definition at line 97 of file SimpleTropModel.hpp.

◆ Cwetdelay

double gnsstk::SimpleTropModel::Cwetdelay
private

computed wet delay

Definition at line 96 of file SimpleTropModel.hpp.

◆ Cwetmap

double gnsstk::SimpleTropModel::Cwetmap
private

computed wet map function

Definition at line 98 of file SimpleTropModel.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:46