- Timestamp:
- Mar 20, 2023, 2:10:04 PM (23 months ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r10006 r10015 670 670 } 671 671 } 672 673 if (_opt->_refSatRequired) {674 if (handleRefSatellites(_obsRover) != success) {675 return finish(failure,6);676 }677 if (_obsPool->refSatChanged()) {678 LOG << "t_pppFilter: refSatChanged()" << endl;679 epochReProcessing = true;680 continue;681 }682 }683 684 672 // use observations only if satellite code biases are available 685 673 // ------------------------------------------------------------ … … 688 676 OPT->_obsModelType == OPT->DCMphaseBias)) { 689 677 useObsWithCodeBiasesOnly(_obsRover); 678 } 679 680 if (_opt->_refSatRequired) { 681 if (handleRefSatellites(_obsRover) != success) { 682 return finish(failure,6); 683 } 684 if (_obsPool->refSatChanged()) { 685 LOG << "t_pppFilter: refSatChanged()" << endl; 686 epochReProcessing = true; 687 continue; 688 } 690 689 } 691 690 -
trunk/BNC/src/PPP/pppFilter.cpp
r10014 r10015 64 64 _epoTime = epoch->epoTime(); 65 65 66 if (!_firstEpoTime.valid() || !_lastEpoTimeOK.valid() 67 || (maxSolGap > 0.0 && _epoTime - _lastEpoTimeOK > maxSolGap)) { 66 if (!_firstEpoTime.valid() || 67 !_lastEpoTimeOK.valid()|| 68 (maxSolGap > 0.0 && _epoTime - _lastEpoTimeOK > maxSolGap)) { 68 69 _firstEpoTime = _epoTime; 69 70 } … … 72 73 73 74 const QMap<char, t_pppRefSat*> &refSatMap = epoch->refSatMap(); 75 74 76 const QList<char> &usedSystems = _parlist.usedSystems(); 75 77 //-- … … 78 80 return failure; 79 81 } 82 #ifdef BNC_DEBUG_PPP 83 if (OPT->_obsModelType == OPT->DCMcodeBias || 84 OPT->_obsModelType == OPT->DCMphaseBias) { 85 _parlist.printParams(_epoTime); 86 } 87 #endif 80 88 81 89 // Status Vector, Variance-Covariance Matrix … … 102 110 bool preProcessing = false; 103 111 if (OPT->_obsModelType == OPT->DCMcodeBias || 104 OPT->_obsModelType == OPT->DCMphaseBias) {112 OPT->_obsModelType == OPT->DCMphaseBias) { 105 113 preProcessing = true; 106 114 for (int iSys = 0; iSys < usedSystems.size(); iSys++) { … … 162 170 LOG << epoTimeStr << " SATNUM " << sys << ' ' << right << setw(2) << num 163 171 << endl; 164 if (processSystem(OPT->LCs(sys), obsVector, _refPrn, epoch->pseudoObsIono(),165 preProcessing) != success) {172 if (processSystem(OPT->LCs(sys), obsVector, _refPrn, 173 epoch->pseudoObsIono(), preProcessing) != success) { 166 174 LOG << "processSystem != success (fin-processing)" << endl; 167 175 if (OPT->_obsModelType == OPT->DCMcodeBias || … … 689 697 _epoTime = epoch->epoTime(); 690 698 LOG.setf(ios::fixed); 691 LOG << string(_epoTime) << " 699 LOG << string(_epoTime) << "\nDATUM TRANSFORMATION " << endl; 692 700 693 701 vector<t_pppSatObs*> &allObs = epoch->obsVector(); … … 714 722 return failure; 715 723 } 724 #ifdef BNC_DEBUG_PPP 725 _parlist.printParams(_epoTime); 726 #endif 716 727 717 728 const QList<char> &usedSystems = _parlist.usedSystems(); … … 788 799 789 800 #ifdef BNC_DEBUG_PPP 790 LOG << "xFltOld:\n" << xFltOld << endl;791 LOG << "xFlt :\n" << _xFlt << endl;801 //LOG << "xFltOld:\n" << xFltOld << endl; 802 //LOG << "xFlt :\n" << _xFlt << endl; 792 803 #endif 793 804 -
trunk/BNC/src/PPP/pppFilter.h
r10013 r10015 38 38 void rememberState(int num) { 39 39 #ifdef BNC_DEBUG_PPP 40 LOG << "Remember parameters from epoch before: _parlist_sav = _parlist ("<< num << ")\n";40 LOG << "Remember parameters from last epoch : _parlist_sav = _parlist ("<< num << ")\n"; 41 41 #endif 42 42 _QFlt_sav = _QFlt; … … 142 142 } 143 143 144 if (AA.Ncols() >_numPar) {145 LOG << "t_pppFilter::prepareAA: AA.Ncols() > _numPar: " << AA.Ncols() << " > " << _numPar <<std::endl;144 if (AA.Ncols() != _numPar) { 145 LOG << "t_pppFilter::prepareAA: AA.Ncols() != _numPar: " << AA.Ncols() << " != " << _numPar << "\n RETURN FAILURE" << std::endl; 146 146 return failure; 147 147 } 148 Prep->SubMatrix(_firstRow, _lastRow, 1, _numPar) <<AA;148 Prep->SubMatrix(_firstRow, _lastRow, 1, _numPar) = AA; 149 149 return success; 150 150 }
Note:
See TracChangeset
for help on using the changeset viewer.