Changeset 6527 in ntrip
- Timestamp:
- Dec 30, 2014, 5:24:13 PM (10 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6525 r6527 41 41 #include <iostream> 42 42 #include <iomanip> 43 #include <sstream> 43 44 #include <qwt_plot_renderer.h> 44 45 … … 819 820 // ------- 820 821 *_log << "QC Format Version : " << QString("%1").arg(QC_FORMAT_VERSION,3,'f',1) << endl << endl 821 << "Observation File : " << obsFileName << endl 822 << "Navigation File(s): " << navFileName << endl 822 << "Navigation File(s): " << navFileName << endl; 823 if (!_ephMsg.empty()) { 824 *_log << _ephMsg.c_str(); 825 _ephMsg.clear(); 826 } 827 *_log << "Observation File : " << obsFileName << endl 823 828 << "RINEX Version : " << QString("%1").arg(obsFile->version(),4,'f',2) << endl 824 829 << "Marker Name : " << _qcFile._markerName << endl … … 1014 1019 //////////////////////////////////////////////////////////////////////////// 1015 1020 void t_reqcAnalyze::checkEphemerides() { 1021 1022 ostringstream out; 1023 1016 1024 QStringListIterator it(_navFileNames); 1017 1025 while (it.hasNext()) { 1018 1026 const QString& fileName = it.next(); 1019 *_log << "! Ephemeris Check: " << fileName << endl;1020 1027 unsigned numOK = 0; 1021 1028 unsigned numBad = 0; … … 1032 1039 } 1033 1040 } 1034 *_log << " ! OK: " << numOK << " BAD: " << numBad<< endl;1041 out << "Ephemeris : " << numOK << " OK " << numBad << " BAD" << endl; 1035 1042 if (numBad > 0) { 1036 *_log << " ! List of bad ephemerides:" << endl;1037 1043 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 1038 1044 t_eph* eph = rnxNavFile.ephs()[ii]; 1039 1045 if (eph->checkState() == t_eph::bad) { 1040 *_log << " ! " << eph->prn().toString().c_str() << ' ' 1041 << eph->TOC().datestr(' ').c_str() << ' ' 1042 << eph->TOC().timestr(1, ' ').c_str() << endl; 1043 } 1044 } 1045 } 1046 } 1047 *_log << endl; 1048 } 1046 out << " Bad Ephemeris : " << fileName.toAscii().data() << ' ' 1047 << eph->prn().toString() << ' ' 1048 << eph->TOC().datestr(' ') << ' ' 1049 << eph->TOC().timestr(1, ' ') << endl; 1050 } 1051 } 1052 } 1053 } 1054 1055 _ephMsg = out.str(); 1056 } -
trunk/BNC/src/rinex/reqcanalyze.h
r6523 r6527 26 26 #define REQCANALYZE_H 27 27 28 #include <string> 28 29 #include <QtCore> 29 30 #include "rnxobsfile.h" … … 188 189 t_rnxObsFile::t_rnxEpo* _currEpo; 189 190 t_qcFile _qcFile; 191 std::string _ephMsg; 190 192 }; 191 193
Note:
See TracChangeset
for help on using the changeset viewer.