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

Functions

FileType CLK__ ()
 
FileType RNX__ ()
 
 BETTER_ENUM (E_EphType, short int, NONE, EPH, GEPH, SEPH, CEPH, STO, EOP, ION) map< E_Sys
 Default navigation massage type for RINEX 3 and 2.
 
void setstr (char *dst, const char *src, int n)
 Set string without tail space.
 
void decodeObsH (std::istream &inputStream, string &line, double ver, E_TimeSys &tsys, map< E_Sys, map< int, CodeType > > &sysCodeTypes, Navigation &nav, RinexStation &rnxRec)
 Decode obs header.
 
void decodeNavH (string &line, E_Sys sys, Navigation &nav)
 Decode nav header.
 
void decodeGnavH (string &line, Navigation &nav)
 Decode gnav header.
 
void decodeHnavH (string &line, Navigation &nav)
 Decode geo nav header.
 
int readRnxH (std::istream &inputStream, double &ver, char &type, E_Sys &sys, E_TimeSys &tsys, map< E_Sys, map< int, CodeType > > &sysCodeTypes, Navigation &nav, RinexStation &rnxRec)
 Read rinex header.
 
int decodeObsEpoch (std::istream &inputStream, string &line, double ver, E_TimeSys tsys, GTime &time, int &flag, vector< SatSys > &sats)
 Decode obs epoch.
 
int decodeObsData (std::istream &inputStream, string &line, double ver, map< E_Sys, map< int, CodeType > > &sysCodeTypes, GObs &obs, SatSys &v2SatSys)
 Decode obs data.
 
int readRnxObsB (std::istream &inputStream, double ver, E_TimeSys tsys, map< E_Sys, map< int, CodeType > > &sysCodeTypes, int &flag, ObsList &obsList)
 Read rinex obs data body.
 
int readRnxObs (std::istream &inputStream, double ver, E_TimeSys tsys, map< E_Sys, map< int, CodeType > > &sysCodeTypes, ObsList &obsList, RinexStation &rnxRec)
 Read rinex obs.
 
int decodeEph (double ver, SatSys Sat, GTime toc, vector< double > &data, Eph &eph)
 Decode ephemeris.
 
int decodeGeph (double ver, SatSys Sat, GTime toc, vector< double > &data, Geph &geph)
 Decode glonass ephemeris.
 
int decodeSeph (double ver, SatSys Sat, GTime toc, vector< double > &data, Seph &seph)
 Decode geo ephemeris.
 
int decodeCeph (double ver, SatSys Sat, E_NavMsgType type, GTime toc, vector< double > &data, Ceph &ceph)
 Decode CNVX ephemeris.
 
int decodeSto (double ver, SatSys Sat, E_NavMsgType type, GTime toc, vector< double > &data, STO &sto)
 Decode STO message.
 
int decodeEop (double ver, SatSys Sat, E_NavMsgType type, GTime toc, vector< double > &data, EOP &eop)
 Decode EOP message.
 
int decodeIon (double ver, SatSys Sat, E_NavMsgType type, GTime toc, vector< double > &data, ION &ion)
 Decode ION message.
 
int readRnxNavB (std::istream &inputStream, double ver, E_Sys sys, E_EphType &type, Eph &eph, Geph &geph, Seph &seph, Ceph &ceph, STO &sto, EOP &eop, ION &ion)
 Read rinex navigation data body.
 
int readRnxNav (std::istream &inputStream, double ver, E_Sys sys, Navigation &nav)
 Read rinex nav/gnav/geo nav.
 
int readRnxClk (std::istream &inputStream, double ver, Navigation &nav)
 Read rinex clock.
 
int readRnx (std::istream &inputStream, char &type, ObsList &obsList, Navigation &nav, RinexStation &rnxRec, double &ver, E_Sys &sys, E_TimeSys &tsys, map< E_Sys, map< int, CodeType > > &sysCodeTypes)
 Read rinex file.
 

Function Documentation

◆ BETTER_ENUM()

BETTER_ENUM ( E_EphType ,
short int ,
NONE ,
EPH ,
GEPH ,
SEPH ,
CEPH ,
STO ,
EOP ,
ION  )

Default navigation massage type for RINEX 3 and 2.

◆ CLK__()

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

◆ decodeCeph()

int decodeCeph ( double ver,
SatSys Sat,
E_NavMsgType type,
GTime toc,
vector< double > & data,
Ceph & ceph )

Decode CNVX ephemeris.

Parameters
verRINEX version
SatSatellite ID
typeNavigation message type
tocTime of clock
dataData to decode
cephCNVX ephemeris
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeEop()

int decodeEop ( double ver,
SatSys Sat,
E_NavMsgType type,
GTime toc,
vector< double > & data,
EOP & eop )

