Changeset 8925 in ntrip
- Timestamp:
- Apr 30, 2020, 8:11:54 AM (5 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r8903 r8925 301 301 return; 302 302 } 303 readDbl(line, pos[1], fieldLen, _fitInterval); // _fitInterval optional 303 // Rinex 3.04: fitInterval is specified as time period for GPS, 304 // as flag for QZSS and not valid for IRNSS 305 double fitIntervalRnx; 306 readDbl(line, pos[1], fieldLen, fitIntervalRnx); 307 if (type() == t_eph::QZSS) { 308 _fitInterval = fitIntervalFromFlag(fitIntervalRnx, _IODC, t_eph::QZSS); 309 } 304 310 } 305 311 } … … 478 484 } 479 485 else { 486 // Rinex 3.04: fitInterval is specified as flag for QZSS 487 // but as time period for GPS 488 double fitIntervalRnx = _fitInterval; // GPS 489 if (type() == t_eph::QZSS) { 490 (_fitInterval == 2.0) ? fitIntervalRnx = 0.0 : fitIntervalRnx = 1.0; 491 } 480 492 out << QString(fmt) 481 .arg(tot, 19, 'e', 12)482 .arg( _fitInterval, 19, 'e', 12)483 .arg("", 19, QChar(' '))484 .arg("", 19, QChar(' '));493 .arg(tot, 19, 'e', 12) 494 .arg(fitIntervalRnx, 19, 'e', 12) 495 .arg("", 19, QChar(' ')) 496 .arg("", 19, QChar(' ')); 485 497 } 486 498 -
trunk/BNC/src/ephemeris.h
r8799 r8925 143 143 144 144 double _TOT; // Transmission time 145 double _fitInterval; // Fit interval (not valid for IRNSS)145 double _fitInterval; // Fit interval in hours (not valid for IRNSS) 146 146 }; 147 147
Note:
See TracChangeset
for help on using the changeset viewer.