Changeset 3966 in ntrip for trunk/BNC/rinex
- Timestamp:
- Apr 20, 2012, 12:17:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/rinex/rnxobsfile.cpp ΒΆ
r3965 r3966 812 812 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { 813 813 const t_rnxSat& rnxSat = epo->rnxSat[iSat]; 814 for (unsigned iType = 0; iType < rnxSat.obs.size(); iType++) { 815 if (iType > 0 && iType % 5 == 0) { 814 for (unsigned iTypeOld = 0; iTypeOld < rnxSat.obs.size(); iTypeOld++) { 815 816 int iTypeNew; 817 if (_trafo == trafoNone) { 818 iTypeNew = iTypeOld; 819 } 820 else { 821 iTypeNew = _indexMap3to2[rnxSat.satSys][iTypeOld]; 822 if (iTypeNew == -1) { 823 continue; 824 } 825 } 826 827 if (iTypeNew > 0 && iTypeNew % 5 == 0) { 816 828 *_stream << endl; 817 829 } 818 if (rnxSat.obs[iType] == 0.0) { 830 if (rnxSat.obs[iTypeNew] == 0.0) { 819 831 *_stream << QString().leftJustified(16); 820 832 } 821 833 else { 822 834 *_stream << QString("%1%2%3") 823 .arg(rnxSat.obs[iType], 14, 'f', 3) 824 .arg(rnxSat.lli[iType],1) 825 .arg(rnxSat.snr[iType],1); 835 .arg(rnxSat.obs[iTypeNew], 14, 'f', 3) 836 .arg(rnxSat.lli[iTypeNew],1) 837 .arg(rnxSat.snr[iTypeNew],1); 826 838 } 827 839 }
Note:
See TracChangeset
for help on using the changeset viewer.