Index: /trunk/BNC/CHANGELOG.md
===================================================================
--- /trunk/BNC/CHANGELOG.md	(revision 11226)
+++ /trunk/BNC/CHANGELOG.md	(revision 11227)
@@ -1,4 +1,5 @@
 # Changelog
 ## 2.13.9 (unreleased)
+- ADDED: **SSR QC: RMS of the VTEC (IGS-SSR message 202).** The IGS-SSR decoder reads message 202 ('Proposal of New IGS-SSR Ionospheric RMS Message', CAS, Dec 2025; same layout as 201); a message shorter than its header is rejected. The RMS maps go to the SSR QC only (not to the .ssr files or PPP): evaluated on the VTEC grid and compared with the differences of the model to the consensus (stated vs actual RMS, differences normalized by the stated RMS, share within 1 and 2 RMS). Replay 20 Nov 2026 22-23 h: IONO00CAS1 stated 1.0-6.3 TECU (RMS 4.2) vs actual 4.5 TECU, normalized RMS 1.23, 67 %/91 % within 1/2 RMS (realistic); SSRC01CAS1 a constant 1.2 TECU (only C00) vs actual 10 TECU; IONO01IGS1 sends 202 with only 80 bits (header incomplete), rejected. New test case ssr_qc_vtec_rms
 - FIXED: **Combination: the orbit consistency correction dC_orb was always zero (since r10820, March 2026).** The radial difference between the orbit of an AC and the master orbit, which keeps the combined clocks consistent with the master orbit, was computed from broadcast positions without the SSR orbit corrections, i.e. identical for all ACs. Orbit differences between the ACs therefore remained in the combined product: IGS02/IGS03 R10 R20 R23 0.6-0.75 m SIS vs. the other ACs in most hours of 20-23 Nov 2026 (radial orbit corrections of the GLONASS master CHC00 0.33 m off for R23). The positions now include the orbit correction of each AC. Replay 21 Nov 2026 (IGS03 inputs, 13 min): R23 SIS vs. the ACs +0.30 -> -0.11 m; PPP with the combined product (combi_ppp) RMS N/E/U 1.1/4.2/10.2 -> 2.9/2.3/1.9 cm. References of combi, combi_refsig, combi_ppp, combi_bds_level, combi_multi updated
 - FIXED: **SSR VTEC: a repeated VTEC message added its layers to the model of its epoch again.** The layers of a VTEC message were appended to the record of its epoch until a newer epoch arrived, so every retransmission of the same epoch added the complete model once more. IONO01IGS0 (RTCM 1264, Nov 2026) repeats each epoch 5 to 400 times, partly out of order and with non-RTCM bytes between the frames: the model reached up to 170 identical layers, i.e. VTEC up to 3900 TECU in PPP, the .ssr files and the SSR QC (14 of 57 hours), while the messages themselves are correct (hand decode: CRC-valid, coefficients up to 22 TECU, identical to IONO01IGS1). A VTEC message now replaces the record of its epoch; only the continuation of a multi-message model (Multiple Message Indicator 1) appends. New test case ssr_vtec_repeat
Index: /trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
===================================================================
--- /trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp	(revision 11226)
+++ /trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp	(revision 11227)
@@ -87,4 +87,7 @@
           BNC_CORE, SLOT(slotNewTec(t_vTec)), conType);
 
+  connect(this, SIGNAL(newTecRms(t_vTec)),
+          BNC_CORE, SLOT(slotNewTecRms(t_vTec)), conType);
+
   connect(this, SIGNAL(newMetaData(t_metaData)),
           BNC_CORE, SLOT(slotNewMetaData(t_metaData)), conType);
@@ -111,5 +114,6 @@
   _providerID[2] = -1;
 
