Changeset 3869 in ntrip
- Timestamp:
- Apr 13, 2012, 12:02:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3868 r3869 670 670 << QString("%1%2").arg(flag, 3).arg(epo->rnxSat.size(), 3); 671 671 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 672 const t_rnxSat& rnxSat = epo->rnxSat[iSat]; 672 673 if (iSat > 0 && iSat % 12 == 0) { 673 674 *_stream << endl << QString().leftJustified(32); 674 675 } 675 *_stream << epo->rnxSat[iSat].satSys 676 << QString("%1").arg(epo->rnxSat[iSat].satNum, 2); 676 *_stream << rnxSat.satSys << QString("%1").arg(rnxSat.satNum, 2); 677 677 } 678 678 *_stream << endl; … … 719 719 << QString("%1%2\n").arg(flag, 3).arg(epo->rnxSat.size(), 3); 720 720 721 } 721 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 722 const t_rnxSat& rnxSat = epo->rnxSat[iSat]; 723 *_stream << rnxSat.satSys 724 << QString("%1").arg(rnxSat.satNum, 2, 10, QChar('0')); 725 for (unsigned iType = 0; iType < rnxSat.obs.size(); iType++) { 726 if (rnxSat.obs[iType] == 0.0) { 727 *_stream << QString().leftJustified(16); 728 } 729 else { 730 *_stream << QString("%1%2%3") 731 .arg(rnxSat.obs[iType], 14, 'f', 3) 732 .arg(rnxSat.lli[iType],1) 733 .arg(rnxSat.snr[iType],1); 734 } 735 } 736 *_stream << endl; 737 } 738 }
Note:
See TracChangeset
for help on using the changeset viewer.