Index: /trunk/BNC/src/ephemeris.cpp
===================================================================
--- /trunk/BNC/src/ephemeris.cpp	(revision 8418)
+++ /trunk/BNC/src/ephemeris.cpp	(revision 8419)
@@ -57,5 +57,6 @@
 t_irc t_eph::getCrd(const bncTime& tt, ColumnVector& xc, ColumnVector& vv, bool useCorr) const {
 
-  if (_checkState == bad) {
+  if (_checkState == bad ||
+      _checkState == unhealthy) {
     return failure;
   }
@@ -311,5 +312,6 @@
 t_irc t_ephGPS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
 
-  if (_checkState == bad) {
+  if (_checkState == bad ||
+      _checkState == unhealthy) {
     return failure;
   }
@@ -605,5 +607,6 @@
 t_irc t_ephGlo::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
 
-  if (_checkState == bad) {
+  if (_checkState == bad ||
+      _checkState == unhealthy) {
     return failure;
   }
@@ -903,5 +906,6 @@
 t_irc t_ephGal::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
 
-  if (_checkState == bad) {
+  if (_checkState == bad ||
+      _checkState == unhealthy) {
     return failure;
   }
@@ -1284,5 +1288,6 @@
 t_irc t_ephSBAS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
 
-  if (_checkState == bad) {
+  if (_checkState == bad ||
+      _checkState == unhealthy) {
     return failure;
   }
@@ -1496,5 +1501,6 @@
 t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
 
-  if (_checkState == bad) {
+  if (_checkState == bad ||
+      _checkState == unhealthy) {
     return failure;
   }
@@ -1666,5 +1672,5 @@
 //////////////////////////////////////////////////////////////////////////////
 QString t_ephBDS::toString(double version) const {
-IOD();
+
   QString rnxStr = rinexDateStr(_TOC-14.0, _prn, version);
 
