Changeset 8084 in ntrip for trunk/BNC/src/bncsp3.cpp


Ignore:
Timestamp:
Mar 23, 2017, 1:12:50 PM (7 years ago)
Author:
stuerze
Message:

minor changes: IGS08 => IGS14

File:
1 edited

Legend:

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

    r6533 r8084  
    1212 * Created:    25-Apr-2008
    1313 *
    14  * Changes:   
     14 * Changes:
    1515 *
    1616 * -----------------------------------------------------------------------*/
     
    3535  if (!_stream.good()) {
    3636    throw "t_sp3File: cannot open file " + fileName;
    37   } 
     37  }
    3838
    3939  while (_stream.good()) {
     
    4747// Constructor
    4848////////////////////////////////////////////////////////////////////////////
    49 bncSP3::bncSP3(const QString& sklFileName, const QString& intr, int sampl) 
     49bncSP3::bncSP3(const QString& sklFileName, const QString& intr, int sampl)
    5050  : bncoutf(sklFileName, intr, sampl) {
    5151  _inpOut    = output;
     
    6363// Write One Epoch
    6464////////////////////////////////////////////////////////////////////////////
    65 t_irc bncSP3::write(int GPSweek, double GPSweeks, const QString& prn, 
     65t_irc bncSP3::write(int GPSweek, double GPSweeks, const QString& prn,
    6666                    const ColumnVector& xCoM, double sp3Clk) {
    6767
     
    8080      }
    8181
    82       // Print the new epoch 
     82      // Print the new epoch
    8383      // -------------------
    8484      _out << "*  " << epoTime.datestr(' ') << ' ' << epoTime.timestr(8, ' ') << endl;
     
    9292         << setw(14) << setprecision(6) << xCoM(3) / 1000.0
    9393         << setw(14) << setprecision(6) << sp3Clk * 1e6 << endl;
    94    
     94
    9595    return success;
    9696  }
     
    120120  double dayfrac;
    121121  mjdFromDateAndTime(datTim, mjd, dayfrac);
    122  
     122
    123123  int numEpo = _numSec;
    124124  if (_sampl > 0) {
     
    126126  }
    127127
    128   _out << "#aP" << datTim.toString("yyyy MM dd hh mm").toAscii().data() 
     128  _out << "#aP" << datTim.toString("yyyy MM dd hh mm").toAscii().data()
    129129       << setw(12) << setprecision(8) << sec
    130        << " " << setw(7) << numEpo << " ORBIT IGS08 HLM  IGS" << endl;
    131 
    132   _out << "## " 
     130       << " " << setw(7) << numEpo << " ORBIT IGS14 HLM  IGS" << endl;
     131
     132  _out << "## "
    133133       << setw(4)  << GPSWeek
    134134       << setw(16) << setprecision(8) << GPSWeeks
     
    186186    t_sp3Sat* sp3Sat = new t_sp3Sat();
    187187    istringstream in(_lastLine.substr(1).c_str());
    188     in >> sp3Sat->_prn >> sp3Sat->_xyz(1) >> sp3Sat->_xyz(2) >> sp3Sat->_xyz(3) >> sp3Sat->_clk; 
     188    in >> sp3Sat->_prn >> sp3Sat->_xyz(1) >> sp3Sat->_xyz(2) >> sp3Sat->_xyz(3) >> sp3Sat->_clk;
    189189
    190190    if (sp3Sat->_xyz.norm_Frobenius() == 0.0) {
Note: See TracChangeset for help on using the changeset viewer.