![]() |
Sun/Moon Application
Does anyone know of a terminal application to display the sunrise/sunset times for a day given the date and long/lat. and/or the additional functionality of exporting a year long table for that long/lat?
along the same lines is there a desktop application to display the current moon phase and sunset/rise times? |
Re: Sun/Moon Application
Omweather, a desktop applet, displays the current sunset/sunrise times and moon phase.
|
Re: Sun/Moon Application
Actually there is such tool which shows this in the Extras repositories. I don't remember how it is called though. OMWeather might also offer this by now.
For Linux in general there are some excellent GUI utilities which provide this feature. For console Linux, you can try http://pynovas.sourceforge.net/ http://libnova.sourceforge.net/ http://www.gnu.org/software/gcal/ The latter is a GNU utility not to be confused with Google Calendar. From the manual: Quote:
If you use Google you can also find a very simple C or Python code which provides the sunrise/sunset for a specific long/lat but I don't remember how it was called. I discussed it here on this forum before though. |
Re: Sun/Moon Application
Well, my 'MEphemeris' app is way overkill, but it can do rise/set stuff -- and also plot those times for an entire year:
http://talk.maemo.org/showthread.php?t=19545 My desktop app 'MChronos' is much smaller, and presents rise/set only for the current day: http://talk.maemo.org/showthread.php?t=24776 If you don't need a GUI, then I would also recommend writing a simple Python app using the 'PyEphem' libraries -- which were also used for MEphemeris and MChronos: http://talk.maemo.org/showthread.php?t=18332 With this, it is *very* easy to generate 'tables' for an entire year, as you have desired. |
Re: Sun/Moon Application
I use Other Maemo Weather v0.21.11 for this purpose but not in terminal... long/lat can be approximated by the weather station used but date can only be projected forward for only one week. Historic information can not be calculated... It also runs from a home screen applet which makes it handy. :)
|
Re: Sun/Moon Application
Sesrun:
So, what did you end up doing to get the data you wanted? I would still recommend writing a very short script to call the 'PyEphem' library routines. |
All times are GMT. The time now is 00:04. |
vBulletin® Version 3.8.8