This website works better with JavaScript.
Home
Help
Sign In
hms
/
rasoberry-noaa
mirror of
https://github.com/reynico/raspberry-noaa.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
set template for lat/lon
tags/v1.0
Nico Rey
4 years ago
parent
deb9a706a4
commit
25787d1190
2 changed files
with
5 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
predict.qth
+2
-2
sun.py
+ 3
- 3
predict.qth
View File
@@ -1,4 +1,4 @@
raspberry
<< your latitude>>
<< your longitude >>
<<sea level meters >>
change_latitude
change_longitude
50
+ 2
- 2
sun.py
View File
@@ -6,8 +6,8 @@ import sys
date = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(sys.argv[1])+3*60*60))
obs=ephem.Observer()
obs.lat=''
obs.long=''
obs.lat='
change_latitude
'
obs.long='
change_longitude
'
obs.date = date
sun = ephem.Sun(obs)
Write
Preview
Loading…
Cancel
Save