- Timestamp:
- Nov 23, 2020, 11:24:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r9266 r9268 194 194 this, SLOT(slotNewClkCorrections(QList<t_clkCorr>))); 195 195 196 197 198 196 // Combination Method 199 197 // ------------------ … … 409 407 continue; 410 408 } 411 else if (ephLast->checkState() != t_eph::ok) { 412 emit newMessage("bncComb: eph not ok for " + prn.mid(0,3).toLatin1(), true); 409 else if (ephLast->checkState() == t_eph::bad || 410 ephLast->checkState() == t_eph::outdated || 411 ephLast->checkState() == t_eph::unhealthy) { 412 emit newMessage("bncComb: ephLast not ok for " + prn.mid(0,3).toLatin1(), true); 413 413 delete newCorr; 414 414 continue; … … 418 418 newCorr->_eph = ephLast; 419 419 } 420 else if (ephPrev && ephPrev->IOD() == newCorr->_iod) { 420 else if (ephPrev && ephPrev->checkState() == t_eph::ok && 421 ephPrev->IOD() == newCorr->_iod) { 421 422 newCorr->_eph = ephPrev; 422 423 switchToLastEph(ephLast, newCorr); … … 434 435 QVector<cmbCorr*>& corrs = _buffer[sys][newCorr->_time].corrs; 435 436 corrs.push_back(newCorr); 436 437 438 437 } 439 438 … … 709 708 ColumnVector xc(6); 710 709 ColumnVector vv(3); 711 eph->getCrd(_resTime, xc, vv, false); 712 710 if (eph->getCrd(_resTime, xc, vv, false) != success) { 711 continue; 712 } 713 713 out << _resTime.datestr().c_str() << " " 714 714 << _resTime.timestr().c_str() << " "; … … 762 762 corr->_eph->setClkCorr(dynamic_cast<const t_clkCorr*>(&clkCorr)); 763 763 corr->_eph->setOrbCorr(dynamic_cast<const t_orbCorr*>(&orbCorr)); 764 corr->_eph->getCrd(_resTime, xc, vv, true); 764 if (corr->_eph->getCrd(_resTime, xc, vv, true) != success) { 765 delete corr; 766 continue; 767 } 765 768 766 769 // Correction Phase Center --> CoM
Note:
See TracChangeset
for help on using the changeset viewer.