Changeset 11221 in ntrip
- Timestamp:
- Nov 23, 2026, 11:38:54 PM (less than one hour ago)
- Location:
- trunk/BNC
- Files:
-
- 6 added
- 20 edited
-
CHANGELOG.md (modified) (1 diff)
-
src/RTCM3/RTCM3coDecoder.cpp (modified) (3 diffs)
-
src/RTCM3/RTCM3coDecoder.h (modified) (1 diff)
-
src/bnchelp.html (modified) (2 diffs)
-
src/combination/bnccomb.cpp (modified) (1 diff)
-
src/pppRun.cpp (modified) (6 diffs)
-
src/pppRun.h (modified) (2 diffs)
-
tests/cases/combi/expected/BKG0MGXRTS_20262780000_01D_05S_CLK.CLK.gz (modified) ( previous)
-
tests/cases/combi/expected/BKG0MGXRTS_20262780000_01D_30S_ORB.SP3.gz (modified) ( previous)
-
tests/cases/combi/expected/Combi.log.gz (modified) ( previous)
-
tests/cases/combi_bds_level/expected/BKG0MGXRTS_20263250000_01D_05S_CLK.CLK.gz (modified) ( previous)
-
tests/cases/combi_multi/expected/BKG0MGXRTS_20262750000_01D_05S_CLK.CLK.gz (modified) ( previous)
-
tests/cases/combi_multi/expected/BKG0MGXRTS_20262750000_01D_30S_ORB.SP3.gz (modified) ( previous)
-
tests/cases/combi_multi/expected/Combi.log.gz (modified) ( previous)
-
tests/cases/combi_ppp/expected/BKG0MGXRTS_20262780000_01D_05S_CLK.CLK.gz (modified) ( previous)
-
tests/cases/combi_ppp/expected/BKG0MGXRTS_20262780000_01D_30S_ORB.SP3.gz (modified) ( previous)
-
tests/cases/combi_ppp/expected/CombiPPP.log.gz (modified) ( previous)
-
tests/cases/combi_ppp/expected/FFMJ00DEU_20262780000_01D_01S.ppp.gz (modified) ( previous)
-
tests/cases/combi_refsig/expected/BKG0MGXRTS_20262780000_01D_05S_CLK.CLK.gz (modified) ( previous)
-
tests/cases/combi_refsig/expected/Combi.log.gz (modified) ( previous)
-
tests/cases/ssr_vtec_repeat (added)
-
tests/cases/ssr_vtec_repeat/case.json (added)
-
tests/cases/ssr_vtec_repeat/expected (added)
-
tests/cases/ssr_vtec_repeat/expected/IONO01IGS0_S_20263250000_01H_ION.ssr.gz (added)
-
tests/cases/ssr_vtec_repeat/expected/IONO01IGS1_S_20263250000_01H_ION.ssr.gz (added)
-
tests/data/ssr_vtec_repeat_261121_3min.raw (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/CHANGELOG.md
r11220 r11221 1 1 # Changelog 2 2 ## 2.13.9 (unreleased) 3 - 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 4 - 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 3 5 - CHANGED: **Upload Ephemeris vote: no replacement of an uploaded data set for receiver-dependent fields.** Once a data set is uploaded, a copy differing only in fields which differ legitimately between receivers (URA/URAI/SISA, GPS/QZSS L2 code, L2 P and fit flags, GLONASS Cn/A/P/P1/P3/FT/NA/N4, BDS AODE/AODC) no longer replaces it; receivers keep the first copy anyway, so these replacements only changed the uploaded content back and forth. Before the upload the majority still decides on all fields. Replay 20 Nov 2026 (8 h, 96 input streams): 447 instead of 751 replacements, GPS 43 instead of 329 (up to 8 per data set before, L2code/fit), all 46 health corrections (Bn, ln) unchanged 4 6 - ADDED: **SSR QC: IOD switch delay.** Per stream and system the number of switches of the orbit corrections to a new data set and the delay of the first correction after the reception of the data set by BNC (min / 10 % / median / max), for BDS also after the TOC (full-hour issue); switches back to an older data set are listed per satellite. Shows e.g. Analysis Centers using a new IOD earlier than 60 s after its broadcast (CAS01 BDS, Nov 2026, found by hand before) 5 7 - FIXED: **SSR QC: corrections with an epoch time far from their reception moved the report interval.** A GLONASS epoch of SSRA01SHA1/SSRC01GFZ1 encoded 11758 s ahead (22 Nov 2026 00:10, "differs by 11758 s ... erroneously encoded?") moved the interval to 03:00: no reports for 01 and 02 h, the 03 h report covered 00:10-04:00 with latency maxima of ~650 s, which looked like a caster outage. Corrections more than 900 s from their reception are no longer used and counted per stream in the report (code and phase biases only for a future epoch: Galileo HAS biases keep their reference time, hours before reception; new test ssr_qc_has) 6 8 - FIXED: **Combination: bogus correction epochs.** A clock epoch hours ahead (the same SSRA00SHA1 GLONASS epoch) marked the AC as having delivered all epochs up to then, so that the combination no longer waited for it (its later clocks could be dropped as 'old correction'), and future orbits or biases replaced the stored ones. Clocks are now checked against the current time (60 s) before they count as delivered, orbits more than 900 s and biases more than 900 s in the future are not stored; also in raw file replay (900 s). Logged at most once per hour and AC 9 - FIXED: **Real-time PPP: bogus correction epochs.** The same SSRA00SHA1 GLONASS epoch 11758 s ahead made the affected satellites unusable until their next correction (age check), with 'Wait for clock corr.' discarded the observation epochs received until the next clock message (the last clock epoch was hours ahead) and with AR extrapolated the yaw angle over hours. Orbits, clocks and VTEC more than 900 s from the current time and biases more than 900 s in the future are no longer used (also in raw file replay, not in post-processing); logged at most once per hour and station 7 10 - ADDED: **SSR QC: common outages of the input.** Periods in which at least 75 % (and 3) of the streams have a gap at the same time (caster or network outage) are listed once in each report and no longer counted as gaps of the single streams; the latencies during and up to 120 s after them are left out. New test case ssr_qc_outage 8 11 - FIXED: **Combination (Kalman filter): jumps of the clock level of a system when a satellite is missing in one epoch.** The sum of the combined clocks was fixed to zero over the satellites of each epoch; a satellite not combined in an epoch (master AC without its correction, e.g. its correction referred to an ephemeris not yet received at the hourly BDS ephemeris change) shifted all other clocks of the system by its clock divided by the number of satellites and back at the next epoch. IGS03 20-23 Nov 2026: BDS jumps of 0.7-1.4 m in 22 of 57 hours, mostly at hh:01, once -4.9 m (15 satellites missing). Now the sum over the satellites also combined in the previous epoch keeps its value (previous clocks converted to the current ephemeris), relaxing to zero with a time constant of 1 h; after a gap > 60 s it is zero. Clocks relative to each other and orbits unchanged; replay 21 Nov 18:30-22:00: no common jumps, levels G/R/E within 0.15 m of before. New test case combi_bds_level, tool tests/tools/clkjumps.py -
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r11194 r11221 111 111 _providerID[2] = -1; 112 112 113 _vTecMoreFollows = false; 114 113 115 for (unsigned s = 0; s < CLOCKORBIT_SATNUM; s++) { 114 116 _antennaReceived[s] = false; … … 302 304 emit newLogRecord(t_logRecord::message(t_logRecord::warning, "RTCM3coDecoder: _lastTime invalid: " + _staID.toLatin1()), true); 303 305 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); 304 312 } 305 313 // Keep _phaseBias intact: an Extended Phase Bias message (COBOFS_PBEXT) … … 670 678 // ----------------- 671 679 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 } 672 687 _vTecMap[_lastTime]._time = _lastTime; 673 688 _vTecMap[_lastTime]._updateInt = _vTEC.UpdateInterval; -
trunk/BNC/src/RTCM3/RTCM3coDecoder.h
r11194 r11221 137 137 unsigned int _phaseBiasSentEpoch[CLOCKORBIT_SATNUM]; 138 138 bool _antennaReceived[CLOCKORBIT_SATNUM]; 139 bool _vTecMoreFollows; // last VTEC message had MMI 1: the next one continues its epoch 139 140 unsigned int _antennaSentProviderID[CLOCKORBIT_COUNTSAT]; 140 141 unsigned int _antennaSentIOD[CLOCKORBIT_COUNTSAT]; -
trunk/BNC/src/bnchelp.html
r11220 r11221 7797 7797 </p> 7798 7798 <p> 7799 In real-time PPP (also in the replay of a raw file), corrections with an epoch time more than 900 seconds from the 7800 current time, e.g. an erroneously encoded GLONASS epoch hours ahead, are not used: they would make the satellites 7801 unusable until the next correction and, with 'Wait for clock corr.', discard the observation epochs received in 7802 the meantime. Code and phase biases are only rejected for a future epoch, as their epoch may legitimately be hours 7803 old (Galileo HAS). Such an epoch is reported in the logfile at most once per hour, e.g. 'WTZR00DEU0: PPP: 7804 SSRA00SHA1 orbit correction epoch ... is 11116 s from the current time, not used'. 7805 </p> 7806 <p> 7799 7807 Default is an empty option field, meaning that you want BNC to process observations immediately after their arrival 7800 7808 through applying the latest received clock correction. … … 8342 8350 dC_frame = Orb_AC * (Orb_AC - Orb_MasterAC) / Range_sat 8343 8351 </pre> 8352 with Orb_AC and Orb_MasterAC the satellite positions of the broadcast ephemeris corrected by the SSR orbit 8353 correction of the respective AC, i.e. the radial difference of the two orbits, which the clock of the AC absorbs. 8344 8354 <pre> 8345 8355 dC_att = (yawAngle_MasterAC - yawAngle_AC) / (2*PI) * wavelength(IF) -
trunk/BNC/src/combination/bnccomb.cpp
r11220 r11221 2596 2596 } 2597 2597 else { 2598 corr->_satPos = xc.Rows(1,3); 2598 // Position with the AC's orbit correction (referred to ephLast by 2599 // switchToLastEph): the broadcast position alone is the same for 2600 // all ACs, so dC_orb was always zero (since r10820) and the clocks 2601 // of the ACs were not made consistent with the master orbit, e.g. 2602 // R23 of the GLONASS master CHC00 0.33 m radial off (Nov 2026) 2603 ColumnVector xB = xc.Rows(1,3); 2604 ColumnVector vFrame = corr->_eph->ssrFrameVel(xc, vv); // GEO: inertial velocity 2605 double dtO = corr->_time - corr->_orbCorr._time; 2606 ColumnVector dRAO = corr->_orbCorr._xr + corr->_orbCorr._dotXr * dtO; 2607 ColumnVector dX(3); 2608 RSW_to_XYZ(xB, vFrame, dRAO, dX); 2609 corr->_satPos = xB - dX; // SSR: corrected position = broadcast - correction 2599 2610 } 2600 2611 } -
trunk/BNC/src/pppRun.cpp
r11196 r11221 500 500 501 501 // 502 // Real-time input (incl. raw file replay): true if the correction epoch is 503 // more than MAX_EPOCH_OFFSET from the current time, e.g. an erroneously 504 // encoded GLONASS epoch hours ahead (not used, as in the combination and the 505 // SSR QC). It would make the satellites unusable (age check of the 506 // corrections), discard observation epochs (correction wait time) and 507 // extrapolate the yaw angle over hours until the next correction. Biases 508 // (pastOk) are only rejected for a future epoch: their epoch may legitimately 509 // be hours old (Galileo HAS). A warning at most once per hour. 510 //////////////////////////////////////////////////////////////////////////// 511 bool t_pppRun::badEpoch(const bncTime& epoTime, const string& staID, 512 const char* type, bool pastOk) { 513 const double MAX_EPOCH_OFFSET = 900.0; // [s] 514 if (!_opt->_realTime) { 515 return false; 516 } 517 int currentWeek = 0; 518 double currentSec = 0.0; 519 currentGPSWeeks(currentWeek, currentSec); 520 bncTime currentTime(currentWeek, currentSec); 521 double offset = epoTime - currentTime; 522 if (fabs(offset) <= MAX_EPOCH_OFFSET || (pastOk && offset < 0.0)) { 523 return false; 524 } 525 if (!_badEpochWarned.valid() || currentTime - _badEpochWarned >= 3600.0) { 526 _badEpochWarned = currentTime; 527 emit newLogRecord(t_logRecord::message(t_logRecord::warning, QByteArray(_opt->_roverName.c_str()) + ": PPP: " + 528 QByteArray(staID.c_str()) + " " + type + " correction epoch " + 529 QByteArray(epoTime.datestr().c_str()) + " " + epoTime.timestr().c_str() + 530 QString(" is %1 s from the current time, not used").arg(offset, 0, 'f', 0).toLatin1() + 531 " (further ones not reported within the next hour)"), true); 532 } 533 return true; 534 } 535 536 // 502 537 //////////////////////////////////////////////////////////////////////////// 503 538 void t_pppRun::slotNewTec(t_vTec vTec) { … … 521 556 } 522 557 } 558 if (badEpoch(vTec._time, vTec._staID, "VTEC")) { 559 return; 560 } 523 561 _pppClient->putTec(&vTec); 524 562 } … … 553 591 vector<t_orbCorr*> corrections; 554 592 for (int ii = 0; ii < orbCorr.size(); ii++) { 555 corrections.push_back(new t_orbCorr(orbCorr[ii])); 593 if (!badEpoch(orbCorr[ii]._time, orbCorr[ii]._staID, "orbit")) { 594 corrections.push_back(new t_orbCorr(orbCorr[ii])); 595 } 596 } 597 if (corrections.empty()) { 598 return; 556 599 } 557 600 … … 577 620 vector<t_clkCorr*> corrections; 578 621 for (int ii = 0; ii < clkCorr.size(); ii++) { 579 corrections.push_back(new t_clkCorr(clkCorr[ii])); 580 _lastClkCorrTime = clkCorr[ii]._time; 622 if (!badEpoch(clkCorr[ii]._time, clkCorr[ii]._staID, "clock")) { 623 corrections.push_back(new t_clkCorr(clkCorr[ii])); 624 _lastClkCorrTime = clkCorr[ii]._time; 625 } 626 } 627 if (corrections.empty()) { 628 return; 581 629 } 582 630 _pppClient->putClkCorrections(corrections); … … 611 659 vector<t_satCodeBias*> biases; 612 660 for (int ii = 0; ii < codeBiases.size(); ii++) { 613 biases.push_back(new t_satCodeBias(codeBiases[ii])); 661 if (!badEpoch(codeBiases[ii]._time, codeBiases[ii]._staID, "code bias", true)) { 662 biases.push_back(new t_satCodeBias(codeBiases[ii])); 663 } 664 } 665 if (biases.empty()) { 666 return; 614 667 } 615 668 … … 672 725 vector<t_satPhaseBias*> biases; 673 726 for (int ii = 0; ii < phaseBiases.size(); ii++) { 674 biases.push_back(new t_satPhaseBias(phaseBiases[ii])); 727 if (!badEpoch(phaseBiases[ii]._time, phaseBiases[ii]._staID, "phase bias", true)) { 728 biases.push_back(new t_satPhaseBias(phaseBiases[ii])); 729 } 730 } 731 if (biases.empty()) { 732 return; 675 733 } 676 734 -
trunk/BNC/src/pppRun.h
r11179 r11221 55 55 56 56 private: 57 bool badEpoch(const bncTime& epoTime, const std::string& staID, const char* type, bool pastOk = false); 57 58 class t_epoData { 58 59 public: … … 75 76 std::deque<t_epoData*> _epoData; 76 77 bncTime _lastClkCorrTime; 78 bncTime _badEpochWarned; // last bad-epoch warning (current time) 77 79 t_rnxObsFile* _rnxObsFile; 78 80 t_rnxNavFile* _rnxNavFile;
Note:
See TracChangeset
for help on using the changeset viewer.
