Changeset 4607 in ntrip
- Timestamp:
- Aug 31, 2012, 10:40:39 AM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4606 r4607 388 388 bncTime prevTime; 389 389 bncTime chunkStartTime; 390 bool availL1 = false; 391 bool availL2 = false; 392 bool gapL1 = false; 393 bool gapL2 = false; 394 bool slipFlag = false; 395 double meanMP1 = 0.0; 396 double meanMP2 = 0.0; 397 double minSNR1 = 0.0; 398 double minSNR2 = 0.0; 399 double aziDeg = 0.0; 400 double zenDeg = 0.0; 390 bool availL1 = false; 391 bool availL2 = false; 392 bool gapL1 = false; 393 bool gapL2 = false; 394 bool slipL1 = false; 395 bool slipL2 = false; 396 bool slipMP = false; 397 double meanMP1 = 0.0; 398 double meanMP2 = 0.0; 399 double minSNR1 = 0.0; 400 double minSNR2 = 0.0; 401 double aziDeg = 0.0; 402 double zenDeg = 0.0; 401 403 402 404 // Loop over all Epochs within one Chunk of Data … … 471 473 } 472 474 473 // Check Slip 474 // ---------- 475 // Check Slip Flags 476 // ---------------- 477 if (oneObs->_slipL1) { 478 slipL1 = true; 479 } 480 if (oneObs->_slipL2) { 481 slipL2 = true; 482 } 483 484 // Check Slip Threshold 485 // -------------------- 475 486 if (ii > 0) { 476 487 double diff1 = oneObs->_MP1 - allObs._oneObsVec[iEpo-1]->_MP1; 477 488 double diff2 = oneObs->_MP2 - allObs._oneObsVec[iEpo-1]->_MP2; 478 489 if (fabs(diff1) > SLIPTRESH || fabs(diff2) > SLIPTRESH) { 479 slip Flag= true;490 slipMP = true; 480 491 } 481 492 } … … 489 500 double mjd = chunkStartTime.mjddec(); 490 501 if (availL1) { 491 if (slip Flag) {502 if (slipL1) { 492 503 _availDataMap[prn]._L1slip << mjd; 493 504 } … … 500 511 } 501 512 if (availL2) { 502 if (slip Flag) {513 if (slipL2) { 503 514 _availDataMap[prn]._L2slip << mjd; 504 515 } … … 518 529 // Compute the Multipath 519 530 // --------------------- 520 if (!slip Flag) {531 if (!slipMP) { 521 532 meanMP1 /= numEpo; 522 533 meanMP2 /= numEpo; -
trunk/BNC/src/rinex/reqcanalyze.h
r4591 r4607 85 85 _hasL1 = false; 86 86 _hasL2 = false; 87 _slipL1 = false; 88 _slipL2 = false; 87 89 _MP1 = 0.0; 88 90 _MP2 = 0.0; … … 94 96 bool _hasL1; 95 97 bool _hasL2; 98 bool _slipL1; 99 bool _slipL2; 96 100 double _MP1; 97 101 double _MP2;
Note:
See TracChangeset
for help on using the changeset viewer.