-  _vTecMoreFollows = false;
+  _vTecMoreFollows    = false;
+  _vTecRmsMoreFollows = false;
 
   for (unsigned s = 0; s < CLOCKORBIT_SATNUM; s++) {
@@ -143,4 +147,5 @@
   _phaseBiases.clear();
   _vTecMap.clear();
+  _vTecRmsMap.clear();
   _metaDataMap.clear();
   _satAntennas.clear();
@@ -309,5 +314,10 @@
         // VTEC message starts the record of its epoch anew (sendResults())
         if (_vTEC.NumLayers > 0) {
-          _vTecMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS);
+          if (_vTEC.RmsMap) {
+            _vTecRmsMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS);
+          }
+          else {
+            _vTecMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS);
+          }
         }
         // Keep _phaseBias intact: an Extended Phase Bias message (COBOFS_PBEXT)
@@ -682,10 +692,14 @@
     // 400 times (Nov 2026), which summed up to 3900 TECU in PPP and SSR QC.
     // Only the continuation of a multi-message model (previous MMI 1) appends.
-    if (!_vTecMoreFollows) {
-      _vTecMap[_lastTime] = t_vTec();
-    }
-    _vTecMap[_lastTime]._time  = _lastTime;
-    _vTecMap[_lastTime]._updateInt =  _vTEC.UpdateInterval;
-    _vTecMap[_lastTime]._staID = _staID.toStdString();
+    // The RMS of the VTEC (IGS-SSR IM202, same layout) is kept apart: it
+    // goes to the SSR QC only, not to the SSR file or PPP.
+    QMap<bncTime, t_vTec>& tecMap = _vTEC.RmsMap ? _vTecRmsMap : _vTecMap;
+    if (!(_vTEC.RmsMap ? _vTecRmsMoreFollows : _vTecMoreFollows)) {
+      tecMap[_lastTime] = t_vTec();
+    }
+    t_vTec& vTec = tecMap[_lastTime];
+    vTec._time  = _lastTime;
+    vTec._updateInt =  _vTEC.UpdateInterval;
+    vTec._staID = _staID.toStdString();
     for (unsigned ii = 0; ii < _vTEC.NumLayers; ii++) {
       const SsrCorr::VTEC::IonoLayers& ionoLayer = _vTEC.Layers[ii];
@@ -700,5 +714,5 @@
         }
       }
-      _vTecMap[_lastTime]._layers.push_back(layer);
+      vTec._layers.push_back(layer);
     }
   }
@@ -936,4 +950,12 @@
     }
   }
+  QMutableMapIterator<bncTime, t_vTec> itTecRms(_vTecRmsMap);
+  while (itTecRms.hasNext()) {
+    itTecRms.next();
+    if (all || itTecRms.key() < _lastTime) {
+      emit newTecRms(itTecRms.value());
+      itTecRms.remove();
+    }
+  }
   QMutableMapIterator<bncTime, t_metaData> itMD(_metaDataMap);
   while (itMD.hasNext()) {
Index: /trunk/BNC/src/RTCM3/RTCM3coDecoder.h
===================================================================
--- /trunk/BNC/src/RTCM3/RTCM3coDecoder.h	(revision 11226)
+++ /trunk/BNC/src/RTCM3/RTCM3coDecoder.h	(revision 11227)
@@ -66,4 +66,5 @@
   void newPhaseBiases(QList<t_satPhaseBias>);
   void newTec(t_vTec);
+  void newTecRms(t_vTec);   // RMS of the VTEC (IGS-SSR IM202), only for the SSR QC
   void newMetaData(t_metaData);
   void newSatAntennas(QList<t_satAntenna>);
@@ -133,4 +134,5 @@
   QMap<bncTime, QList<t_satPhaseBias> > _phaseBiases;
   QMap<bncTime, t_vTec>                 _vTecMap;
+  QMap<bncTime, t_vTec>                 _vTecRmsMap;     // RMS of the VTEC (IM202), not written to the SSR file
   QMap<bncTime, t_metaData>             _metaDataMap;
   QMap<bncTime, QList<t_satAntenna> >   _satAntennas;
@@ -138,4 +140,5 @@
   bool                                  _antennaReceived[CLOCKORBIT_SATNUM];
   bool                                  _vTecMoreFollows; // last VTEC message had MMI 1: the next one continues its epoch
+  bool                                  _vTecRmsMoreFollows; // the same for the RMS of the VTEC (IM202)
   unsigned int                          _antennaSentProviderID[CLOCKORBIT_COUNTSAT];
   unsigned int                          _antennaSentIOD[CLOCKORBIT_COUNTSAT];
Index: /trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit.h
===================================================================
--- /trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit.h	(revision 11226)
+++ /trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit.h	(revision 11227)
@@ -449,4 +449,5 @@
     unsigned int SSRSolutionID;
     unsigned int NumLayers; /* 1-4 */
+    unsigned int RmsMap; /* 1: RMS of the VTEC (IGS-SSR IM202, CAS proposal Dec 2025), 0: VTEC */
     double Quality;
     struct IonoLayers {
Index: /trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_igs.cpp
===================================================================
--- /trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_igs.cpp	(revision 11226)
+++ /trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_igs.cpp	(revision 11227)
@@ -314,4 +314,6 @@
 }
 
+static const unsigned int VTEC_RMS_IGS = 202; // IGS-SSR IM202 (proposal), RMS of IM201
+
 enum GCOB_RETURN SsrCorrIgs::GetSSR(struct ClockOrbit *co, struct CodeBias *cb,struct VTEC *v,
     struct PhaseBias *pb, struct MetaData *md, struct Antenna* a, const char *buffer, size_t size, int *bytesused) {
@@ -357,9 +359,13 @@
     *bytesused = sizeofrtcmblock + 6;
 
-  if (igstype == VTEC_BASE) {
+  // IM202: Ionospheric RMS spherical harmonics ("Proposal of New IGS-SSR
+  // Ionospheric RMS Message", N. Wang, CAS, Dec 2025), same layout as IM201;
+  // a message shorter than its header is rejected (GCOBR_SHORTMESSAGE)
+  if (igstype == VTEC_BASE || igstype == VTEC_RMS_IGS) {
     unsigned int l, o, d;
     if (!v)
       return GCOBR_NOVTECPARAMETER;
     memset(v, 0, sizeof(*v));
+    v->RmsMap = (igstype == VTEC_RMS_IGS) ? 1 : 0;
     D_GPS_EPOCH_TIME(v->EpochTime)
     D_SSR_UPDATE_INTERVAL(v->UpdateInterval)
Index: /trunk/BNC/src/bnccore.cpp
===================================================================
--- /trunk/BNC/src/bnccore.cpp	(revision 11226)
+++ /trunk/BNC/src/bnccore.cpp	(revision 11227)
@@ -860,4 +860,11 @@
 }
 
+// RMS of the VTEC (IGS-SSR IM202): passed on to the SSR QC only
+////////////////////////////////////////////////////////////////////////////
+void t_bncCore::slotNewTecRms(t_vTec vTec) {
+  QMutexLocker locker(&_mutex);
+  emit newTecRms(vTec);
+}
+
 //
 ////////////////////////////////////////////////////////////////////////////
Index: /trunk/BNC/src/bnccore.h
===================================================================
--- /trunk/BNC/src/bnccore.h	(revision 11226)
+++ /trunk/BNC/src/bnccore.h	(revision 11227)
@@ -132,4 +132,5 @@
   void slotNewPhaseBiases(QList<t_satPhaseBias>);
   void slotNewTec(t_vTec);
+  void slotNewTecRms(t_vTec);
   void slotNewMetaData(t_metaData);
   void slotNewSatAntennas(QList<t_satAntenna>);
@@ -148,4 +149,5 @@
   void newPhaseBiases(QList<t_satPhaseBias>);
   void newTec(t_vTec);
+  void newTecRms(t_vTec);     // RMS of the VTEC (IGS-SSR IM202), SSR QC only
   void newMetaData(t_metaData);
   void newSatAntennas(QList<t_satAntenna>);
Index: /trunk/BNC/src/bnchelp.html
===================================================================
--- /trunk/BNC/src/bnchelp.html	(revision 11226)
+++ /trunk/BNC/src/bnchelp.html	(revision 11227)
@@ -5561,4 +5561,18 @@
   V VTEC on a global 10 x 15 deg grid: 2.1 ... 65.7 TECU, negative (set to zero) 0.0 %
   V VTEC comparison with consensus of the other ACs (1.0 solutions on average), 12 epochs: mean 3.47 TECU, RMS 7.55 TECU, max |diff| 24.0 TECU
+</pre>
+  <p>
+    Streams which also send the RMS of the VTEC (IGS-SSR message 202, 'Proposal of New IGS-SSR Ionospheric RMS
+    Message', CAS, December 2025: spherical harmonics of the same form as the VTEC) get the RMS map evaluated on the
+    same grid and epochs: the range and RMS of the stated values compared with the actual RMS of the differences to
+    the consensus, and the differences normalized by the stated RMS (RMS of the normalized differences, share of
+    differences within one and two times the stated RMS; for a realistic RMS near 1, 68 % and 95 %, somewhat
+    worse as the consensus has errors of its own). The RMS maps are only used here, not written to the SSR files or
+    used in PPP. A 202 message shorter than its header is rejected by the decoder, e.g.
+  </p>
+  <pre>
+  V VTEC RMS map (IGS-SSR 202): 1 layer(s): 450 km (degree/order 15/15)
+  V VTEC RMS map, 12 epochs: stated RMS 1.0 ... 6.3 TECU (RMS 4.20 TECU), actual RMS of the differences 4.47 TECU, negative (set to zero) 0.0 %
+  V VTEC differences normalized by the stated RMS: RMS 1.23, |diff| <= RMS 67.3 %, <= 2 RMS 91.4 % (normal distribution: 68 %, 95 %)
 </pre>
   <p>
Index: /trunk/BNC/src/ssrQc.cpp
===================================================================
--- /trunk/BNC/src/ssrQc.cpp	(revision 11226)
+++ /trunk/BNC/src/ssrQc.cpp	(revision 11227)
@@ -79,4 +79,5 @@
   const double VTEC_CMP_DELAY = 120.0;  // [s] VTEC epochs compared when data this much newer arrived
   const double VTEC_HIST      = 3600.0; // [s] VTEC models kept for the comparison
+  const double VTEC_RMS_MIN   = 0.05;   // [TECU] stated RMS below this is not used for normalized differences
   const double VTEC_GRID_LAT  = 10.0;   // [deg] grid of the VTEC evaluation, latitudes -80 ... 80
   const double VTEC_GRID_LON  = 15.0;   // [deg]
@@ -196,4 +197,6 @@
   connect(BNC_CORE, SIGNAL(newTec(t_vTec)),
           this, SLOT(slotNewTec(t_vTec)), Qt::DirectConnection);
+  connect(BNC_CORE, SIGNAL(newTecRms(t_vTec)),
+          this, SLOT(slotNewTecRms(t_vTec)), Qt::DirectConnection);
   // combined corrections (stream INTERNAL)
   if (bncComb::exists()) {
@@ -1612,4 +1615,26 @@
 }
 
+// RMS of the VTEC (IGS-SSR IM202, proposal of CAS, Dec 2025): kept for the
+// streams checked, compared with the actual differences in compareVtec()
+////////////////////////////////////////////////////////////////////////////
+void t_ssrQc::slotNewTecRms(t_vTec vTec) {
+  QMutexLocker locker(&_mutex);
+  if (vTec._layers.empty() || badEpoch(vTec._staID, vTec._time) || !selected(vTec._staID)) {
+    return;
+  }
+  QString sta = QString::fromStdString(vTec._staID);
+  QMap<double, t_vTec>& hist = _vtecRmsHist[sta];
+  hist[tKey(vTec._time)] = vTec;
+  while (!hist.isEmpty() && tKey(vTec._time) - hist.firstKey() > VTEC_HIST) {
+    hist.erase(hist.begin());
+  }
+  QStringList layers;
+  for (const t_vTecLayer& layer : vTec._layers) {
+    layers << QString("%1 km (degree/order %2/%3)").arg(layer._height / 1000.0, 0, 'f', 0)
+              .arg(layer._C.Nrows() - 1).arg(layer._C.Ncols() - 1);
+  }
+  _vtecStat[sta].rmsModel = QString("%1 layer(s): %2").arg(vTec._layers.size()).arg(layers.join(", "));
+}
+
 // VTEC [TECU] of a model at a geocentric latitude and longitude [rad] and
 // epoch: spherical harmonics in the sun-fixed frame as used in PPP, sum of
@@ -1720,4 +1745,25 @@
     st.numCmp += 1;
     st.numSol += perSol.size();
+
+    // RMS map of the model (IM202): latest one not newer than the comparison
+    // epoch and not older than the VTEC model used
+    QVector<double> rmsVal;
+    if (_vtecRmsHist.contains(staID)) {
+      const QMap<double, t_vTec>& hist = _vtecRmsHist[staID];
+      QMap<double, t_vTec>::const_iterator it = hist.upperBound(tk);
+      if (it != hist.constBegin()) {
+        --it;
+        if (it.key() >= tKey(models[staID]->_time)) {
+          rmsVal.resize(grid.size());
+          for (int ii = 0; ii < grid.size(); ii++) {
+            bool negative = false;
+            rmsVal[ii] = vtecAt(it.value(), grid[ii].first, grid[ii].second, tt, negative);
+            if (negative) st.numRmsNeg += 1;
+          }
+          st.numRmsCmp += 1;
+        }
+      }
+    }
+
     for (int ii = 0; ii < grid.size(); ii++) {
       QVector<double> solVal;
@@ -1732,4 +1778,20 @@
       st.sDiff2  += diff * diff;
       st.maxAbs   = max(st.maxAbs, fabs(diff));
+      if (!rmsVal.isEmpty()) {
+        double rr = rmsVal[ii];
+        if (st.numRms + st.numRmsZero == 0 || rr < st.minR) st.minR = rr;
+        if (st.numRms + st.numRmsZero == 0 || rr > st.maxR) st.maxR = rr;
+        st.sR2 += rr * rr;
+        st.sD2 += diff * diff;
+        if (rr > VTEC_RMS_MIN) {
+          st.numRms += 1;
+          st.sN2    += (diff / rr) * (diff / rr);
+          if (fabs(diff) <= rr)       st.in1 += 1;
+          if (fabs(diff) <= 2.0 * rr) st.in2 += 1;
+        }
+        else {
+          st.numRmsZero += 1;
+        }
+      }
     }
   }
@@ -1894,4 +1956,27 @@
           else {
             lines << "VTEC not compared: no other model available";
+          }
+          if (!vs.rmsModel.isEmpty()) {
+            lines << "VTEC RMS map (IGS-SSR 202): " + vs.rmsModel;
+          }
+          unsigned numR = vs.numRms + vs.numRmsZero;
+          if (numR) {
+            lines << QString("VTEC RMS map, %1 epochs: stated RMS %2 ... %3 TECU (RMS %4 TECU), "
+                             "actual RMS of the differences %5 TECU, negative (set to zero) %6 %")
+                     .arg(vs.numRmsCmp).arg(vs.minR, 0, 'f', 1).arg(vs.maxR, 0, 'f', 1)
+                     .arg(sqrt(vs.sR2 / numR), 0, 'f', 2).arg(sqrt(vs.sD2 / numR), 0, 'f', 2)
+                     .arg(100.0 * vs.numRmsNeg / numR, 0, 'f', 1);
+            if (vs.numRms) {
+              lines << QString("VTEC differences normalized by the stated RMS: RMS %1, "
+                               "|diff| <= RMS %2 %, <= 2 RMS %3 % (normal distribution: 68 %, 95 %)%4")
+                       .arg(sqrt(vs.sN2 / vs.numRms), 0, 'f', 2)
+                       .arg(100.0 * vs.in1 / vs.numRms, 0, 'f', 1)
+                       .arg(100.0 * vs.in2 / vs.numRms, 0, 'f', 1)
+                       .arg(vs.numRmsZero ? QString(", %1 grid values with RMS <= %2 TECU not normalized")
+                                            .arg(vs.numRmsZero).arg(VTEC_RMS_MIN) : QString());
+            }
+          }
+          else if (!vs.rmsModel.isEmpty()) {
+            lines << "VTEC RMS map not compared: no matching VTEC comparison";
           }
         }
@@ -2253,5 +2338,6 @@
   for (QMap<QString, t_vtecStat>::iterator it = _vtecStat.begin(); it != _vtecStat.end(); ++it) {
     t_vtecStat fresh;
-    fresh.model = it.value().model;
+    fresh.model    = it.value().model;
+    fresh.rmsModel = it.value().rmsModel;
     it.value() = fresh;
   }
Index: /trunk/BNC/src/ssrQc.h
===================================================================
--- /trunk/BNC/src/ssrQc.h	(revision 11226)
+++ /trunk/BNC/src/ssrQc.h	(revision 11227)
@@ -33,4 +33,5 @@
   void slotNewPhaseBiases(QList<t_satPhaseBias> phaseBiases);
   void slotNewTec(t_vTec vTec);
+  void slotNewTecRms(t_vTec vTec);
 
  signals:
@@ -261,8 +262,23 @@
     double   maxVal  = 0.0;
     QString  model;           // layers, heights, degree/order of the latest model
+    // RMS of the VTEC (IGS-SSR IM202): stated RMS r against the difference d
+    // to the consensus at the same grid points
+    QString  rmsModel;        // layers of the latest RMS map
+    unsigned numRmsCmp  = 0;  // compared epochs with an RMS map
+    unsigned numRms     = 0;  // grid values with r > RMS_MIN
+    unsigned numRmsZero = 0;  // grid values with r <= RMS_MIN (not normalized)
+    unsigned numRmsNeg  = 0;  // negative RMS values (set to zero)
+    double   sR2   = 0.0;     // sum r^2 [TECU^2]
+    double   sD2   = 0.0;     // sum d^2 at the same points [TECU^2]
+    double   sN2   = 0.0;     // sum (d/r)^2
+    double   minR  = 0.0;     // [TECU]
+    double   maxR  = 0.0;
+    unsigned in1   = 0;       // |d| <= r
+    unsigned in2   = 0;       // |d| <= 2 r
   };
   void          compareVtec(const bncTime& tt);
   static double vtecAt(const t_vTec& vTec, double lat, double lon, const bncTime& tt, bool& negative);
   QMap<QString, QMap<double, t_vTec> > _vtecHist;  // stream, time
+  QMap<QString, QMap<double, t_vTec> > _vtecRmsHist; // RMS of the VTEC (IM202): stream, time
   QMap<QString, t_vtecStat>            _vtecStat;  // stream
   bncTime                              _nextVtecCmp;
Index: /trunk/BNC/tests/cases/ssr_qc_vtec_rms/case.json
===================================================================
--- /trunk/BNC/tests/cases/ssr_qc_vtec_rms/case.json	(revision 11227)
+++ /trunk/BNC/tests/cases/ssr_qc_vtec_rms/case.json	(revision 11227)
@@ -0,0 +1,15 @@
+{
+  "description": "31_SsrQC replay of VTEC streams with RMS maps (IGS-SSR 202, CAS proposal Dec 2025), 15 min: IONO00CAS1 complete RMS map, SSRC01CAS1 constant RMS map, IONO01IGS1 truncated 202 (rejected, no RMS lines); stated RMS vs differences to the consensus",
+  "config": "Example_Configs/31_SsrQC.bnc",
+  "raw": "data/ssr_qc_vtec_rms_261120_15min.raw",
+  "exit_code": 5,
+  "timeout": 600,
+  "args": [
+    "-key",
+    "ssrQcIntr",
+    "5 min"
+  ],
+  "outputs": [
+    "Output/*_QC.txt"
+  ]
+}
