0.2.0
Loading...
Searching...
No Matches
Troposphere.hpp File Reference

Troposphere Models. More...

Go to the source code of this file.

Classes

struct  NAV::AtmosphereModels
 Atmospheric model selection for temperature, pressure and water vapor. More...
 
struct  NAV::TroposphereModelSelection
 Collection of troposphere model selections. More...
 

Enumerations

enum class  NAV::MappingFunction : int {
  None ,
  Cosecant ,
  GMF ,
  VMF_GPT2 ,
  VMF_GPT3 ,
  COUNT
}
 Available Mapping Functions. More...
 
enum class  NAV::TroposphereModel : int {
  None ,
  Saastamoinen ,
  GPT2 ,
  GPT3 ,
  COUNT
}
 Available Troposphere delay models. More...
 

Functions

ZenithDelay NAV::calcTroposphericDelayAndMapping (const InsTime &insTime, const Eigen::Vector3d &lla_pos, double elevation, double azimuth, const TroposphereModelSelection &troposphereModels)
 Calculates the tropospheric zenith hydrostatic and wet delays and corresponding mapping factors.
 
bool NAV::ComboTroposphereModel (const char *label, TroposphereModelSelection &troposphereModelSelection, float width=0.0F)
 Shows a ComboBox and button for advanced configuration to select the troposphere models.
 
void NAV::from_json (const json &j, AtmosphereModels &obj)
 Converts the provided json object into a node object.
 
void NAV::from_json (const json &j, TroposphereModelSelection &obj)
 Converts the provided json object into a node object.
 
void NAV::to_json (json &j, const AtmosphereModels &obj)
 Converts the provided object into json.
 
void NAV::to_json (json &j, const TroposphereModelSelection &obj)
 Converts the provided object into json.
 
const char * NAV::to_string (MappingFunction mappingFunction)
 Converts the enum to a string.
 
const char * NAV::to_string (TroposphereModel troposphereZhdModel)
 Converts the enum to a string.
 
double NAV::tropoErrorVar (double dpsr_T, double elevation)
 Calculates the tropospheric error variance.
 

Detailed Description

Enumeration Type Documentation

◆ MappingFunction

enum class NAV::MappingFunction : int
strong

Available Mapping Functions.

Enumerator
None 

Mapping Function turned off (= 1)

Cosecant 

Cosecant of elevation.

GMF 

Global Mapping Function (GMF)

VMF_GPT2 

Vienna Mapping Function based on the GPT2 grid.

VMF_GPT3 

Vienna Mapping Function based on the GPT3 grid.

COUNT 

Amount of items in the enum.

◆ TroposphereModel

enum class NAV::TroposphereModel : int
strong

Available Troposphere delay models.

Enumerator
None 

Troposphere Model turned off.

Saastamoinen 

Saastamoinen model.

GPT2 

GPT2.

GPT3 

GPT3.

COUNT 

Amount of items in the enum.

Function Documentation

◆ calcTroposphericDelayAndMapping()

ZenithDelay NAV::calcTroposphericDelayAndMapping ( const InsTime & insTime,
const Eigen::Vector3d & lla_pos,
double elevation,
double azimuth,
const TroposphereModelSelection & troposphereModels )

Calculates the tropospheric zenith hydrostatic and wet delays and corresponding mapping factors.

Parameters
[in]insTimeTime to calculate the values for
[in]lla_pos[𝜙, λ, h]^T Geodetic latitude, longitude and height in [rad, rad, m]
[in]elevationSatellite elevation [rad]
[in]azimuthSatellite azimuth [rad]
[in]troposphereModelsModels to use for each calculation
Returns
ZHD, ZWD and mapping factors for ZHD and ZWD

◆ ComboTroposphereModel()

bool NAV::ComboTroposphereModel ( const char * label,
TroposphereModelSelection & troposphereModelSelection,
float width = 0.0F )

Shows a ComboBox and button for advanced configuration to select the troposphere models.

Parameters
[in]labelLabel to show beside the combo box. This has to be a unique id for ImGui.
[in]troposphereModelSelectionReference to the troposphere model to select
[in]widthWidth of the widget

◆ from_json() [1/2]

void NAV::from_json ( const json & j,
AtmosphereModels & obj )

Converts the provided json object into a node object.

Parameters
[in]jJson object with the needed values
[out]objObject to fill from the json

◆ from_json() [2/2]

void NAV::from_json ( const json & j,
TroposphereModelSelection & obj )

Converts the provided json object into a node object.

Parameters
[in]jJson object with the needed values
[out]objObject to fill from the json

◆ to_json() [1/2]

void NAV::to_json ( json & j,
const AtmosphereModels & obj )

Converts the provided object into json.

Parameters
[out]jJson object which gets filled with the info
[in]objObject to convert into json

◆ to_json() [2/2]

void NAV::to_json ( json & j,
const TroposphereModelSelection & obj )

Converts the provided object into json.

Parameters
[out]jJson object which gets filled with the info
[in]objObject to convert into json

◆ to_string() [1/2]

const char * NAV::to_string ( MappingFunction mappingFunction)

Converts the enum to a string.

Parameters
[in]mappingFunctionEnum value to convert into text
Returns
String representation of the enum

◆ to_string() [2/2]

const char * NAV::to_string ( TroposphereModel troposphereZhdModel)

Converts the enum to a string.

Parameters
[in]troposphereZhdModelEnum value to convert into text
Returns
String representation of the enum

◆ tropoErrorVar()

double NAV::tropoErrorVar ( double dpsr_T,
double elevation )

Calculates the tropospheric error variance.

Parameters
[in]dpsr_TTropospheric propagation error [m]
[in]elevationSatellite elevation in [rad]
Returns
Variance of the error [m^2]