|
@@ -6,8 +6,8 @@ import sys |
|
|
date = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(sys.argv[1])+3*60*60)) |
|
|
date = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(sys.argv[1])+3*60*60)) |
|
|
|
|
|
|
|
|
obs=ephem.Observer() |
|
|
obs=ephem.Observer() |
|
|
obs.lat='' |
|
|
|
|
|
obs.long='' |
|
|
|
|
|
|
|
|
obs.lat='change_latitude' |
|
|
|
|
|
obs.long='change_longitude' |
|
|
obs.date = date |
|
|
obs.date = date |
|
|
|
|
|
|
|
|
sun = ephem.Sun(obs) |
|
|
sun = ephem.Sun(obs) |
|
|