- Timestamp:
- Nov 30, 2022, 11:35:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.cpp
r9852 r9924 190 190 return; 191 191 } 192 cout << "\n" << eph->prn().toString().c_str() << " "; 192 193 193 194 // Check whether the epoch is too far away the current time … … 195 196 if (realTime) { 196 197 if (outDatedBcep(eph)) { 197 eph->setCheckState(t_eph::outdated); 198 eph->setCheckState(t_eph::outdated); cout << " Outdated "; 198 199 return; 199 200 } … … 203 204 // ------------------- 204 205 if (eph->isUnhealthy()) { 205 eph->setCheckState(t_eph::unhealthy); 206 eph->setCheckState(t_eph::unhealthy);cout << " Unhealthy "; 206 207 return; 207 208 } … … 212 213 ColumnVector vv(3); 213 214 if (eph->getCrd(eph->TOC(), xc, vv, false) != success) { 214 eph->setCheckState(t_eph::bad); 215 eph->setCheckState(t_eph::bad); cout << "eph->getCrd() != success: bad "; 215 216 return; 216 217 } … … 220 221 const double MAXDIST = 6.e7; 221 222 if (rr < MINDIST || rr > MAXDIST || std::isnan(rr)) { 222 eph->setCheckState(t_eph::bad); 223 eph->setCheckState(t_eph::bad); cout << " eph MIN/MAXDIST: bad "; 223 224 return; 224 225 } … … 243 244 ColumnVector vvL(3); 244 245 if (ephL->getCrd(eph->TOC(), xcL, vvL, false) != success) { 245 eph->setCheckState(t_eph::bad); 246 eph->setCheckState(t_eph::bad); cout << " ephL->getCrd() != success: bad " ; 246 247 return; 247 248 }
Note:
See TracChangeset
for help on using the changeset viewer.