Changeset 6280 in ntrip
- Timestamp:
- Oct 31, 2014, 7:24:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6279 r6280 419 419 bncTime prevTime; 420 420 for (int iEpo = 0; iEpo < _qcFile._qcEpo.size(); iEpo++) { 421 constt_qcEpo& qcEpo = _qcFile._qcEpo[iEpo];421 t_qcEpo& qcEpo = _qcFile._qcEpo[iEpo]; 422 422 if (qcEpo._epoTime < chunkStart) { 423 423 continue; … … 427 427 } 428 428 429 constt_qcObs& qcObs = qcEpo._qcObs[prn];429 t_qcObs& qcObs = qcEpo._qcObs[prn]; 430 430 431 431 // Compute the Azimuth and Zenith Distance … … 453 453 double rho, eleSat, azSat; 454 454 topos(xyzSta(1), xyzSta(2), xyzSta(3), xc(1), xc(2), xc(3), rho, eleSat, azSat); 455 qcObsSampled._azDeg = azSat * 180.0/M_PI;455 qcObsSampled._azDeg = azSat * 180.0/M_PI; 456 456 qcObsSampled._eleDeg = eleSat * 180.0/M_PI; 457 qcObs._azDeg = azSat * 180.0/M_PI; 458 qcObs._eleDeg = eleSat * 180.0/M_PI; 457 459 } 458 460 } … … 647 649 void t_reqcAnalyze::slotDspAvailPlot(const QString& fileName, const QByteArray& title) { 648 650 651 t_plotData plotData; 649 652 QMap<t_prn, t_plotData> plotDataMap; 650 653 651 654 for (int ii = 0; ii < _qcFile._qcEpo.size(); ii++) { 652 655 const t_qcEpo& qcEpo = _qcFile._qcEpo[ii]; 656 double mjdX24 = qcEpo._epoTime.mjddec() * 24.0; 657 658 plotData._mjdX24 << mjdX24; 659 plotData._PDOP << qcEpo._PDOP; 660 plotData._numSat << qcEpo._qcObs.size(); 661 653 662 QMapIterator<t_prn, t_qcObs> it(qcEpo._qcObs); 654 663 while (it.hasNext()) { … … 656 665 const t_prn& prn = it.key(); 657 666 const t_qcObs& qcObs = it.value(); 658 t_plotData& plotData = plotDataMap[prn]; 659 double mjdX24 = qcEpo._epoTime.mjddec() * 24.0; 660 if (qcObs._hasL1) plotData._L1ok << mjdX24; 661 if (qcObs._hasL2) plotData._L2ok << mjdX24; 662 if (qcObs._slipL1) plotData._L1slip << mjdX24; 663 if (qcObs._slipL2) plotData._L2slip << mjdX24; 664 if (qcObs._gapL1) plotData._L1gap << mjdX24; 665 if (qcObs._gapL2) plotData._L2gap << mjdX24; 666 } 667 } 668 669 t_plotData plotData; 667 t_plotData& data = plotDataMap[prn]; 668 if (qcObs._hasL1) data._L1ok << mjdX24; 669 if (qcObs._hasL2) data._L2ok << mjdX24; 670 if (qcObs._slipL1) data._L1slip << mjdX24; 671 if (qcObs._slipL2) data._L2slip << mjdX24; 672 if (qcObs._gapL1) data._L1gap << mjdX24; 673 if (qcObs._gapL2) data._L2gap << mjdX24; 674 data._eleDeg << qcObs._eleDeg; 675 } 676 } 677 670 678 671 679 if (BNC_CORE->GUIenabled()) {
Note:
See TracChangeset
for help on using the changeset viewer.