- Timestamp:
- Oct 24, 2014, 4:55:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6258 r6259 1119 1119 void t_rnxObsFile::setObsFromRnx(const t_rnxObsFile* rnxObsFile, const t_rnxObsFile::t_rnxEpo* epo, 1120 1120 const t_rnxObsFile::t_rnxSat& rnxSat, t_satObs& obs) { 1121 1122 1121 obs._staID = rnxObsFile->markerName().toAscii().constData(); 1123 1122 obs._prn = rnxSat.prn; … … 1126 1125 char sys = rnxSat.prn.system(); 1127 1126 1127 QChar addToL2; 1128 1128 for (int iType = 0; iType < rnxObsFile->nTypes(sys); iType++) { 1129 1129 QString type = rnxObsFile->obsType(sys, iType); 1130 1130 QString typeV3 = rnxObsFile->obsType(sys, iType, 3.0); // may or may not differ from type 1131 if (rnxSat.obs.contains(type) && rnxSat.obs[type].value != 0.0) { 1132 if (type == "P2" && typeV3.length() > 2) { 1133 addToL2 = typeV3[2]; 1134 break; 1135 } 1136 } 1137 } 1138 1139 for (int iType = 0; iType < rnxObsFile->nTypes(sys); iType++) { 1140 QString type = rnxObsFile->obsType(sys, iType); 1141 QString typeV3 = rnxObsFile->obsType(sys, iType, 3.0); // may or may not differ from type 1142 if (type == "L2") { 1143 typeV3 += addToL2; 1144 } 1131 1145 if (rnxSat.obs.contains(type)) { 1132 1146 const t_rnxObs& rnxObs = rnxSat.obs[type];
Note:
See TracChangeset
for help on using the changeset viewer.