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

Functions

FileType SNX__ ()
 
void nearestYear (double &year)
 
string trim (const string &ref)
 Trims leading & trailing whitespace.
 
void trimCut (string &line)
 Cuts string after first space, deletes trailing carriage return.
 
bool compare (string &one, string &two)
 
bool compare (SinexInputFile &one, SinexInputFile &two)
 
bool compare (SinexSolStatistic &one, SinexSolStatistic &two)
 
bool compare (SinexSatPc &one, SinexSatPc &two)
 
bool compare (SinexSatEcc &one, SinexSatEcc &two)
 
bool compare (SinexSatMass &one, SinexSatMass &two)
 
bool compare (SinexSatFreqChn &one, SinexSatFreqChn &two)
 
bool compare (SinexSatId &one, SinexSatId &two)
 
bool compare (SinexPreCode &one, SinexPreCode &two)
 
bool compare (SinexSourceId &one, SinexSourceId &two)
 
bool compare (SinexNutCode &one, SinexNutCode &two)
 
bool compare (SinexSatPrn &one, SinexSatPrn &two)
 
bool compare (SinexSatPower &one, SinexSatPower &two)
 
bool compare (SinexSatCom &one, SinexSatCom &two)
 
bool compare (SinexAck &one, SinexAck &two)
 
bool compare (SinexInputHistory &one, SinexInputHistory &two)
 
bool compare (SinexSiteId &one, SinexSiteId &two)
 
bool compare (SinexSiteData &one, SinexSiteData &two)
 
bool compare (SinexReceiver &one, SinexReceiver &two)
 
bool compare (SinexAntenna &one, SinexAntenna &two)
 
bool compare (SinexGpsPhaseCenter &one, SinexGpsPhaseCenter &two)
 
bool compare (SinexGalPhaseCenter &one, SinexGalPhaseCenter &two)
 
bool compare (SinexSiteEcc &one, SinexSiteEcc &two)
 
bool compare (SinexSolEpoch &one, SinexSolEpoch &two)
 
bool compare (SinexSolEstimate &one, SinexSolEstimate &two)
 
bool compare (SinexSolApriori &one, SinexSolApriori &two)
 
bool compare (SinexSolNeq &one, SinexSolNeq &two)
 
bool compare (SinexSolMatrix &one, SinexSolMatrix &two)
 
template<typename TYPE >
void dedupe (list< TYPE > &source)
 
template<typename TYPE >
void dedupeB (list< TYPE > &source)
 
void dedupeSinex ()
 
bool readSnxHeader (std::ifstream &in)
 
void updateSinexHeader (string &create_agc, string &data_agc, UYds soln_start, UYds soln_end, const char obsCode, const char constCode, string &contents, int numParam, double sinexVer)
 
void writeSnxHeader (std::ofstream &out)
 
void parseReference (string &line)
 
void writeAsComments (Trace &out, list< string > &comments)
 
void commentsOverride ()
 
void writeSnxReference (ofstream &out)
 
void writeSnxComments (ofstream &out)
 
void parseInputHistory (string &line)
 
void writeSnxInputHistory (ofstream &out)
 
void parseInputFiles (string &line)
 
void writeSnxInputFiles (ofstream &out)
 
void parseAcknowledgements (string &line)
 
void writeSnxAcknowledgements (ofstream &out)
 
void parseSiteIds (string &line)
 
void writeSnxSiteids (ofstream &out)
 
bool compareSiteData (const SinexSiteData &left, const SinexSiteData &right)
 
void parseSiteData (string &line)
 
void writeSnxSitedata (ofstream &out, list< SinexRecData > *pstns)
 
void parseReceivers (string &line)
 
void writeSnxReceivers (ofstream &out)
 
void parseAntennas (string &line)
 
void writeSnxAntennas (ofstream &out)
 
bool compareGpsPc (SinexGpsPhaseCenter &left, SinexGpsPhaseCenter &right)
 
void parseGpsPhaseCenters (string &line)
 
void truncateSomething (char *buf)
 
void writeSnxGpsPcs (ofstream &out, list< SinexRecData > *pstns)
 
bool compareGalPc (SinexGalPhaseCenter &left, SinexGalPhaseCenter &right)
 
void parseGalPhaseCenters (string &s_x)
 
void writeSnxGalPcs (ofstream &out, list< SinexRecData > *pstns)
 
