Changeset 11057 in ntrip for trunk/BNC/src/bncrinex.cpp


Ignore:
Timestamp:
Sep 30, 2026, 11:30:26 AM (6 days ago)
Author:
stuerze
Message:

bug fixes resulting from overall tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncrinex.cpp

    r11047 r11057  
    581581    rnxSat.prn = satObs._prn;
    582582
    583     // Initialize all observations mentioned in skeleton header
    584     // --------------------------------------------------------
     583    // Initialize all observations mentioned in the output header
     584    // (from the skeleton or, if none is usable, the default header;
     585    // _sklHeader is empty or holds 2-char types in the latter case)
     586    // ----------------------------------------------------------
    585587    char sys = rnxSat.prn.system();
    586     for (int iType = 0; iType < _sklHeader.nTypes(sys); iType++) {
    587       QString type = _sklHeader.obsType(sys, iType);
     588    for (int iType = 0; iType < _header.nTypes(sys); iType++) {
     589      QString type = _header.obsType(sys, iType);
    588590      t_rnxObsFile::t_rnxObs rnxObs; // create an empty observation
    589591      rnxSat.obs[type] = rnxObs;
Note: See TracChangeset for help on using the changeset viewer.