Changeset 7256 in ntrip


Ignore:
Timestamp:
Aug 26, 2015, 5:30:51 PM (9 years ago)
Author:
stuerze
Message:

fixes regarding layer height

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnchelp.html

    r7247 r7256  
    17331733<li>Maximum degree of spherical harmonics</li>
    17341734<li>Maximum order of spherical harmonics</li>
    1735 <li>Height of ionospheric layer [km]</li>
     1735<li>Height of ionospheric layer [m]</li>
    17361736</ul>
    17371737Subsequent records in this block provide the following information:
  • trunk/BNC/src/pppModel.cpp

    r7251 r7256  
    426426  double stec = 0.0;
    427427  for (unsigned ii = 0; ii < vTec->_layers.size(); ii++) {
    428     double layerHeight = vTec->_layers[ii]._height * 1000.0; // m
    429     piercePoint(layerHeight, epoch, geocSta.data(), sphEle, sphAzi);
     428    piercePoint(vTec->_layers[ii]._height, epoch, geocSta.data(), sphEle, sphAzi);
    430429    double vtec = vtecSingleLayerContribution(vTec->_layers[ii]);
    431430    stec += vtec * sin(sphEle * _psiPP);
Note: See TracChangeset for help on using the changeset viewer.