Changeset 8582 in ntrip for branches/BNC_2.12


Ignore:
Timestamp:
Jan 17, 2019, 1:48:28 PM (5 years ago)
Author:
stuerze
Message:

minor changes to prevent G00 entries during SSR generation for orbits and clocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r8579 r8582  
    223223    return;
    224224  }
    225   int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*'); // begin of first epoch
     225  int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*');
    226226  if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there more epoch lines in buffer?
    227227    _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBegEarlier);
     
    236236  }
    237237  else {
    238     lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', QString::SkipEmptyParts);
     238    lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n',
     239        QString::SkipEmptyParts);
    239240    _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
    240241  }
     
    415416    }
    416417
    417     if (eph) {
     418    if (eph  &&
     419        eph->checkState() != t_eph::bad &&
     420        eph->checkState() != t_eph::unhealthy ) {
    418421      QMap<QString, double> codeBiases;
    419422      QList<phaseBiasSignal> phaseBiasList;
     
    539542                                     rtnUra, rtnClk, rtnVel, rtnCoM, rtnClkSig, sd, outLine);
    540543        if (irc != success) {
    541           continue;
     544          // very few cases: check states bad and unhealthy are excluded earlier
     545          sd->ID = prnStr.mid(1).toInt(); // to prevent G00, R00 entries
     546          sd->IOD = eph->IOD();
    542547        }
    543548      }
Note: See TracChangeset for help on using the changeset viewer.