Changeset 6528 in ntrip for trunk/BNC/src
- Timestamp:
- Dec 30, 2014, 6:22:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6527 r6528 121 121 // ---------------- 122 122 t_reqcEdit::readEphemerides(_navFileNames, _ephs); 123 124 QString navFileName; 125 QStringListIterator namIt(_navFileNames); 126 bool firstName = true; 127 while (namIt.hasNext()) { 128 QFileInfo navFi(namIt.next()); 129 if (firstName) { 130 firstName = false; 131 navFileName += navFi.fileName(); 132 } 133 else { 134 navFileName += ", " + navFi.fileName(); 135 } 136 } 137 138 static const double QC_FORMAT_VERSION = 1.0; 139 140 *_log << "QC Format Version : " << QString("%1").arg(QC_FORMAT_VERSION,3,'f',1) << endl << endl 141 << "Navigation File(s): " << navFileName << endl; 142 143 *_log << _ephMsg.c_str() << endl; 123 144 124 145 // Loop over all RINEX Files … … 794 815 void t_reqcAnalyze::printReport(const t_rnxObsFile* obsFile) { 795 816 796 static const double QC_FORMAT_VERSION = 1.0;797 798 817 if (!_log) { 799 818 return; … … 803 822 QString obsFileName = obsFi.fileName(); 804 823 805 QString navFileName;806 QStringListIterator namIt(_navFileNames);807 bool firstName = true;808 while (namIt.hasNext()) {809 QFileInfo navFi(namIt.next());810 if (firstName) {811 firstName = false;812 navFileName += navFi.fileName();813 }814 else {815 navFileName += ", " + navFi.fileName();816 }817 }818 819 824 // Summary 820 825 // ------- 821 *_log << "QC Format Version : " << QString("%1").arg(QC_FORMAT_VERSION,3,'f',1) << endl << endl822 << "Navigation File(s): " << navFileName << endl;823 if (!_ephMsg.empty()) {824 *_log << _ephMsg.c_str();825 _ephMsg.clear();826 }827 826 *_log << "Observation File : " << obsFileName << endl 828 827 << "RINEX Version : " << QString("%1").arg(obsFile->version(),4,'f',2) << endl … … 1039 1038 } 1040 1039 } 1041 out << "Ephemeris 1040 out << "Ephemeris : " << numOK << " OK " << numBad << " BAD" << endl; 1042 1041 if (numBad > 0) { 1043 1042 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 1044 1043 t_eph* eph = rnxNavFile.ephs()[ii]; 1045 1044 if (eph->checkState() == t_eph::bad) { 1046 out << " Bad Ephemeris 1045 out << " Bad Ephemeris : " << fileName.toAscii().data() << ' ' 1047 1046 << eph->prn().toString() << ' ' 1048 1047 << eph->TOC().datestr(' ') << ' '
Note:
See TracChangeset
for help on using the changeset viewer.