Changeset 9583 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp


Ignore:
Timestamp:
Jan 4, 2022, 2:50:21 PM (2 years ago)
Author:
stuerze
Message:

update regarding PPP

File:
1 edited

Legend:

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

    r9582 r9583  
    119119      if (processSystem(OPT->LCs(sys), obsVector, _refPrn,
    120120                        epoch->pseudoObsIono(), preProcessing) != success) {
    121         LOG << "processSystem !=  success (pre-processing)" << endl;
     121        LOG << sys << ": processSystem !=  success (pre-processing)" << endl;
    122122        _xFlt = xFltOld;
    123123        _QFlt = QFltOld;
     
    240240    // Real Observations
    241241    // =================
     242    double nSat = 0;
    242243    for (unsigned ii = 0; ii < obsVector.size(); ii++) {
    243244      t_pppSatObs* obs = obsVector[ii];
     
    246247      }
    247248      if (!obs->outlier()) {
     249        nSat++;
    248250        for (unsigned jj = 0; jj < usedLCs; jj++) {
    249251          const t_lc::type tLC = LCs[jj];
     
    264266    // Check number of observations
    265267    // ----------------------------
    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      }
    268281    }
    269282
Note: See TracChangeset for help on using the changeset viewer.