Changeset 11220 in ntrip for trunk/BNC/src/ssrQc.cpp


Ignore:
Timestamp:
Nov 23, 2026, 10:25:45 PM (7 hours ago)
Author:
stuerze
Message:

combination improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ssrQc.cpp

    r11218 r11220  
    508508// the report interval (no reports for hours) and distort all statistics
    509509////////////////////////////////////////////////////////////////////////////
    510 bool t_ssrQc::badEpoch(const string& staID, const bncTime& time) {
    511   if (fabs(currentTime() - time) <= MAX_EPOCH_OFFSET) {
     510bool t_ssrQc::badEpoch(const string& staID, const bncTime& time, bool pastOk) {
     511  double offset = time - currentTime();
     512  if (fabs(offset) <= MAX_EPOCH_OFFSET || (pastOk && offset < 0.0)) {
    512513    return false;
    513514  }
    … …  
    585586  QMutexLocker locker(&_mutex);
    586587  for (const t_satCodeBias& bias : codeBiases) {
    587     if (badEpoch(bias._staID, bias._time)) continue;
     588    if (badEpoch(bias._staID, bias._time, true)) continue;
    588589    bool sel = selected(bias._staID);
    589590    if (_excluded.contains(QString::fromStdString(bias._staID)) && bias._staID != _reference.toStdString()) continue;
    … …  
    635636  QMutexLocker locker(&_mutex);
    636637  for (const t_satPhaseBias& bias : phaseBiases) {
    637     if (badEpoch(bias._staID, bias._time)) continue;
     638    if (badEpoch(bias._staID, bias._time, true)) continue;
    638639    QString staID = QString::fromStdString(bias._staID);
    639640    QString prn   = QString::fromStdString(bias._prn.toString());
Note: See TracChangeset for help on using the changeset viewer.