Changeset 6308 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp
- Timestamp:
- Nov 7, 2014, 11:41:43 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6307 r6308 783 783 QString prefixSys = QString(" ") + sys + QString(": "); 784 784 *_log << prefixSys << "Number of Satellites : " << qcSatVec.size() << endl; 785 int numObs = 0;786 int numSlipsFlagged = 0;787 int numSlipsFound = 0;788 int numGaps = 0;789 785 QMap<QString, QVector<const t_qcFrqSum*> > frqMap; 790 786 for (int ii = 0; ii < qcSatVec.size(); ii++) { … … 796 792 const t_qcFrqSum& qcFrqSum = itFrq.value(); 797 793 frqMap[frqType].push_back(&qcFrqSum); 798 numObs += qcFrqSum._numObs ; 799 numSlipsFlagged += qcFrqSum._numSlipsFlagged; 800 numSlipsFound += qcFrqSum._numSlipsFound ; 801 numGaps += qcFrqSum._numGaps ; 802 } 803 } 804 *_log << prefixSys << "Observations : " << numObs << endl 805 << prefixSys << "Slips (file+found) : " << numSlipsFlagged << " + " << numSlipsFound << endl 806 << prefixSys << "Gaps : " << numGaps << endl 807 << prefixSys << "Tracking Modes : " << frqMap.size() << endl; 794 } 795 } 796 *_log << prefixSys << "Tracking Modes : " << frqMap.size() << " "; 808 797 QMapIterator<QString, QVector<const t_qcFrqSum*> > itFrq(frqMap); 798 while (itFrq.hasNext()) { 799 itFrq.next(); 800 const QString& frqType = itFrq.key(); 801 *_log << ' ' << frqType; 802 } 803 *_log << endl; 804 itFrq.toFront(); 809 805 while (itFrq.hasNext()) { 810 806 itFrq.next(); … … 812 808 const QVector<const t_qcFrqSum*> qcFrqVec = itFrq.value(); 813 809 QString prefixFrq = QString(" ") + frqType + QString(": "); 814 *_log << prefixSys << prefixFrq << endl; 810 811 int numObs = 0; 812 int numSlipsFlagged = 0; 813 int numSlipsFound = 0; 814 int numGaps = 0; 815 for (int ii = 0; ii < qcFrqVec.size(); ii++) { 816 const t_qcFrqSum* qcFrqSum = qcFrqVec[ii]; 817 numObs += qcFrqSum->_numObs ; 818 numSlipsFlagged += qcFrqSum->_numSlipsFlagged; 819 numSlipsFound += qcFrqSum->_numSlipsFound ; 820 numGaps += qcFrqSum->_numGaps ; 821 } 822 *_log << prefixSys << prefixFrq << "Observations : " << numObs << endl 823 << prefixSys << prefixFrq << "Slips (file+found) : " << numSlipsFlagged << " + " << numSlipsFound << endl 824 << prefixSys << prefixFrq << "Gaps : " << numGaps << endl; 815 825 } 816 826 }
Note:
See TracChangeset
for help on using the changeset viewer.