Changeset 9579 in ntrip for trunk/BNC


Ignore:
Timestamp:
Dec 21, 2021, 2:02:02 PM (3 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppFilter.cpp

    r9577 r9579  
    344344        // for refSats no ambiguity parameter exists
    345345         if ((obs->prn() == refPrn) &&
    346              (t_lc::toString(maxOutlierLC) == "l1" ||
    347               t_lc::toString(maxOutlierLC) == "l2") ) {
     346             (t_lc::toString(maxOutlierLC) == "l1" ||  t_lc::toString(maxOutlierLC) == "l2" ||
     347              t_lc::toString(maxOutlierLC) == "c1" ||  t_lc::toString(maxOutlierLC) == "c2" )) {
    348348           _obsPool->setRefSatChangeRequired(sys, true);
    349349           LOG << epoTimeStr << " Outlier ("
     
    540540      LOG << string(_epoTime) << " ADD IONO_NOISE TO "  <<  par->prn().toString() << endl;
    541541      par->setIndex(ind);
    542       _QFlt(ind+1,ind+1) += par->sigma0() * par->sigma0();
     542      _QFlt(ind+1,ind+1) = par->sigma0() * par->sigma0();
    543543      irc = success;
    544544    }
     
    786786  _xFlt =  _datumTrafo->D21() * xFltOld;
    787787
    788 //#ifdef BNC_DEBUG_PPP
     788#ifdef BNC_DEBUG_PPP
    789789  LOG << "xFltOld:\n" << xFltOld << endl;
    790790  LOG << "xFlt   :\n" << _xFlt   << endl;
    791 //#endif
     791#endif
    792792
    793793  // Reset Ambiguities after Datum Transformation
     
    799799    if (refPrnNew != refPrnOld) {
    800800      t_irc irc = resetAmb(refPrnOld, allObs);
    801       if (OPT->_obsModelType == OPT->DCMcodeBias) {
    802         if (irc == success) {
    803           addNoiseToIono(sys);
    804         }
    805       }
    806801    }
    807802  }
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9578 r9579  
    315315  // ----------------------
    316316  if (_prn.system() == 'R' ) {
    317     if (t_lc::includesCode(tLC)) {
    318       retVal *= 100.0;
    319     }
     317    retVal *= 5.0;
    320318  }
    321319
     
    356354  retVal = sqrt(retVal);
    357355
    358   if (_prn.system() == 'R'  && t_lc::includesCode(tLC)) {
    359     retVal *= 2.0;
     356  if (_prn.system() == 'R' ) {
     357    retVal *= 5.0;
    360358  }
    361359
Note: See TracChangeset for help on using the changeset viewer.