Changeset 11228 in ntrip for trunk/BNC/src/orbComp/sp3Comp.h


Ignore:
Timestamp:
Nov 26, 2026, 8:21:15 PM (2 days ago)
Author:
stuerze
Message:

SSP3 comparison with clock RINEX files added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/orbComp/sp3Comp.h

    r11076 r11228  
    6262    std::map<t_prn, double>       _dcRed;
    6363    std::map<t_prn, double>       _sis;   // radial - clock, epoch-wise clock offset removed only
     64    std::set<t_prn>               _orbInterp; // orbit of at least one file interpolated
     65  };
     66
     67  // Orbit positions of one satellite (one SP3 file), sorted by time
     68  class t_orbSeries {
     69   public:
     70    std::vector<bncTime>      _tt;
     71    std::vector<ColumnVector> _xyz;
     72  };
     73
     74  // Contents of one SP3 file
     75  class t_sp3Data {
     76   public:
     77    t_sp3Data() : _sampl(0.0) {}
     78    std::map<bncTime, std::map<t_prn, ColumnVector> > _xyz;  // all positions
     79    std::map<bncTime, std::map<t_prn, double> >       _clk;  // valid clocks [m]
     80    std::map<t_prn, t_orbSeries>                      _series;
     81    double                                            _sampl; // smallest epoch interval [s]
    6482  };
    6583
    … …  
    99117  void compare(std::ostringstream& out) const;
    100118  bool excludeSat(const t_prn& prn) const;
     119  void readSp3(const QString& fileName, t_sp3Data& data) const;
     120  void readClk(const QString& fileName,
     121               std::map<bncTime, std::map<t_prn, double> >& clk) const;
     122  bool orbit(const t_sp3Data& data, const t_prn& prn, const bncTime& tt,
     123             ColumnVector& xyz, bool& interpolated) const;
    101124
    102125  QStringList  _sp3FileNames;
     126  QStringList  _clkFileNames;   // clock RINEX files for SP3 file 1 and 2 (empty: none)
    103127  QString      _logFileName;
    104128  QFile*       _logFile;
Note: See TracChangeset for help on using the changeset viewer.