Changeset 3858 in ntrip for trunk/BNC/rinex
- Timestamp:
- Apr 12, 2012, 7:32:32 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3857 r3858 651 651 *_stream << dateStr 652 652 << QString("%1%2").arg(flag, 3).arg(epo->rnxSat.size(), 3); 653 for (unsigned i i = 0; ii < epo->rnxSat.size(); ii++) {654 if (i i > 0 && ii% 12 == 0) {653 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 654 if (iSat > 0 && iSat % 12 == 0) { 655 655 *_stream << endl << QString().leftJustified(32); 656 656 } 657 *_stream << epo->rnxSat[i i].satSys658 << QString("%1").arg(epo->rnxSat[i i].satNum, 2);657 *_stream << epo->rnxSat[iSat].satSys 658 << QString("%1").arg(epo->rnxSat[iSat].satNum, 2); 659 659 } 660 660 *_stream << endl; 661 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 662 const t_rnxSat& rnxSat = epo->rnxSat[iSat]; 663 for (unsigned iType = 0; iType < rnxSat.obs.size(); iType++) { 664 if (iType > 0 && iType % 5 == 0) { 665 *_stream << endl; 666 } 667 if (rnxSat.obs[iType] == 0.0) { 668 *_stream << QString().leftJustified(16); 669 } 670 else { 671 *_stream << QString("%1%2%3") 672 .arg(rnxSat.obs[iType], 14, 'f', 3) 673 .arg(rnxSat.lli[iType],1) 674 .arg(rnxSat.snr[iType],1); 675 } 676 } 677 *_stream << endl; 678 } 661 679 662 680 // 09 1 13 2 0 0.0000000 0 9G28G27G20G19G17G11G 8R 7R20
Note:
See TracChangeset
for help on using the changeset viewer.