Changeset 7847 in ntrip for trunk/BNC/src/bncephuser.cpp


Ignore:
Timestamp:
Mar 18, 2016, 10:28:12 AM (6 years ago)
Author:
stuerze
Message:

QZSS ephemeris time of validity is extended because it is encoded together with GPS ephemerides and the validity for QZSS orbit parameters is 7200 second at minimum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncephuser.cpp

    r7716 r7847  
    224224  }
    225225  else if (eph->type() == t_eph::QZSS) {
    226     if (timeDiff > 1*1800) {
     226    if (timeDiff > 4*3600) { // orbit parameters are valid for 7200 seconds (at minimum)
    227227      eph->setCheckState(t_eph::outdated);
    228228      return;
     
    257257
    258258    // some lines to allow update of ephemeris data sets after outage
    259     if      (eph->type() == t_eph::GPS    && dt > 4*3600) {
     259    if      (eph->type() == t_eph::GPS     && dt > 4*3600) {
    260260      ephL->setCheckState(t_eph::outdated);
    261261      return;
     
    269269      return;
    270270    }
    271     else if (eph->type() == t_eph::QZSS    && dt > 1*1800) {
    272       ephL->setCheckState(t_eph::outdated);
    273       return;
    274     }
    275     else if  (eph->type() == t_eph::SBAS   && dt > 600)   {
    276       ephL->setCheckState(t_eph::outdated);
    277       return;
    278     }
    279     else if  (eph->type() == t_eph::BDS    && dt > 6*3600)   {
     271    else if (eph->type() == t_eph::QZSS    && dt > 4*3600) {
     272      ephL->setCheckState(t_eph::outdated);
     273      return;
     274    }
     275    else if  (eph->type() == t_eph::SBAS   && dt > 600)    {
     276      ephL->setCheckState(t_eph::outdated);
     277      return;
     278    }
     279    else if  (eph->type() == t_eph::BDS    && dt > 6*3600) {
    280280      ephL->setCheckState(t_eph::outdated);
    281281      return;
Note: See TracChangeset for help on using the changeset viewer.