Changeset 6524 in ntrip
- Timestamp:
- Dec 30, 2014, 4:49:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6523 r6524 53 53 #include "eleplot.h" 54 54 #include "dopplot.h" 55 #include "bncephuser.h" 55 56 56 57 using namespace std; … … 1015 1016 QStringListIterator it(_navFileNames); 1016 1017 while (it.hasNext()) { 1017 QStringfileName = it.next();1018 const QString& fileName = it.next(); 1018 1019 *_log << "! Ephemeris Check: " << fileName << endl; 1019 } 1020 } 1020 unsigned numOK = 0; 1021 unsigned numBad = 0; 1022 bncEphUser ephUser(false); 1023 t_rnxNavFile rnxNavFile(fileName, t_rnxNavFile::input); 1024 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 1025 t_eph* eph = rnxNavFile.ephs()[ii]; 1026 ephUser.putNewEph(eph, true); 1027 if (eph->checkState() == t_eph::bad) { 1028 ++numBad; 1029 } 1030 else { 1031 ++numOK; 1032 } 1033 } 1034 *_log << " ! OK: " << numOK << " BAD: " << numBad << endl; 1035 if (numBad > 0) { 1036 *_log << " ! List of bad ephemerides:" << endl; 1037 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 1038 t_eph* eph = rnxNavFile.ephs()[ii]; 1039 if (eph->checkState() == t_eph::bad) { 1040 *_log << " ! " << eph->prn().toString().c_str() << ' ' 1041 << string(eph->TOC()).c_str() << endl; 1042 } 1043 } 1044 } 1045 } 1046 *_log << endl; 1047 }
Note:
See TracChangeset
for help on using the changeset viewer.