void parseSiteEccentricity (string &line)
 
void writeSnxSiteEccs (ofstream &out)
 
bool compareSiteEpochs (SinexSolEpoch &left, SinexSolEpoch &right)
 
void parseEpochs (string &line)
 
void writeSnxEpochs (Trace &out)
 
void parseStatistics (string &line)
 
void writeSnxStatistics (ofstream &out)
 
void parseSolutionEstimates (string &line)
 
void writeSnxEstimatesFromFilter (ofstream &out, KFState &kfState)
 
void parseApriori (string &line)
 
void writeSnxApriori (ofstream &out, list< SinexRecData > *pstns=nullptr)
 
void writeSnxAprioriFromReceivers (ofstream &out, map< string, Receiver > &receiverMap)
 
void parseNormals (string &line)
 
void writeSnxNormal (ofstream &out, list< SinexRecData > *pstns=nullptr)
 
void parseMatrix (string &line)
 
void parseSinexEstimates (string &line)
 
void parseSinexEstimateMatrix (string &line)
 
void writeSnxMatricesFromFilter (ofstream &out, KFState &kfState)
 
void parseDataHandling (string &line)
 
void parsePrecode (string &line)
 
void writeSnxPreCodes (ofstream &out)
 
void parseNutcode (string &line)
 
void writeSnxNutCodes (ofstream &out)
 
void parseSourceIds (string &line)
 
void writeSnxSourceIds (ofstream &out)
 
bool compareSatIds (SinexSatId &left, SinexSatId &right)
 
void parseSatelliteIds (string &line)
 
void writeSnxSatIds (ofstream &out)
 
void parseSatelliteIdentifiers (string &line)
 
void writeSnxSatIdents (ofstream &out)
 
bool compareSatPrns (SinexSatPrn &left, SinexSatPrn &right)
 
void parseSatPrns (string &line)
 
void writeSnxSatPrns (ofstream &out)
 
bool compareFreqChannels (SinexSatFreqChn &left, SinexSatFreqChn &right)
 
void parseSatFreqChannels (string &line)
 
void writeSnxSatFreqChn (ofstream &out)
 
void parseSatelliteMass (string &line)
 
void writESnxSatMass (ofstream &out)
 
bool compareSatCom (SinexSatCom &left, SinexSatCom &right)
 
void parseSatelliteComs (string &line)
 
void writeSnxSatCom (ofstream &out)
 
bool compareSatEcc (SinexSatEcc &left, SinexSatEcc &right)
 
void parseSatelliteEccentricities (string &line)
 
void writeSnxSatEcc (ofstream &out)
 
void parseSatellitePowers (string &line)
 
void writeSnxSatPower (ofstream &out)
 
bool compareSatPc (SinexSatPc &left, SinexSatPc &right)
 
void parseSatellitePhaseCenters (string &line)
 
void writeSnxSatPc (ofstream &out)
 
void parseSinexSatYawRates (string &line)
 
void parseSinexSatAttMode (string &line)
 
void nullFunction (string &line)
 
bool readSinex (const string &filepath)
 
void writeSinex (string filepath, KFState &kfState, map< string, Receiver > &receiverMap)
 
void sinexAddStatistic (const string &what, const int val)
 
void sinexAddStatistic (const string &what, const double val)
 
int sinexCheckAddGaReference (string solType, string peaVer, bool isTrop)
 
void sinexAddComment (const string what)
 
void sinexAddFiles (const string &who, const GTime &time, const vector< string > &filenames, const string &description)
 
void setRestrictiveEndTime (UYds &current, UYds &potential)
 
GetSnxResult getRecSnx (string id, GTime time, SinexRecData &recSnx)
 
GetSnxResult getSatSnx (string prn, GTime time, SinexSatSnx &satSnx)
 
void getSlrRecBias (string id, string prn, GTime time, map< char, double > &recBias)
 
bool getSnxSatMaxYawRate (string svn, GTime &time, double &maxYawRate)
 Get yaw rate sinex entry for sat.
 
bool getSnxSatAttMode (string svn, GTime &time, string &attMode)
 Get attitude mode for sat.
 

Function Documentation

◆ commentsOverride()

void commentsOverride ( )
Here is the caller graph for this function:

◆ compare() [1/28]

bool compare ( SinexAck & one,
SinexAck & two )

◆ compare() [2/28]

