Changeset 3497 in ntrip for trunk/BNC


Ignore:
Timestamp:
Nov 6, 2011, 11:37:25 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

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

    r3490 r3497  
    541541  // Check Satellite Positions for Outliers
    542542  // --------------------------------------
    543   if (checkOrbits() != success) {
     543  if (checkOrbits(out) != success) {
    544544    return failure;
    545545  }
     
    849849  // Check Satellite Positions for Outliers
    850850  // --------------------------------------
    851   if (checkOrbits() != success) {
     851  if (checkOrbits(out) != success) {
    852852    return failure;
    853853  }
     
    998998// Check Satellite Positions for Outliers
    999999////////////////////////////////////////////////////////////////////////////
    1000 t_irc bncComb::checkOrbits() {
     1000t_irc bncComb::checkOrbits(QTextStream& out) {
    10011001
    10021002  const double MAX_DISPLACEMENT = 0.20;
     
    10671067        double norm = corr->diffRao.norm_Frobenius();
    10681068        if (norm > MAX_DISPLACEMENT) {
     1069          out << _resTime.datestr().c_str()    << " "
     1070              << _resTime.timestr().c_str()    << " "
     1071              << "Orbit Outlier: "
     1072              << corr->acName.toAscii().data() << " "
     1073              << prn.toAscii().data()          << " "
     1074              << corr->iod                     << " "
     1075              << norm                          << endl;
    10691076          im.remove();
    10701077          removed = true;
     
    10781085  }
    10791086
    1080 //  //// beg test
    1081 //  QVectorIterator<cmbCorr*> it(corrs());
    1082 //  while (it.hasNext()) {
    1083 //    cmbCorr* corr = it.next();
    1084 //    QString  prn  = corr->prn;
    1085 //    cout << corr->acName.toAscii().data() << " " << prn.toAscii().data() << " "
    1086 //         << corr->iod << " " << corr->diffRao.t();
    1087 //  }
    1088 //  cout << endl;
    1089 //  //// end tets
    1090 
    10911087  return success;
    10921088}
  • trunk/BNC/combination/bnccomb.h

    r3488 r3497  
    8888  void printResults(QTextStream& out, const QMap<QString, t_corr*>& resCorr);
    8989  void switchToLastEph(const t_eph* lastEph, t_corr* corr);
    90   t_irc checkOrbits();
     90  t_irc checkOrbits(QTextStream& out);
    9191
    9292  QVector<cmbCorr*>& corrs() {return _buffer[_resTime].corrs;}
Note: See TracChangeset for help on using the changeset viewer.