Go to the documentation of this file.
58 int main(
int argc,
char *argv[])
65 cout <<
"Required argument is a RINEX obs file." << endl;
69 cout <<
"Name your PRN of interest (by number: 1 through 32): ";
77 cout <<
"Reading " << argv[1] <<
"." << endl;
84 roffs.exceptions(ios::failbit);
99 int indexP1( roh.getObsIndex(
"P1" ) );
100 int indexP2( roh.getObsIndex(
"P2" ) );
104 while( roffs >> roe )
110 cout << civtime <<
" ";
114 SatID prn( myprn, SatelliteSystem::GPS );
119 Rinex3ObsData::DataMap::iterator pointer = roe.
obs.find(prn);
120 if( pointer == roe.
obs.end() )
122 cout <<
"PRN " << myprn <<
" not in view " << endl;
146 dataobj = roe.
getObs(prn,
"L1", roh);
156 cout << fixed << setw(7) << setprecision(3);
158 cout <<
" PRN " << myprn
159 <<
" biased multipath " <<
mu << endl;
165 cout <<
"Read " << roffs.
recordNumber <<
" epochs. Cheers." << endl;
170 catch(FFStreamError& e)
182 cout <<
"unknown error. I don't feel so well..." << endl;
Storage for single RINEX OBS data measurements.
int main(int argc, char *argv[])
gnsstk::Matrix< double > L1
DataMap obs
the map of observations
const double L1_FREQ_GPS
GPS L1 carrier frequency in Hz.
double data
The actual data point.
virtual RinexDatum getObs(const RinexSatID &svID, size_t index) const
unsigned int recordNumber
keeps track of the number of records read
gnsstk::Matrix< double > P1
const double L2_FREQ_GPS
GPS L2 carrier frequency in Hz.
CommonTime time
Time corresponding to the observations.
gnsstk::Matrix< double > P2
const double C_MPS
m/s, speed of light; this value defined by GPS but applies to GAL and GLO.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41