bool compare ( SinexAntenna & one,
SinexAntenna & two )

◆ compare() [3/28]

bool compare ( SinexGalPhaseCenter & one,
SinexGalPhaseCenter & two )

◆ compare() [4/28]

bool compare ( SinexGpsPhaseCenter & one,
SinexGpsPhaseCenter & two )

◆ compare() [5/28]

bool compare ( SinexInputFile & one,
SinexInputFile & two )

◆ compare() [6/28]

bool compare ( SinexInputHistory & one,
SinexInputHistory & two )

◆ compare() [7/28]

bool compare ( SinexNutCode & one,
SinexNutCode & two )

◆ compare() [8/28]

bool compare ( SinexPreCode & one,
SinexPreCode & two )

◆ compare() [9/28]

bool compare ( SinexReceiver & one,
SinexReceiver & two )

◆ compare() [10/28]

bool compare ( SinexSatCom & one,
SinexSatCom & two )

◆ compare() [11/28]

bool compare ( SinexSatEcc & one,
SinexSatEcc & two )

◆ compare() [12/28]

bool compare ( SinexSatFreqChn & one,
SinexSatFreqChn & two )

◆ compare() [13/28]

bool compare ( SinexSatId & one,
SinexSatId & two )

◆ compare() [14/28]

bool compare ( SinexSatMass & one,
SinexSatMass & two )

◆ compare() [15/28]

bool compare ( SinexSatPc & one,
SinexSatPc & two )

◆ compare() [16/28]

bool compare ( SinexSatPower & one,
SinexSatPower & two )

◆ compare() [17/28]

bool compare ( SinexSatPrn & one,
SinexSatPrn & two )

◆ compare() [18/28]

bool compare ( SinexSiteData & one,
SinexSiteData & two )
Here is the call graph for this function:

◆ compare() [19/28]

bool compare ( SinexSiteEcc & one,
SinexSiteEcc & two )

◆ compare() [20/28]

bool compare ( SinexSiteId & one,
SinexSiteId & two )

◆ compare() [21/28]

bool compare ( SinexSolApriori & one,
SinexSolApriori & two )

◆ compare() [22/28]

bool compare ( SinexSolEpoch & one,
SinexSolEpoch & two )

◆ compare() [23/28]

bool compare ( SinexSolEstimate & one,
SinexSolEstimate & two )

◆ compare() [24/28]

bool compare ( SinexSolMatrix & one,
SinexSolMatrix & two )

◆ compare() [25/28]

bool compare ( SinexSolNeq & one,
SinexSolNeq & two )

◆ compare() [26/28]

bool compare ( SinexSolStatistic & one,
SinexSolStatistic & two )

◆ compare() [27/28]

bool compare ( SinexSourceId & one,
SinexSourceId & two )

◆ compare() [28/28]

bool compare ( string & one,
string & two )
Here is the caller graph for this function:

◆ compareFreqChannels()

bool compareFreqChannels ( SinexSatFreqChn & left,
SinexSatFreqChn & right )
Here is the caller graph for this function:

◆ compareGalPc()

bool compareGalPc ( SinexGalPhaseCenter & left,
SinexGalPhaseCenter & right )
Here is the caller graph for this function:

◆ compareGpsPc()

bool compareGpsPc ( SinexGpsPhaseCenter & left,
SinexGpsPhaseCenter & right )
Here is the caller graph for this function:

◆ compareSatCom()

bool compareSatCom ( SinexSatCom & left,
SinexSatCom & right )
Here is the caller graph for this function:

◆ compareSatEcc()

bool compareSatEcc ( SinexSatEcc & left,
SinexSatEcc & right )
Here is the caller graph for this function:

◆ compareSatIds()

bool compareSatIds ( SinexSatId & left,
SinexSatId & right )
Here is the caller graph for this function:

◆ compareSatPc()

bool compareSatPc ( SinexSatPc & left,
SinexSatPc & right )
Here is the caller graph for this function:

◆ compareSatPrns()

bool compareSatPrns ( SinexSatPrn & left,
SinexSatPrn & right )
Here is the caller graph for this function:

◆ compareSiteData()

bool compareSiteData ( const SinexSiteData & left,
const SinexSiteData & right )
Here is the caller graph for this function:

◆ compareSiteEpochs()

bool compareSiteEpochs ( SinexSolEpoch & left,
SinexSolEpoch & right )

◆ dedupe()

template<typename TYPE >
void dedupe ( list< TYPE > & source)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dedupeB()

template<typename TYPE >
void dedupeB ( list< TYPE > & source)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dedupeSinex()

void dedupeSinex ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRecSnx()

GetSnxResult getRecSnx ( string id,
GTime time,
SinexRecData & recSnx )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSatSnx()

GetSnxResult getSatSnx ( string prn,
GTime time,
SinexSatSnx & satSnx )
Here is the caller graph for this function:

◆ getSlrRecBias()

void getSlrRecBias ( string id,
string prn,
GTime time,
map< char, double > & recBias )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSnxSatAttMode()

bool getSnxSatAttMode ( string svn,
GTime & time,
string & attMode )

Get attitude mode for sat.

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

◆ getSnxSatMaxYawRate()

bool getSnxSatMaxYawRate ( string svn,
GTime & time,
double & maxYawRate )

Get yaw rate sinex entry for sat.

Here is the caller graph for this function:

◆ nearestYear()

void nearestYear ( double & year)
Here is the caller graph for this function:

◆ nullFunction()

void nullFunction ( string & line)
Here is the caller graph for this function:

◆ parseAcknowledgements()

void parseAcknowledgements ( string & line)
Here is the caller graph for this function:

◆ parseAntennas()

void parseAntennas ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseApriori()

void parseApriori ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseDataHandling()

void parseDataHandling ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseEpochs()

void parseEpochs ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseGalPhaseCenters()

void parseGalPhaseCenters ( string & s_x)
Here is the caller graph for this function:

◆ parseGpsPhaseCenters()

void parseGpsPhaseCenters ( string & line)
Here is the caller graph for this function:

◆ parseInputFiles()

void parseInputFiles ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseInputHistory()

void parseInputHistory ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseMatrix()

void parseMatrix ( string & line)
Here is the caller graph for this function:

◆ parseNormals()

void parseNormals ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseNutcode()

void parseNutcode ( string & line)
Here is the caller graph for this function:

◆ parsePrecode()

void parsePrecode ( string & line)
Here is the caller graph for this function:

◆ parseReceivers()

void parseReceivers ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseReference()

void parseReference ( string & line)
Here is the caller graph for this function:

◆ parseSatelliteComs()

void parseSatelliteComs ( string & line)
Here is the caller graph for this function:

◆ parseSatelliteEccentricities()

void parseSatelliteEccentricities ( string & line)
Here is the caller graph for this function:

◆ parseSatelliteIdentifiers()

void parseSatelliteIdentifiers ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseSatelliteIds()

void parseSatelliteIds ( string & line)
Here is the caller graph for this function:

◆ parseSatelliteMass()

void parseSatelliteMass ( string & line)
Here is the caller graph for this function:

◆ parseSatellitePhaseCenters()

void parseSatellitePhaseCenters ( string & line)
Here is the caller graph for this function:

◆ parseSatellitePowers()

void parseSatellitePowers ( string & line)
Here is the caller graph for this function:

◆ parseSatFreqChannels()

void parseSatFreqChannels ( string & line)
Here is the caller graph for this function:

◆ parseSatPrns()

void parseSatPrns ( string & line)
Here is the caller graph for this function:

◆ parseSinexEstimateMatrix()

void parseSinexEstimateMatrix ( string & line)

◆ parseSinexEstimates()

void parseSinexEstimates ( string & line)

◆ parseSinexSatAttMode()

void parseSinexSatAttMode ( string & line)
Here is the caller graph for this function:

◆ parseSinexSatYawRates()

void parseSinexSatYawRates ( string & line)
Here is the caller graph for this function:

◆ parseSiteData()

void parseSiteData ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseSiteEccentricity()

void parseSiteEccentricity ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseSiteIds()

void parseSiteIds ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseSolutionEstimates()

void parseSolutionEstimates ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseSourceIds()

void parseSourceIds ( string & line)
Here is the caller graph for this function:

◆ parseStatistics()

