Changeset 8930 in ntrip for branches/BNC_2.12/src/ephemeris.cpp
- Timestamp:
- Apr 30, 2020, 11:06:06 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/ephemeris.cpp
r8929 r8930 298 298 } 299 299 } 300 301 300 else if ( iLine == 7 ) { 302 301 if ( readDbl(line, pos[0], fieldLen, _TOT) ) { … … 487 486 } 488 487 // fitInterval 489 if (type() == t_eph::IRNSS) { 488 if (type() == t_eph::IRNSS) {// not valid for IRNSS 490 489 out << QString(fmt) 491 490 .arg(tot, 19, 'e', 12) … … 495 494 } 496 495 else { 497 double fitIntervalRnx = _fitInterval; // specified as time period in hours for GPS since RINEX 3.03 498 if (type() == t_eph::GPS && version < 3.03) { // specified as flag in versions < 3.03 499 (_fitInterval == 4.0) ? fitIntervalRnx = 0.0 : fitIntervalRnx = 1.0; 500 } 501 else if (type() == t_eph::QZSS) { // specified as flag for QZSS 496 double fitIntervalRnx; 497 if (type() == t_eph::GPS) { 498 if (version < 3.03) { // specified as flag) 499 (_fitInterval == 4.0) ? fitIntervalRnx = 0.0 : fitIntervalRnx = 1.0; 500 } 501 else { 502 fitIntervalRnx = _fitInterval; // specified as time period in hours 503 } 504 } 505 else if (type() == t_eph::QZSS) { // specified as flag 502 506 (_fitInterval == 2.0) ? fitIntervalRnx = 0.0 : fitIntervalRnx = 1.0; 503 507 }
Note:
See TracChangeset
for help on using the changeset viewer.