Changeset 11066 in ntrip for trunk/BNC/src/bncantex.h


Ignore:
Timestamp:
Oct 5, 2026, 12:31:32 PM (4 weeks ago)
Author:
stuerze
Message:

further fixes and initial import for ssr qc

File:
1 edited

Legend:

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

    r11047 r11066  
    4343  QString snxCodeSinexString(const std::string& antName);
    4444  double  satCorr(const QString& prn, t_frequency::type frqType,
    45                   double eleSat, double azSat, bool& found) const;
     45                  double eleSat, double azSat, bool& found,
     46                  const bncTime& epoch = bncTime()) const;
    4647  double  rcvCorr(const std::string& antName, t_frequency::type frqType,
    4748                  double eleSat, double azSat, bool& found) const;
    … …  
    5051  // empty if unknown
    5152  QString satBlockType(const QString& prn, const bncTime& epoch) const;
     53  QString info() const;
     54  bool    hasSatEntry(const QString& prn, const bncTime& epoch) const {return satMap(prn, epoch) != 0;}
     55  bool    warnNoSatEntry(const QString& prn, const bncTime& epoch) const;
    5256
    5357  // Attitude model selection for satCoMcorrection().
    … …  
    178182      dZen    = 0.0;
    179183      snxCode = "";
     184      isSat   = false;
    180185    }
    181186    ~t_antMap() {
    … …  
    192197    double                             dZen;
    193198    QString                            snxCode;
     199    bool                               isSat;
    194200    QMap<t_frequency::type, t_frqMap*> frqMap;
    195201    bncTime                            validFrom;
    … …  
    197203  };
    198204
    199   QMap<QString, t_antMap*> _maps;
    200 
    201   // Block type history per satellite PRN. _maps keeps only the last ANTEX
    202   // entry per PRN, which is wrong for epochs before a PRN was reassigned.
     205  const t_antMap* satMap(const QString& prn, const bncTime& epoch) const;
     206
     207  QString                  _fileName;
     208  QMap<QString, t_antMap*> _maps;     // receiver antennas
     209  // All entries per satellite PRN (a PRN is reassigned to new satellites),
     210  // the entry valid at the epoch is selected via VALID FROM / VALID UNTIL
     211  QMap<QString, QVector<t_antMap*> > _satMaps;
     212  mutable QMap<QString, bncTime>     _noSatEntryWarned; // last warning per PRN
     213
     214  // Block type history per satellite PRN
    203215  struct t_satBlock {
    204216    bncTime validFrom;
Note: See TracChangeset for help on using the changeset viewer.