Moon phases

154 views
Skip to first unread message

František Slimařík

unread,
Jul 15, 2021, 8:45:13 AM7/15/21
to weewx-user
Hello,

is it possible to find somewhere relation between $almanac.moon_fullness and $almanac.moon_phase? Like moon_fullness from 5% till 20% is Waxing crescent etc?

Thanks for hint

Tom Keffer

unread,
Jul 15, 2021, 9:40:21 AM7/15/21
to weewx-user

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5c048f2a-be65-443b-bed5-96094905b3c4n%40googlegroups.com.

František Slimařík

unread,
Jul 15, 2021, 10:40:48 AM7/15/21
to weewx...@googlegroups.com
Hi Tom,

thanks for details. I will check this. I am playing now with icons and was surprised that during 30% fullness I already have phase "first quarter". I would expect this around 45%.

čt 15. 7. 2021 v 15:40 odesílatel Tom Keffer <tke...@gmail.com> napsal:
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Q83_K14u8mg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECtUrjUeHD%3DJrU8wQTVuNywDwsGcGdi19%2BFziWPsn%2BU%2Bg%40mail.gmail.com.

František Slimařík

unread,
Jul 18, 2021, 11:16:56 PM7/18/21
to weewx...@googlegroups.com
Hello,

so I am not sure if there is not a bug in current version. I was checking weewx map for stations in Czech republic and in Germany and all stations on version 4.5.1 have currently 69% full moon and phase "First quarter" still. While stations on version 3.X.X have Waxing Gibbous already. Maybe it's just tiny bug which appeared randomly cause previously I didn't realize it. But with current moon phase first quarter started around 25% and is still there until 69%.

čt 15. 7. 2021 v 16:40 odesílatel František Slimařík <xsli...@gmail.com> napsal:

michael.k...@gmx.at

unread,
Jul 25, 2021, 3:28:52 PM7/25/21
to weewx-user
I have 96% and 99% on two different stations I run. Both run 4.5.1. The 96% station was installed in August 2015, the other in Jan 2021.

Another station of a friend installed in Oct 2017 (4.5.1) has 99%
Another from another friend in Nov 2018 (4.5.1) also has 99%

Some random station running an unknown Version with Data back until Jun 2019 has 96%

gjr80

unread,
Jul 25, 2021, 4:08:56 PM7/25/21
to weewx-user
Do all stations have pyephem installed? If pyephem is installed WeeWX uses pyephem to calculate ‘moon_fullnes’. If pyephem is not installed WeeWX uses its own internal algorithm to estimate ‘moon_fullness’ (this is also the case for some other basic almanac functions such as sunrise and sunset).

Suggest you confirm whether pyephem is installed on each system otherwise we are comparing apples and oranges.

Gary

michael.k...@gmx.at

unread,
Jul 26, 2021, 5:47:42 AM7/26/21
to weewx-user
pip freeze | grep pyephem => empty result on both of my machines.

gjr80

unread,
Jul 26, 2021, 5:57:33 AM7/26/21
to weewx-user
What about ephem rather than pyephem? If that reveals nothing are any of the pages available the internet.

Gary

gjr80

unread,
Jul 26, 2021, 5:59:09 AM7/26/21
to weewx-user

Also, is WeeWX running under python 2 or 3?

Gary

michael.k...@gmx.at

unread,
Jul 26, 2021, 6:42:02 AM7/26/21
to weewx-user
pip freeze | grep ep => motephat==0.0.3 / empty on the other machine

michael.k...@gmx.at

unread,
Jul 26, 2021, 6:42:26 AM7/26/21
to weewx-user
Both are running on python 3

gjr80

unread,
Jul 26, 2021, 6:55:46 AM7/26/21
to weewx-user
If WeeWX is running under python3 do you not need to use pip3?

Gary

michael.k...@gmx.at

unread,
Jul 26, 2021, 7:54:22 AM7/26/21
to weewx-user
*lol* yes, pip3... 

ephem==3.7.6.0 on the 96% machine, empty on the 99% machine. So I guess this is the explanation of the difference?

Sorry for being such a python noob :D

Which implementation is said to be the one being more precise, ephem or weewx?

gjr80

unread,
Jul 26, 2021, 8:12:58 AM7/26/21
to weewx-user
That likely explains the difference in this case. Depending on the skin being used you can often tell whether pyephem is installed by the breadth of sun/moon data displayed.

Gary

michael.k...@gmx.at

unread,
Jul 26, 2021, 9:07:08 AM7/26/21
to weewx-user
Just installed ephem on the other machine, now both show the same percentage.
Reply all
Reply to author
Forward
0 new messages