Changeset 9604 in ntrip


Ignore:
Timestamp:
Jan 17, 2022, 9:18:00 AM (2 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

    r9602 r9604  
    266266    // Check number of observations
    267267    // ----------------------------
    268     if (!preProcessing) {
    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    if (iObs == -1) {
     269      LOG << " number of observations == -1\n";
     270      return failure;
     271    }
     272    if (!preProcessing &&
     273        (OPT->_obsModelType == OPT->DCMcodeBias ||
     274         OPT->_obsModelType == OPT->DCMphaseBias))  {
     275      if (nSat < 2.0) {
     276        LOG << " number of observations < 2\n";
     277        return failure;
    281278      }
    282279    }
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9603 r9604  
    389389
    390390  if (_prn.system() == 'R' &&  t_lc::includesCode(tLC)) {
    391     retVal *= 5.0;
     391    if (OPT->_obsModelType == OPT->DCMphaseBias) {
     392      retVal *= 5.0;
     393    } else {
     394      retVal *= 2.0;
     395    }
    392396  }
    393397
Note: See TracChangeset for help on using the changeset viewer.