Changeset 9854 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Oct 21, 2022, 2:04:29 PM (2 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r9797 r9854 98 98 delete _logFile; _logFile = 0; 99 99 if (BNC_CORE->mode() != t_bncCore::interactive) { 100 qApp->exit( 0);100 qApp->exit(8); 101 101 msleep(100); //sleep 0.1 sec 102 102 } … … 765 765 << "Interval : " << _qcFile._interval << " sec" << '\n'; 766 766 767 // Number of systems768 // -----------------769 QMap<QChar, QVector<const t_qcSatSum*> > systemMap;770 QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);771 while (itSat.hasNext()) {772 itSat.next();773 const t_prn& prn = itSat.key();774 const t_qcSatSum& qcSatSum = itSat.value();775 systemMap[prn.system()].push_back(&qcSatSum);776 }777 *_log << "Navigation Systems : " << systemMap.size() << " ";778 779 QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);780 while (itSys.hasNext()) {781 itSys.next();782 *_log << ' ' << itSys.key();783 }784 *_log << '\n';785 767 786 768 // Observation types per system … … 797 779 } 798 780 } 781 782 // Number of analysed systems 783 // -------------------------- 784 QMap<QChar, QVector<const t_qcSatSum*> > systemMap; 785 QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum); 786 while (itSat.hasNext()) { 787 itSat.next(); 788 const t_prn& prn = itSat.key(); 789 const t_qcSatSum& qcSatSum = itSat.value(); 790 systemMap[prn.system()].push_back(&qcSatSum); 791 } 792 *_log << "Analysed GNSS : " << systemMap.size() << " "; 793 QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap); 794 while (itSys.hasNext()) { 795 itSys.next(); 796 *_log << ' ' << itSys.key(); 797 } 798 *_log << '\n'; 799 799 800 800 801 // System specific summary … … 1013 1014 << numUnhealthy << " UNHEALTHY " 1014 1015 << numBad << " WRONG\n"; 1015 } 1016 if (numBad > 0 || numUnhealthy > 0) { 1017 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 1018 t_eph* eph = rnxNavFile.ephs()[ii]; 1019 QFileInfo navFi(fileName); 1020 if (_log) { 1021 #ifdef BNC_DEBUG_BCEP 1022 if (eph->checkState() == t_eph::unhealthy) { 1023 *_log << " " 1024 << navFi.fileName() << ' ' << QString(": UNHEALTHY %2:%3\n") 1025 .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0)) 1026 .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1(); 1027 } 1028 #endif 1016 if (numBad > 0) { 1017 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 1018 t_eph* eph = rnxNavFile.ephs()[ii]; 1019 QFileInfo navFi(fileName); 1029 1020 if (eph->checkState() == t_eph::bad) { 1030 1021 *_log << " " … … 1035 1026 } 1036 1027 } 1037 } 1038 } 1039 if (_log) { 1040 *_log << '\n'; 1028 *_log << '\n'; 1029 } 1041 1030 } 1042 1031 } -
trunk/BNC/src/rinex/reqcedit.cpp
r9797 r9854 152 152 // ------------- 153 153 if (BNC_CORE->mode() != t_bncCore::interactive) { 154 qApp->exit( 0);154 qApp->exit(9); 155 155 msleep(100); //sleep 0.1 sec 156 156 }
Note:
See TracChangeset
for help on using the changeset viewer.