Changeset 4701 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Sep 9, 2012, 6:40:12 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4700 r4701 208 208 *_log << "\nAnalyze File\n" 209 209 << "------------\n" 210 << "File: " << obsFile->fileName().toAscii().data() << endl;210 << "File: " << obsFile->fileName().toAscii().data() << endl; 211 211 } 212 212 … … 255 255 } 256 256 if (newObs->_slipL1 && newObs->_slipL2) { 257 _obsStat._prnStat[prn]._numSlips += 1;257 _obsStat._prnStat[prn]._numSlipsFlagged += 1; 258 258 } 259 259 } … … 570 570 slipL1 = true; 571 571 slipL2 = true; 572 _obsStat._prnStat[prn]._numSlips += 1;572 _obsStat._prnStat[prn]._numSlipsFound += 1; 573 573 } 574 574 else { … … 717 717 } 718 718 719 *_log << "Marker name: " << _obsStat._markerName << endl 720 << "Receiver: " << _obsStat._receiverType << endl 721 << "Antenna: " << _obsStat._antennaName << endl 722 << "Start time: " << _obsStat._startTime.datestr().c_str() << ' ' 723 << _obsStat._startTime.timestr().c_str() << endl 724 << "End time: " << _obsStat._endTime.datestr().c_str() << ' ' 725 << _obsStat._endTime.timestr().c_str() << endl 726 << "Interval: " << _obsStat._interval << endl 727 << "# Sat.: " << _obsStat._prnStat.size() << endl; 728 729 int numObs = 0; 730 int numSlips = 0; 719 *_log << "Marker name: " << _obsStat._markerName << endl 720 << "Receiver: " << _obsStat._receiverType << endl 721 << "Antenna: " << _obsStat._antennaName << endl 722 << "Start time: " << _obsStat._startTime.datestr().c_str() << ' ' 723 << _obsStat._startTime.timestr().c_str() << endl 724 << "End time: " << _obsStat._endTime.datestr().c_str() << ' ' 725 << _obsStat._endTime.timestr().c_str() << endl 726 << "Interval: " << _obsStat._interval << endl 727 << "# Sat.: " << _obsStat._prnStat.size() << endl; 728 729 int numObs = 0; 730 int numSlipsFlagged = 0; 731 int numSlipsFound = 0; 731 732 QMapIterator<QString, t_prnStat> it(_obsStat._prnStat); 732 733 while (it.hasNext()) { 733 734 it.next(); 734 735 const t_prnStat& prnStat = it.value(); 735 numObs += prnStat._numObs; 736 numSlips += prnStat._numSlips; 737 } 738 *_log << "# Obs.: " << numObs << endl 739 << "# Slips: " << numSlips << endl; 736 numObs += prnStat._numObs; 737 numSlipsFlagged += prnStat._numSlipsFlagged; 738 numSlipsFound += prnStat._numSlipsFound; 739 } 740 *_log << "# Obs.: " << numObs << endl 741 << "# Slips (file): " << numSlipsFlagged << endl 742 << "# Slips (found): " << numSlipsFound << endl; 740 743 741 744 for (int kk = 1; kk <= 4; kk++) { … … 744 747 if (kk == 1) { 745 748 data = dataMP1; 746 text = "Mean MP1: ";749 text = "Mean MP1: "; 747 750 } 748 751 else if (kk == 2) { 749 752 data = dataMP2; 750 text = "Mean MP2: ";753 text = "Mean MP2: "; 751 754 } 752 755 else if (kk == 3) { 753 756 data = dataSNR1; 754 text = "Mean SNR1: ";757 text = "Mean SNR1: "; 755 758 } 756 759 else if (kk == 4) { 757 760 data = dataSNR2; 758 text = "Mean SNR2: ";761 text = "Mean SNR2: "; 759 762 } 760 763 double mean = 0.0; -
trunk/BNC/src/rinex/reqcanalyze.h
r4696 r4701 49 49 public: 50 50 t_prnStat() { 51 _numObs = 0; 52 _numSlips = 0; 53 _numGaps = 0; 51 _numObs = 0; 52 _numSlipsFlagged = 0; 53 _numSlipsFound = 0; 54 _numGaps = 0; 54 55 } 55 56 int _numObs; 56 int _numSlips; 57 int _numSlipsFlagged; 58 int _numSlipsFound; 57 59 int _numGaps; 58 60 };
Note:
See TracChangeset
for help on using the changeset viewer.