Changeset 11194 in ntrip for trunk/BNC/src/ephemeris.h


Ignore:
Timestamp:
Nov 10, 2026, 2:21:34 PM (2 weeks ago)
Author:
stuerze
Message:

IGS-SSR format checked and fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.h

    r11192 r11194  
    3030  bncTime TOC() const {return _TOC;}
    3131  bool    isNewerThan(const t_eph* eph) const;
     32  // IOD of an SSR orbit/clock correction refers to this data set. Galileo:
     33  // IGS-SSR carries the 8 LSBs of IODnav (IGS SSR v1.00 IDF012), RTCM-SSR
     34  // the full 10-bit IODnav (DF459) - compare the 8 LSBs (IODnav values 256
     35  // apart are some days apart, never in the pool at the same time)
     36  bool    matchesSsrIOD(unsigned int iod) const {
     37    return (system() == Galileo) ? ((IOD() & 0xFF) == (iod & 0xFF)) : (IOD() == iod);
     38  }
    3239  bool    sameDataSet(const t_eph* eph) const {return _TOC == eph->_TOC && IOD() == eph->IOD();}
    3340  void    setCheckState(e_checkState checkState) {_checkState = checkState;}
Note: See TracChangeset for help on using the changeset viewer.