Astronomy and control pages

Posted on
Sun Oct 29, 2017 10:29 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Astronomy and control pages

haavarda wrote:

This looks promising, but what is ephem? And how do I install that?


Python library. I don't recall if it was pre-installed or if I needed to install it myself. If it's not installed, then
Code: Select all
sudo pip install ephem


Should do it.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Oct 29, 2017 2:43 pm
haavarda offline
User avatar
Posts: 702
Joined: Aug 18, 2012
Location: Norway

Re: Astronomy and control pages

Thanks.
Any idea of how these calculations would be affected by daylight savings time? Here in Norway we have just subtracted one hour...


Sent from my iPhone using Tapatalk

Håvard

Posted on
Sun Oct 29, 2017 2:57 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Astronomy and control pages

haavarda wrote:
Thanks.
Any idea of how these calculations would be affected by daylight savings time? Here in Norway we have just subtracted one hour...


http://rhodesmill.org/pyephem/

For the specific code I posted, there's nothing to affect. The code returns the azimuth and elevation at the time the code is run. Doesn't matter what the local time is since the default is "now".

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 4 guests