Changeset 9583 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Jan 4, 2022, 2:50:21 PM (3 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r9581 r9583 523 523 // use observations only if satellite code biases are available 524 524 // ------------------------------------------------------------ 525 //useObsWithCodeBiasesOnly(_obsRover);525 useObsWithCodeBiasesOnly(_obsRover); 526 526 527 527 if (int(_obsRover.size()) < _opt->_minObs) { … … 719 719 continue; 720 720 } 721 if (satObs->prn().system() == sys && 722 !_historicalRefSats[sys].contains(satObs->prn())) {721 if (satObs->prn().system() == sys && 722 !_historicalRefSats[sys].contains(satObs->prn())) { 723 723 obsVector[ii]->setAsReference(); 724 724 refSat->setPrn(satObs->prn()); -
trunk/BNC/src/PPP/pppFilter.cpp
r9582 r9583 119 119 if (processSystem(OPT->LCs(sys), obsVector, _refPrn, 120 120 epoch->pseudoObsIono(), preProcessing) != success) { 121 LOG << "processSystem != success (pre-processing)" << endl;121 LOG << sys << ": processSystem != success (pre-processing)" << endl; 122 122 _xFlt = xFltOld; 123 123 _QFlt = QFltOld; … … 240 240 // Real Observations 241 241 // ================= 242 double nSat = 0; 242 243 for (unsigned ii = 0; ii < obsVector.size(); ii++) { 243 244 t_pppSatObs* obs = obsVector[ii]; … … 246 247 } 247 248 if (!obs->outlier()) { 249 nSat++; 248 250 for (unsigned jj = 0; jj < usedLCs; jj++) { 249 251 const t_lc::type tLC = LCs[jj]; … … 264 266 // Check number of observations 265 267 // ---------------------------- 266 if (iObs == -1) {LOG << "iObs == -1\n"; 267 return failure; 268 269 if (OPT->_obsModelType == OPT->DCMcodeBias || 270 OPT->_obsModelType == OPT->DCMphaseBias) { 271 if (nSat < 2.0) { 272 LOG << " number of observations < 2\n"; 273 return failure; 274 } 275 } 276 else { 277 if (iObs == -1) { 278 LOG << " number of observations == -1\n"; 279 return failure; 280 } 268 281 } 269 282 -
trunk/BNC/src/PPP/pppSatObs.cpp
r9582 r9583 312 312 retVal = sqrt(retVal); 313 313 314 // De-Weight measurements315 // ----------------------316 if (_prn.system() == 'R') {317 retVal *= 50.0;318 }319 320 314 // Elevation-Dependent Weighting 321 315 // ----------------------------- … … 353 347 354 348 retVal = sqrt(retVal); 355 356 if (_prn.system() == 'R') {357 retVal *= 5.0;358 }359 349 360 350 return retVal;
Note:
See TracChangeset
for help on using the changeset viewer.