- Timestamp:
- May 4, 2021, 11:30:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r9419 r9421 133 133 for (unsigned iSys = 0; iSys < OPT->systems().size(); iSys++) { 134 134 char sys = OPT->systems()[iSys]; 135 if (OPT->_refSatRequired) { 136 _refPrn = (_obsPool->getRefSatMapElement(sys))->prn(); 137 } 135 _refPrn = (_obsPool->getRefSatMapElement(sys))->prn(); 138 136 vector<t_pppSatObs*> obsVector; 139 137 for (unsigned jj = 0; jj < allObs.size(); jj++) { … … 173 171 // ------------------------------------ 174 172 preProcessing = false; 173 unsigned usableSys = 0; 175 174 for (unsigned iSys = 0; iSys < OPT->systems().size(); iSys++) { 176 175 char sys = OPT->systems()[iSys]; 177 176 if (OPT->_refSatRequired) { 178 177 _refPrn = (_obsPool->getRefSatMapElement(sys))->prn(); 178 } 179 else { 180 _refPrn.set(sys, 0); 179 181 } 180 182 unsigned int num = 0; … … 188 190 if (!num) { 189 191 continue; 192 } 193 else { 194 ++usableSys; 195 if (usableSys == 1 && 196 OPT->_obsModelType == OPT->UncombPPP) { 197 _datumTrafo->setFirstSystem(sys); 198 } 190 199 } 191 200 LOG << epoTimeStr << " SATNUM " << sys << ' ' << right << setw(2) << num << endl; … … 296 305 // ================ 297 306 if (OPT->_pseudoObsTropo && _datumTrafo->firstSystem(sys)) { 307 bool _pseudoObsTropoConsidered = false; 298 308 for (unsigned ii = 0; ii < obsVector.size(); ii++) { 309 if (_pseudoObsTropoConsidered) {break;} 299 310 t_pppSatObs* obs = obsVector[ii]; 300 if (!obs->isReference()) {continue;}301 311 for (unsigned jj = 0; jj < usedLCs; jj++) { 302 312 const t_lc::type tLC = LCs[jj]; 303 313 if (tLC != t_lc::Tz0) {continue;} 304 314 ++iObs; 315 _pseudoObsTropoConsidered = true; 305 316 usedObs.push_back(obs); 306 317 usedTypes.push_back(tLC); … … 779 790 // ================ 780 791 if (OPT->_pseudoObsTropo && _datumTrafo->firstSystem(sys)) { 792 bool pseudoObsTropoConsidered = false; 781 793 for (unsigned ii = 0; ii < obsVector.size(); ii++) { 794 if (pseudoObsTropoConsidered) {break;} 782 795 t_pppSatObs* obs = obsVector[ii]; 783 if (!obs->isReference()) {continue;}784 796 for (unsigned jj = 0; jj < usedLCs; jj++) { 785 797 const t_lc::type tLC = LCs[jj]; 786 798 if (tLC != t_lc::Tz0) {continue;} 787 799 ++iObs; 800 pseudoObsTropoConsidered = true; 788 801 for (unsigned iPar = 0; iPar < params.size(); iPar++) { 789 802 const t_pppParam* par = params[iPar];
Note:
See TracChangeset
for help on using the changeset viewer.