- Timestamp:
- Nov 1, 2014, 9:13:19 AM (10 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6283 r6284 132 132 void t_reqcAnalyze::analyzeFile(t_rnxObsFile* obsFile) { 133 133 134 if (_log) {135 *_log << "\nAnalyze File\n"136 << "------------\n"137 << "File: " << obsFile->fileName().toAscii().data() << endl;138 }139 140 134 _qcFile.clear(); 141 135 … … 180 174 preparePlotData(obsFile); 181 175 182 printReport( );176 printReport(obsFile); 183 177 } 184 178 catch (QString str) { … … 500 494 (prn.system() == 'E' && plotGal) ) { 501 495 502 (*dataSNR1) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._SNR1)); 503 (*dataSNR2) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._SNR2)); 504 505 (*dataMP1) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._stdMP1)); 506 (*dataMP2) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._stdMP2)); 496 if (qcObs._eleSet) { 497 (*dataSNR1) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._SNR1)); 498 (*dataSNR2) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._SNR2)); 499 (*dataMP1) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._stdMP1)); 500 (*dataMP2) << (new t_polarPoint(qcObs._azDeg, 90.0 - qcObs._eleDeg, qcObs._stdMP2)); 501 } 507 502 } 508 503 } … … 619 614 data._mjdX24 << mjdX24; 620 615 data._eleDeg << qcObs._eleDeg; 621 if (qcObs._hasL1) data._L1ok << mjdX24; 622 if (qcObs._hasL2) data._L2ok << mjdX24; 623 if (qcObs._slipL1) data._L1slip << mjdX24; 624 if (qcObs._slipL2) data._L2slip << mjdX24; 625 if (qcObs._gapL1) data._L1gap << mjdX24; 626 if (qcObs._gapL2) data._L2gap << mjdX24; 616 if (qcObs._hasL1) { 617 if (qcObs._slipL1) { 618 data._L1slip << mjdX24; 619 } 620 else if (qcObs._gapL1) { 621 data._L1gap << mjdX24; 622 } 623 else { 624 data._L1ok << mjdX24; 625 } 626 } 627 if (qcObs._hasL2) { 628 if (qcObs._slipL2) { 629 data._L2slip << mjdX24; 630 } 631 else if (qcObs._gapL2) { 632 data._L2gap << mjdX24; 633 } 634 else { 635 data._L2ok << mjdX24; 636 } 637 } 627 638 } 628 639 } … … 657 668 // Finish the report 658 669 //////////////////////////////////////////////////////////////////////////// 659 void t_reqcAnalyze::printReport( ) {670 void t_reqcAnalyze::printReport(const t_rnxObsFile* obsFile) { 660 671 661 672 if (!_log) { … … 663 674 } 664 675 665 *_log << "Marker name: " << _qcFile._markerName << endl 666 << "Receiver: " << _qcFile._receiverType << endl 667 << "Antenna: " << _qcFile._antennaName << endl 676 *_log << "File: " << obsFile->fileName().toAscii().data() << endl 677 << "Marker name: " << _qcFile._markerName << endl 678 << "Receiver: " << _qcFile._receiverType << endl 679 << "Antenna: " << _qcFile._antennaName << endl 668 680 << "Start time: " << _qcFile._startTime.datestr().c_str() << ' ' 669 681 << _qcFile._startTime.timestr().c_str() << endl 670 << "End time: " << _qcFile._endTime.datestr().c_str() << ' '671 << _qcFile._endTime.timestr().c_str() << endl672 << "Interval: " << _qcFile._interval << endl673 << "# Sat.: " << _qcFile._qcSat.size() << endl;682 << "End time: " << _qcFile._endTime.datestr().c_str() << ' ' 683 << _qcFile._endTime.timestr().c_str() << endl 684 << "Interval: " << _qcFile._interval << endl 685 << "# Sat.: " << _qcFile._qcSat.size() << endl; 674 686 675 687 int numObs = 0; -
trunk/BNC/src/rinex/reqcanalyze.h
r6282 r6284 165 165 double cmpDOP(const ColumnVector& xyzSta) const; 166 166 167 void printReport( );167 void printReport(const t_rnxObsFile* obsFile); 168 168 169 169 QString _logFileName;
Note:
See TracChangeset
for help on using the changeset viewer.