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

Functions

string code2str (E_ObsCode code, E_MeasType measType)
 Convert enum observation code to code string.
 
string biasType (E_ObsCode code1, E_ObsCode code2)
 Determine if the bias is an OSB or DSB given observation codes.
 
void updateFirstLine (GTime time, E_TimeSys tsys, Trace &trace, int numbias)
 Update bias SINEX first line.
 
void writeBSINEXHeader (GTime time, E_TimeSys tsys, Trace &trace, double updateInterval)
 Write bias SINEX head for the first time.
 
int writeBSINEXLine (GTime time, E_TimeSys tsys, BiasEntry &bias, Trace &trace)
 print bias SINEX data line
 
int addBiasEntry (Trace &trace, GTime tini, GTime tfin, KFKey kfKey, E_MeasType measType, double bias, double var)
 Adding/updating new bias entry.
 
void updateBiasOutput (Trace &trace, GTime time, KFState &kfState, KFState &ionState, ReceiverMap &receiverMap, E_MeasType measType)
 Store bias output to write into bias SINEX files.
 
void writeBiasSinex (Trace &trace, GTime time, KFState &kfState, KFState &ionState, string biasfile, ReceiverMap &receiverMap)
 Write stored bias output to SINEX file Return number of written biases (-1 if file not found)
 
bool queryBiasOutput (Trace &trace, GTime time, KFState &kfState, KFState &ionState, SatSys Sat, string Rec, E_ObsCode obsCode, double &bias, double &variance, E_MeasType type)
 Find and combine biases from multiple sources: bias inputs, UC biases and DCB from ionosphere modules.
 

Function Documentation

◆ addBiasEntry()

int addBiasEntry ( Trace & trace,
GTime tini,
GTime tfin,
KFKey kfKey,
E_MeasType measType,
double bias,
double var )

Adding/updating new bias entry.

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

◆ biasType()

string biasType ( E_ObsCode code1,
E_ObsCode code2 )

Determine if the bias is an OSB or DSB given observation codes.

Parameters
code1Base code of observation for the bias
code2Secondary code of observation for the bias
Here is the caller graph for this function:

◆ code2str()

string code2str ( E_ObsCode code,
E_MeasType measType )

Convert enum observation code to code string.

Parameters
codeThe input enum observation code
measTypeMeasurement type of this observation - CODE/PHAS
Here is the caller graph for this function:

◆ queryBiasOutput()

bool queryBiasOutput ( Trace & trace,
GTime time,
KFState & kfState,
KFState & ionState,
SatSys Sat,
string Rec,
E_ObsCode obsCode,
double & bias,
double & variance,
E_MeasType type )

Find and combine biases from multiple sources: bias inputs, UC biases and DCB from ionosphere modules.

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

◆ updateBiasOutput()

void updateBiasOutput ( Trace & trace,
GTime time,
KFState & kfState,
KFState & ionState,
ReceiverMap & receiverMap,
E_MeasType measType )

Store bias output to write into bias SINEX files.

Parameters
traceTrace to output to
timeTime of bias update
kfStateFilter state to take biases from
ionStateFilter state to take biases from
receiverMapstations for which to output receiver biases
measTypeType of measurement to find bias for
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateFirstLine()

void updateFirstLine ( GTime time,
E_TimeSys tsys,
Trace & trace,
int numbias )

Update bias SINEX first line.

Parameters
timeTime of bias to write
tsysTime system
traceTrace to output to
numbiasNumber of biases to be written
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeBiasSinex()

void writeBiasSinex ( Trace & trace,
GTime time,
KFState & kfState,
KFState & ionState,
string biasfile,
ReceiverMap & receiverMap )

Write stored bias output to SINEX file Return number of written biases (-1 if file not found)

Parameters
traceTrace to output to
timeTime of bias to write
kfStateFilter state to take biases from
ionStateFilter state to take biases from
biasfileFile to write
receiverMapstations for which to output receiver biases
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeBSINEXHeader()

void writeBSINEXHeader ( GTime time,
E_TimeSys tsys,
Trace & trace,
double updateInterval )

Write bias SINEX head for the first time.

Parameters
timeTime of bias to write
tsysTime system
traceTrace to output to
updateIntervalBias Update Interval (seconds)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeBSINEXLine()

int writeBSINEXLine ( GTime time,
E_TimeSys tsys,
BiasEntry & bias,
Trace & trace )

print bias SINEX data line

Parameters
timeTime of bias to write
tsysTime system
biasBias entry to write
traceStream to output to
Here is the call graph for this function:
Here is the caller graph for this function: