Changeset 521 in ntrip


Ignore:
Timestamp:
Oct 18, 2007, 2:29:08 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r520 r521  
    195195
    196196    if (RINEX_3) {
    197       line.sprintf("G%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e\n",
     197      line.sprintf("G%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e",
    198198                   ep->satellite, datTim.date().year(),
    199199                   datTim.date().month(), datTim.date().day(),
     
    203203    }
    204204    else {
    205       line.sprintf("%02d %02d %02d %02d %02d %02d%05.1f%19.12e%19.12e%19.12e\n",
     205      line.sprintf("%02d %02d %02d %02d %02d %02d%05.1f%19.12e%19.12e%19.12e",
    206206                   ep->satellite, datTim.date().year()%100,
    207207                   datTim.date().month(), datTim.date().day(),
     
    212212    *_ephStream << line << endl;
    213213
    214     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", (double)ep->IODE,
     214    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", (double)ep->IODE,
    215215                 ep->Crs, ep->Delta_n, ep->M0);
    216216    *_ephStream << line << endl;
    217217   
    218     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->Cuc,
     218    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", ep->Cuc,
    219219                 ep->e, ep->Cus, ep->sqrt_A);
    220220    *_ephStream << line << endl;
    221221
    222     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n",
     222    line.sprintf("   %19.12e%19.12e%19.12e%19.12e",
    223223                 (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis);
    224224    *_ephStream << line << endl;
    225225   
    226     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->i0,
     226    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", ep->i0,
    227227                 ep->Crc, ep->omega, ep->OMEGADOT);
    228228    *_ephStream << line << endl;
     
    234234    if(ii & GPSEPHF_L2PCODE)
    235235      dd += 1.0;
    236     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->IDOT, dd,
     236    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", ep->IDOT, dd,
    237237                 (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0);
    238238    *_ephStream << line << endl;
     
    244244    /* 15 indicates not to use satellite. We can't handle this special
    245245       case, so we create a high "non"-accuracy value. */
    246     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", dd,
     246    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", dd,
    247247                 ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC));
    248248    *_ephStream << line << endl;
    249249
    250     line.sprintf("   %19.12e%19.12e\n", ((double)ep->TOW), 0.0);
     250    line.sprintf("   %19.12e%19.12e", ((double)ep->TOW), 0.0);
    251251    *_ephStream << line << endl;
    252252
Note: See TracChangeset for help on using the changeset viewer.