Removed testing options

pull/1/head
Cees Bassa 2018-03-30 15:59:22 +02:00
parent 62ae221393
commit 7dc139fc99
1 changed files with 7 additions and 7 deletions

View File

@ -177,15 +177,15 @@ if __name__ == '__main__':
tend=trise
elif (trise>=tset):
dt=np.floor((tset-tnow).to(u.s).value)
logging.info("The sun is above the horizon. Sunset at %s.")
logging.info("Waiting %.0f seconds."%(tset.isot,dt))
logging.info("The sun is above the horizon. Sunset at %s."%tset.isot)
logging.info("Waiting %.0f seconds."%dt)
tend=trise
# try:
# time.sleep(dt)
# except KeyboardInterrupt:
# sys.exit()
try:
time.sleep(dt)
except KeyboardInterrupt:
sys.exit()
tend=tnow+31.0*u.s
logging.info("Starting data acquisition.")
logging.info("Acquisition will end at "+tend.isot)