Ignore:
Timestamp:
Nov 23, 2026, 11:38:54 PM (111 minutes ago)
Author:
stuerze
Message:

some bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp

    r11194 r11221  
    111111  _providerID[2] = -1;
    112112
     113  _vTecMoreFollows = false;
     114
    113115  for (unsigned s = 0; s < CLOCKORBIT_SATNUM; s++) {
    114116    _antennaReceived[s]    = false;
    … …  
    302304          emit newLogRecord(t_logRecord::message(t_logRecord::warning, "RTCM3coDecoder: _lastTime invalid: " + _staID.toLatin1()), true);
    303305          retCode = failure;
     306        }
     307        // A VTEC message with Multiple Message Indicator 1 is continued by the
     308        // next VTEC message of the same epoch (layers appended); any other
     309        // VTEC message starts the record of its epoch anew (sendResults())
     310        if (_vTEC.NumLayers > 0) {
     311          _vTecMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS);
    304312        }
    305313        // Keep _phaseBias intact: an Extended Phase Bias message (COBOFS_PBEXT)
    … …  
    670678  // -----------------
    671679  if (_vTEC.NumLayers > 0) {
     680    // A complete (re)transmission of an epoch already in the map must replace
     681    // it, not add its layers again: IONO01IGS0 repeats each 1264 message up to
     682    // 400 times (Nov 2026), which summed up to 3900 TECU in PPP and SSR QC.
     683    // Only the continuation of a multi-message model (previous MMI 1) appends.
     684    if (!_vTecMoreFollows) {
     685      _vTecMap[_lastTime] = t_vTec();
     686    }
    672687    _vTecMap[_lastTime]._time  = _lastTime;
    673688    _vTecMap[_lastTime]._updateInt =  _vTEC.UpdateInterval;
Note: See TracChangeset for help on using the changeset viewer.