- Timestamp:
- Nov 23, 2020, 11:29:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/combination/bnccomb.cpp
r9267 r9269 429 429 continue; 430 430 } 431 else if (ephLast->checkState() != t_eph::ok) { 431 else if (ephLast->checkState() == t_eph::bad || 432 ephLast->checkState() == t_eph::outdated || 433 ephLast->checkState() == t_eph::unhealthy) { 432 434 emit newMessage("bncComb: eph not ok for " + prn.mid(0,3).toLatin1(), true); 433 435 delete newCorr; … … 438 440 newCorr->_eph = ephLast; 439 441 } 440 else if (ephPrev && ephPrev->IOD() == newCorr->_iod) { 442 else if (ephPrev && ephPrev->checkState() == t_eph::ok && 443 ephPrev->IOD() == newCorr->_iod) { 441 444 newCorr->_eph = ephPrev; 442 445 switchToLastEph(ephLast, newCorr); … … 722 725 ColumnVector xc(6); 723 726 ColumnVector vv(3); 724 eph->getCrd(_resTime, xc, vv, false); 725 727 if (eph->getCrd(_resTime, xc, vv, false) != success) { 728 continue; 729 } 726 730 out << _resTime.datestr().c_str() << " " 727 731 << _resTime.timestr().c_str() << " "; … … 774 778 corr->_eph->setClkCorr(dynamic_cast<const t_clkCorr*>(&clkCorr)); 775 779 corr->_eph->setOrbCorr(dynamic_cast<const t_orbCorr*>(&orbCorr)); 776 corr->_eph->getCrd(_resTime, xc, vv, true); 780 if (corr->_eph->getCrd(_resTime, xc, vv, true) != success) { 781 delete corr; 782 continue; 783 } 777 784 778 785 // Correction Phase Center --> CoM
Note:
See TracChangeset
for help on using the changeset viewer.