Changeset 3368 in ntrip


Ignore:
Timestamp:
Aug 24, 2011, 10:22:26 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3339 r3368  
    462462    int iObs = 0;
    463463    QListIterator<cmbEpoch*> itEpo(epochs);
     464    QVector<QString> llInfo(ll.Nrows());
    464465    while (itEpo.hasNext()) {
    465466      cmbEpoch* epo = itEpo.next();
     
    481482
    482483        ll(iObs) = corr->dClk * t_CST::c - DotProduct(AA.Row(iObs), x0);
     484        llInfo[iObs-1] = QString("%1  %2").arg(epo->acName).arg(corr->prn);
    483485      }
    484486    }
     
    519521      ColumnVector vv = ll - AA * dx;
    520522
    521       int    maxResIndex;
    522       double maxRes = vv.maximum_absolute_value1(maxResIndex);   
     523      int     maxResIndex;
     524      double  maxRes = vv.maximum_absolute_value1(maxResIndex);   
    523525      out.setRealNumberNotation(QTextStream::FixedNotation);
    524526      out.setRealNumberPrecision(3); 
    525       out << "Maximum Residuum " << maxRes << " (index " << maxResIndex << ")\n";
     527      out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss")
     528          << " Maximum Residuum " << maxRes << ' '
     529          << llInfo[maxResIndex-1];
    526530
    527531      if (maxRes > _MAXRES) {
    528         out << "Outlier Detected" << endl;
     532        out << "Outlier" << endl;
    529533        _QQ = QQ_sav;
    530534        AA.Row(maxResIndex) = 0.0;
     
    532536      }
    533537      else {
     538        out << "OK" << endl;
    534539        break;
    535540      }
Note: See TracChangeset for help on using the changeset viewer.