Changeset 6505 in ntrip


Ignore:
Timestamp:
Dec 29, 2014, 3:15:36 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6504 r6505  
    153153////////////////////////////////////////////////////////////////////////////
    154154void t_satCodeBias::readEpoch(const string& epoLine, std::istream& in, QList<t_satCodeBias>& biasList) {
     155  bncTime epoTime;
     156  int     numSat;
     157  string  staID;
     158  if (t_corrSSR::readEpoLine(epoLine, epoTime, numSat, staID) != t_corrSSR::codeBias) {
     159    return;
     160  }
     161  for (int ii = 0; ii < numSat; ii++) {
     162    t_satCodeBias satCodeBias;
     163
     164    string line;
     165    getline(in, line);
     166    istringstream in(line.c_str());
     167   
     168    in >> satCodeBias._prn;
     169
     170    while (in.good()) {
     171      t_frqCodeBias frqCodeBias;
     172      in >> frqCodeBias._rnxType2ch >> frqCodeBias._value;
     173      if (!frqCodeBias._rnxType2ch.empty()) {
     174        satCodeBias._bias.push_back(frqCodeBias);
     175      }
     176    }
     177
     178    biasList.push_back(satCodeBias);
     179  }
    155180}
    156181
Note: See TracChangeset for help on using the changeset viewer.