From e03e64fdfe7c8cab53de885949aa9e3b8db233ef Mon Sep 17 00:00:00 2001 From: Cees Bassa Date: Tue, 20 Mar 2018 13:41:17 +0100 Subject: [PATCH] Write out sunset time --- acquire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acquire.py b/acquire.py index e7c777b..1fc1ef7 100644 --- a/acquire.py +++ b/acquire.py @@ -163,7 +163,7 @@ if __name__ == '__main__': tend=trise elif (trise>=tset): dt=np.floor((tset-tnow).to(u.s).value) - print("The sun is above the horizon. Waiting %.0f seconds."%dt) + print("The sun is above the horizon. Sunset at %s.\nWaiting %.0f seconds."%(tset.isot,dt)) tend=trise try: time.sleep(dt)