void parseStatistics ( string & line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readSinex()

bool readSinex ( const string & filepath)
Here is the caller graph for this function:

◆ readSnxHeader()

bool readSnxHeader ( std::ifstream & in)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRestrictiveEndTime()

void setRestrictiveEndTime ( UYds & current,
UYds & potential )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sinexAddComment()

void sinexAddComment ( const string what)
Here is the caller graph for this function:

◆ sinexAddFiles()

void sinexAddFiles ( const string & who,
const GTime & time,
const vector< string > & filenames,
const string & description )
Here is the caller graph for this function:

◆ sinexAddStatistic() [1/2]

void sinexAddStatistic ( const string & what,
const double val )

◆ sinexAddStatistic() [2/2]

void sinexAddStatistic ( const string & what,
const int val )
Here is the caller graph for this function:

◆ sinexCheckAddGaReference()

int sinexCheckAddGaReference ( string solType,
string peaVer,
bool isTrop )
Here is the caller graph for this function:

◆ SNX__()

FileType SNX__ ( )
Here is the caller graph for this function:

◆ trim()

string trim ( const string & ref)

Trims leading & trailing whitespace.

Parameters
refstring to trim
Here is the caller graph for this function:

◆ trimCut()

void trimCut ( string & line)

Cuts string after first space, deletes trailing carriage return.

Parameters
linestring to trim
Here is the caller graph for this function:

◆ truncateSomething()

void truncateSomething ( char * buf)
Here is the caller graph for this function:

◆ updateSinexHeader()

void updateSinexHeader ( string & create_agc,
string & data_agc,
UYds soln_start,
UYds soln_end,
const char obsCode,
const char constCode,
string & contents,
int numParam,
double sinexVer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeAsComments()

void writeAsComments ( Trace & out,
list< string > & comments )
Here is the caller graph for this function:

◆ writeSinex()

void writeSinex ( string filepath,
KFState & kfState,
map< string, Receiver > & receiverMap )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxAcknowledgements()

void writeSnxAcknowledgements ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxAntennas()

void writeSnxAntennas ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxApriori()

void writeSnxApriori ( ofstream & out,
list< SinexRecData > * pstns = nullptr )
Here is the call graph for this function:

◆ writeSnxAprioriFromReceivers()

void writeSnxAprioriFromReceivers ( ofstream & out,
map< string, Receiver > & receiverMap )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxComments()

void writeSnxComments ( ofstream & out)
Here is the caller graph for this function:

◆ writeSnxEpochs()

void writeSnxEpochs ( Trace & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxEstimatesFromFilter()

void writeSnxEstimatesFromFilter ( ofstream & out,
KFState & kfState )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxGalPcs()

void writeSnxGalPcs ( ofstream & out,
list< SinexRecData > * pstns )
Here is the call graph for this function:

◆ writeSnxGpsPcs()

void writeSnxGpsPcs ( ofstream & out,
list< SinexRecData > * pstns )
Here is the call graph for this function:

◆ writeSnxHeader()

void writeSnxHeader ( std::ofstream & out)
Here is the caller graph for this function:

◆ writeSnxInputFiles()

void writeSnxInputFiles ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxInputHistory()

void writeSnxInputHistory ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxMatricesFromFilter()

void writeSnxMatricesFromFilter ( ofstream & out,
KFState & kfState )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxNormal()

void writeSnxNormal ( ofstream & out,
list< SinexRecData > * pstns = nullptr )
Here is the call graph for this function:

◆ writeSnxNutCodes()

void writeSnxNutCodes ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxPreCodes()

void writeSnxPreCodes ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxReceivers()

void writeSnxReceivers ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxReference()

void writeSnxReference ( ofstream & out)
Here is the caller graph for this function:

◆ writeSnxSatCom()

void writeSnxSatCom ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatEcc()

void writeSnxSatEcc ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatFreqChn()

void writeSnxSatFreqChn ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatIdents()

void writeSnxSatIdents ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatIds()

void writeSnxSatIds ( ofstream & out)
Here is the call graph for this function:

◆ writESnxSatMass()

void writESnxSatMass ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatPc()

void writeSnxSatPc ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatPower()

void writeSnxSatPower ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSatPrns()

void writeSnxSatPrns ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxSitedata()

void writeSnxSitedata ( ofstream & out,
list< SinexRecData > * pstns )
Here is the call graph for this function:

◆ writeSnxSiteEccs()

void writeSnxSiteEccs ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxSiteids()

void writeSnxSiteids ( ofstream & out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSnxSourceIds()

void writeSnxSourceIds ( ofstream & out)
Here is the call graph for this function:

◆ writeSnxStatistics()

void writeSnxStatistics ( ofstream & out)
Here is the call graph for this function: