Changeset 4591 in ntrip
- Timestamp:
- Aug 30, 2012, 12:14:37 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/availplot.cpp
r4589 r4591 56 56 const QString& prn = it.key(); 57 57 const t_availData& availData = it.value(); 58 const QVector<double>& epochs = availData._ epoL1;58 const QVector<double>& epochs = availData._L1ok; 59 59 60 60 scaleDrawPrn->_yLabels[iC] = prn; -
trunk/BNC/src/rinex/reqcanalyze.cpp
r4590 r4591 375 375 t_allObs& allObs = _allObsMap[prn]; 376 376 377 bncTime currTime; 378 bncTime prevTime; 379 377 // Loop over all Chunks of Data 378 // ---------------------------- 380 379 for (int chunkStart = 0; chunkStart + numEpo < allObs._oneObsVec.size(); 381 380 chunkStart += chunkStep) { 382 381 383 384 // Compute Mean 385 // ------------ 382 // Chunk-Speicific Variables 383 // ------------------------- 384 bncTime currTime; 385 bncTime prevTime; 386 386 bncTime chunkStartTime; 387 387 bool availL1 = false; 388 388 bool availL2 = false; 389 bool missL1= false;390 bool missL2= false;389 bool gapL1 = false; 390 bool gapL2 = false; 391 391 bool slipFlag = false; 392 392 double meanMP1 = 0.0; … … 397 397 double zenDeg = 0.0; 398 398 399 // Loop over all Epochs within one Chunk of Data 400 // --------------------------------------------- 399 401 for (int ii = 0; ii < numEpo; ii++) { 400 402 int iEpo = chunkStart + ii; … … 433 435 // Check Interval 434 436 // -------------- 435 double dt = 0.0;436 437 if (prevTime.valid()) { 437 d t = currTime - prevTime;438 }439 if (dt != obsInterval) {440 missL1= true;441 missL2 = true;438 double dt = currTime - prevTime; 439 if (dt != obsInterval) { 440 gapL1 = true; 441 gapL2 = true; 442 } 442 443 } 443 444 prevTime = currTime; … … 449 450 } 450 451 else { 451 missL1 = true;452 gapL1 = true; 452 453 } 453 454 if (oneObs->_hasL2) { … … 455 456 } 456 457 else { 457 missL2 = true;458 gapL2 = true; 458 459 } 459 460 … … 483 484 // Availability Plot Data 484 485 // ---------------------- 486 double mjd = chunkStartTime.mjddec(); 485 487 if (availL1) { 486 _availDataMap[prn]._epoL1 << chunkStartTime.mjddec(); 488 if (slipFlag) { 489 _availDataMap[prn]._L1slip << mjd; 490 } 491 else if (gapL1) { 492 _availDataMap[prn]._L1gap << mjd; 493 } 494 else { 495 _availDataMap[prn]._L1ok << mjd; 496 } 497 } 498 if (availL2) { 499 if (slipFlag) { 500 _availDataMap[prn]._L2slip << mjd; 501 } 502 else if (gapL2) { 503 _availDataMap[prn]._L2gap << mjd; 504 } 505 else { 506 _availDataMap[prn]._L2ok << mjd; 507 } 487 508 } 488 509 -
trunk/BNC/src/rinex/reqcanalyze.h
r4584 r4591 36 36 class t_availData { 37 37 public: 38 QVector<double> _epoL1; 38 QVector<double> _L1ok; 39 QVector<double> _L2ok; 40 QVector<double> _L1slip; 41 QVector<double> _L2slip; 42 QVector<double> _L1gap; 43 QVector<double> _L2gap; 39 44 }; 40 45
Note:
See TracChangeset
for help on using the changeset viewer.