- Timestamp:
- Sep 11, 2014, 12:32:27 PM (10 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcedit.cpp
r5378 r6118 216 216 t_rnxObsFile outObsFile(_outObsFileName, t_rnxObsFile::output); 217 217 218 // Select observation types 219 // ------------------------ 220 bncSettings settings; 221 QStringList useObsTypes = settings.value("reqcUseObsTypes").toString().split(" ", QString::SkipEmptyParts); 222 218 223 // Loop over all input observation files 219 224 // ------------------------------------- … … 226 231 } 227 232 if (ii == 0) { 228 outObsFile.setHeader(obsFile->header(), _rnxVersion );233 outObsFile.setHeader(obsFile->header(), _rnxVersion, useObsTypes); 229 234 if (_begTime.valid() && _begTime > outObsFile.startTime()) { 230 235 outObsFile.setStartTime(_begTime); -
trunk/BNC/src/rinex/rnxobsfile.h
r5932 r6118 139 139 140 140 const t_rnxObsHeader& header() const {return _header;} 141 void setHeader(const t_rnxObsHeader& header, double version );141 void setHeader(const t_rnxObsHeader& header, double version, const QStringList& useObsTypes); 142 142 void checkNewHeader(const t_rnxObsHeader& header); 143 143 void writeEpoch(const t_rnxEpo* epo); … … 154 154 155 155 private: 156 enum e_trafo {trafoNone, trafo2to 3, trafo3to2};156 enum e_trafo {trafoNone, trafo2to2, trafo3to3, trafo2to3, trafo3to2}; 157 157 158 158 t_rnxObsFile() {}; … … 165 165 t_rnxEpo* nextEpochV3(); 166 166 void handleEpochFlag(int flag, const QString& line, bool& headerReRead); 167 bool useType(const QStringList& useObsTypes, const QString& type); 167 168 169 QMap<int, int> _indexMap2to2; 170 QMap<char, QMap<int, int> > _indexMap3to3; 168 171 QMap<char, QMap<int, int> > _indexMap2to3; 169 172 QMap<char, QMap<int, int> > _indexMap3to2;
Note:
See TracChangeset
for help on using the changeset viewer.