Changeset 6491 in ntrip for trunk/BNC/src/RTCM3


Ignore:
Timestamp:
Dec 28, 2014, 5:54:28 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp

    r6490 r6491  
    368368  // -----------------
    369369  if (_vTEC.NumLayers > 0) {
    370 
     370    vTec._time  = _lastTime;
     371    vTec._staID = _staID.toAscii().data();
     372    for (unsigned ii = 0; ii < _vTEC.NumLayers; ii++) {
     373      const VTEC::IonoLayers& ionoLayer = _vTEC.Layers[ii];
     374      t_vTecLayer layer;
     375      layer._height = ionoLayer.Height;
     376      layer._C.ReSize(ionoLayer.Degree, ionoLayer.Order);
     377      layer._S.ReSize(ionoLayer.Degree, ionoLayer.Order);
     378      for (unsigned iDeg = 0; iDeg < ionoLayer.Degree; iDeg++) {
     379        for (unsigned iOrd = 0; iOrd < ionoLayer.Order; iOrd++) {
     380          layer._C[iDeg][iOrd] = ionoLayer.Cosinus[iDeg][iOrd];
     381          layer._S[iDeg][iOrd] = ionoLayer.Sinus[iDeg][iOrd];
     382        }
     383      }
     384      vTec._layers.push_back(layer);
     385    }
    371386  }
    372387
Note: See TracChangeset for help on using the changeset viewer.