Removed testing options
parent
62ae221393
commit
7dc139fc99
14
acquire.py
14
acquire.py
|
@ -177,15 +177,15 @@ if __name__ == '__main__':
|
||||||
tend=trise
|
tend=trise
|
||||||
elif (trise>=tset):
|
elif (trise>=tset):
|
||||||
dt=np.floor((tset-tnow).to(u.s).value)
|
dt=np.floor((tset-tnow).to(u.s).value)
|
||||||
logging.info("The sun is above the horizon. Sunset at %s.")
|
logging.info("The sun is above the horizon. Sunset at %s."%tset.isot)
|
||||||
logging.info("Waiting %.0f seconds."%(tset.isot,dt))
|
logging.info("Waiting %.0f seconds."%dt)
|
||||||
tend=trise
|
tend=trise
|
||||||
# try:
|
try:
|
||||||
# time.sleep(dt)
|
time.sleep(dt)
|
||||||
# except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
# sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
|
||||||
tend=tnow+31.0*u.s
|
|
||||||
logging.info("Starting data acquisition.")
|
logging.info("Starting data acquisition.")
|
||||||
logging.info("Acquisition will end at "+tend.isot)
|
logging.info("Acquisition will end at "+tend.isot)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue