Changeset 6252 in ntrip


Ignore:
Timestamp:
Oct 22, 2014, 9:56:20 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6229 r6252  
    435435    t_rnxObsFile::t_rnxSat rnxSat;
    436436    rnxSat.prn = satObs._prn;
     437
     438    // Initialize all observations mentioned in skeleton header
     439    // --------------------------------------------------------
     440    char sys = rnxSat.prn.system();
     441    for (int iType = 0; iType < _sklHeader.nTypes(sys); iType++) {
     442      QString type = _sklHeader.obsType(sys, iType);
     443      t_rnxObsFile::t_rnxObs rnxObs; // create an empty observation
     444      rnxSat.obs[type] = rnxObs;
     445    }
     446
    437447    for (unsigned ii = 0; ii < satObs._obs.size(); ii++) {
    438448      const t_frqObs* frqObs = satObs._obs[ii];
Note: See TracChangeset for help on using the changeset viewer.