Decode EOP message.

Here is the caller graph for this function:

◆ decodeEph()

int decodeEph ( double ver,
SatSys Sat,
GTime toc,
vector< double > & data,
Eph & eph )

Decode ephemeris.

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

◆ decodeGeph()

int decodeGeph ( double ver,
SatSys Sat,
GTime toc,
vector< double > & data,
Geph & geph )

Decode glonass ephemeris.

Parameters
verRINEX version
SatSatellite ID
tocTime of clock
dataData to decode
gephGlonass ephemeris
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeGnavH()

void decodeGnavH ( string & line,
Navigation & nav )

Decode gnav header.

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

◆ decodeHnavH()

void decodeHnavH ( string & line,
Navigation & nav )

Decode geo nav header.

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

◆ decodeIon()

int decodeIon ( double ver,
SatSys Sat,
E_NavMsgType type,
GTime toc,
vector< double > & data,
ION & ion )

Decode ION message.

Here is the caller graph for this function:

◆ decodeNavH()

void decodeNavH ( string & line,
E_Sys sys,
Navigation & nav )

Decode nav header.

Parameters
lineLine to decode
sysGNSS system
navNavigation data
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeObsData()

int decodeObsData ( std::istream & inputStream,
string & line,
double ver,
map< E_Sys, map< int, CodeType > > & sysCodeTypes,
GObs & obs,
SatSys & v2SatSys )

Decode obs data.

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

◆ decodeObsEpoch()

int decodeObsEpoch ( std::istream & inputStream,
string & line,
double ver,
E_TimeSys tsys,
GTime & time,
int & flag,
vector< SatSys > & sats )

Decode obs epoch.

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

◆ decodeObsH()

void decodeObsH ( std::istream & inputStream,
string & line,
double ver,
E_TimeSys & tsys,
map< E_Sys, map< int, CodeType > > & sysCodeTypes,
Navigation & nav,
RinexStation & rnxRec )

Decode obs header.

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

◆ decodeSeph()

int decodeSeph ( double ver,
SatSys Sat,
GTime toc,
vector< double > & data,
Seph & seph )

Decode geo ephemeris.

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

◆ decodeSto()

int decodeSto ( double ver,
SatSys Sat,
E_NavMsgType type,
GTime toc,
vector< double > & data,
STO & sto )

Decode STO message.

Here is the caller graph for this function:

◆ readRnx()

int readRnx ( std::istream & inputStream,
char & type,
ObsList & obsList,
Navigation & nav,
RinexStation & rnxRec,
double & ver,
E_Sys & sys,
E_TimeSys & tsys,
map< E_Sys, map< int, CodeType > > & sysCodeTypes )

Read rinex file.

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

◆ readRnxClk()

int readRnxClk ( std::istream & inputStream,
double ver,
Navigation & nav )

Read rinex clock.

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

◆ readRnxH()

int readRnxH ( std::istream & inputStream,
double & ver,
char & type,
E_Sys & sys,
E_TimeSys & tsys,
map< E_Sys, map< int, CodeType > > & sysCodeTypes,
Navigation & nav,
RinexStation & rnxRec )

Read rinex header.

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

◆ readRnxNav()

int readRnxNav ( std::istream & inputStream,
double ver,
E_Sys sys,
Navigation & nav )

Read rinex nav/gnav/geo nav.

Parameters
inputStreamInput stream to read
verRINEX version
sysSatellite system
navNavigation object
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readRnxNavB()

int readRnxNavB ( std::istream & inputStream,
double ver,
E_Sys sys,
E_EphType & type,
Eph & eph,
Geph & geph,
Seph & seph,
Ceph & ceph,
STO & sto,
EOP & eop,
ION & ion )

Read rinex navigation data body.

Parameters
inputStreamInput stream to read
verRINEX version
sysSatellite system
typeEphemeris type (output)
ephGPS Ephemeris
gephGlonass ephemeris
sephGeo ephemeris
cephCNVX ephemeris
stoSystem time offset data
eopEOP data
ionIonosphere data
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readRnxObs()

int readRnxObs ( std::istream & inputStream,
double ver,
E_TimeSys tsys,
map< E_Sys, map< int, CodeType > > & sysCodeTypes,
ObsList & obsList,
RinexStation & rnxRec )

Read rinex obs.

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

◆ readRnxObsB()

int readRnxObsB ( std::istream & inputStream,
double ver,
E_TimeSys tsys,
map< E_Sys, map< int, CodeType > > & sysCodeTypes,
int & flag,
ObsList & obsList )

Read rinex obs data body.

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

◆ RNX__()

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

◆ setstr()

void setstr ( char * dst,
const char * src,
int n )

Set string without tail space.

Here is the caller graph for this function: