Ginan
Loading...
Searching...
No Matches
tropGPT2.cpp File Reference

Data Structures

struct  GPTVals
 
struct  GptGrid
 gpt grid file contents More...
 

Functions

int sign (double x)
 
void vmf1 (const double ah, const double aw, double mjd, double lat, double hgt, double elev, double &dryMap, double &wetMap)
 vienna mapping function.
 
void readgrid (string filepath)
 read GPT grid file
 
double coef (const array< double, 5 > &a, double cosfy, double sinfy, double coshy, double sinhy)
 coefficients multiplication
 
double coefr (double p1, double p2, double l1, double l2, double a[4])
 
GPTVals gpt2 (const vector< GptGrid > &gptg, double mjd, double lat, double lon, double hell)
 global pressure and temperature
 
double tropGPT2 (Trace &trace, GTime time, VectorPos &pos, double el, double &dryZTD, double &dryMap, double &wetZTD, double &wetMap, double &var)
 Troposphere zenith hydrastatic delay and mapping function.
 

Function Documentation

◆ coef()

double coef ( const array< double, 5 > & a,
double cosfy,
double sinfy,
double coshy,
double sinhy )

coefficients multiplication

Here is the caller graph for this function:

◆ coefr()

double coefr ( double p1,
double p2,
double l1,
double l2,
double a[4] )
Here is the caller graph for this function:

◆ gpt2()

GPTVals gpt2 ( const vector< GptGrid > & gptg,
double mjd,
double lat,
double lon,
double hell )

global pressure and temperature

Parameters
gptggpt grid information
mjdmodified julian date
latellipsoidal lat (rad)
lonellipsoidal lon (rad)
hellellipsoidal height (m)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readgrid()

void readgrid ( string filepath)

read GPT grid file

Parameters
filepathvmf1 coefficients filename
Here is the caller graph for this function:

◆ sign()

int sign ( double x)
Here is the caller graph for this function:

◆ tropGPT2()

double tropGPT2 ( Trace & trace,
GTime time,
VectorPos & pos,
double el,
double & dryZTD,
double & dryMap,
double & wetZTD,
double & wetMap,
double & var )

Troposphere zenith hydrastatic delay and mapping function.

gpt2 is used to get pressure, temperature, water vapor pressure and mapping function coefficients and then vmf1 is used to derive dry and wet mapping function.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vmf1()

void vmf1 ( const double ah,
const double aw,
double mjd,
double lat,
double hgt,
double elev,
double & dryMap,
double & wetMap )

vienna mapping function.

coefficients coming from either GPT2 or from vmf file

Parameters
ahvmf1 dry coefficients
awvmf1 wet coefficients
mjdmodified julian date
latellipsoidal lat (rad)
hgtheight (m)
elevzenith distance (rad)
Here is the call graph for this function:
Here is the caller graph for this function: