Ignore:
Timestamp:
Oct 31, 2020, 10:14:11 PM (3 years ago)
Author:
stuerze
Message:

some more ephemeris checks are added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncephuser.cpp

    r9060 r9193  
    205205    return;
    206206  }
    207 
    208207  double rr = xc.Rows(1,3).norm_Frobenius();
    209 
     208  double rv = vv.norm_Frobenius();
    210209  const double MINDIST = 2.e7;
    211210  const double MAXDIST = 6.e7;
    212211  if (rr < MINDIST || rr > MAXDIST || std::isnan(rr)) {
     212    eph->setCheckState(t_eph::bad);
     213    return;
     214  }
     215  if (eph->type() == t_eph::GLONASS && rv < 1.0) {
    213216    eph->setCheckState(t_eph::bad);
    214217    return;
Note: See TracChangeset for help on using the changeset viewer.