- Timestamp:
- Aug 12, 2012, 12:06:59 PM (12 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r4500 r4501 177 177 // Read Skeleton Header File 178 178 //////////////////////////////////////////////////////////////////////////// 179 void bncRinex::readSkeleton( ) {179 void bncRinex::readSkeleton(bool& obsTypesFound) { 180 180 181 181 // Read the local file … … 206 206 } 207 207 208 obsTypesFound = true; 209 208 210 // Default RINEX v2 Types 209 211 // ------------------------- 210 212 if (_header._obsTypesV2.size() == 0) { 213 if (_header._version < 3.0) { 214 obsTypesFound = false; 215 } 211 216 _header._obsTypesV2 << "C1" << "P1" << "L1" << "S1" 212 217 << "C2" << "P2" << "L2" << "S2"; … … 216 221 // ------------------------- 217 222 if (_header._obsTypesV3.size() == 0) { 223 if (_header._version >= 3.0) { 224 obsTypesFound = false; 225 } 218 226 _header._obsTypesV3['G'] << "C1C" << "L1C" << "D1C" << "S1C" 219 227 << "C1P" << "L1P" << "D1P" << "S1P" … … 383 391 // Copy Skeleton Header 384 392 // -------------------- 385 readSkeleton(); 393 bool obsTypesFound; 394 readSkeleton(obsTypesFound); 386 395 if (_header._markerName.isEmpty()) { 387 396 _header._markerName = _statID; -
trunk/BNC/src/bncrinex.h
r4489 r4501 55 55 static std::string obsToStr(double val, int width = 14, int precision = 3); 56 56 void resolveFileName(const QDateTime& datTim); 57 void readSkeleton( );57 void readSkeleton(bool& obsTypesFound); 58 58 void writeHeader(const QByteArray& format, const QDateTime& datTimNom); 59 59 void closeFile();
Note:
See TracChangeset
for help on using the changeset viewer.