Equation of Time, Sunrise Sunset Diagram

180 views
Skip to first unread message

Karen K

unread,
Jan 8, 2026, 9:59:14 AMJan 8
to weewx-user
It is not exactly related to weather, but it is a nice diagram and it is now included in the weewx-skymap-almanac extension.

EoT.png

The actual day of year is marked by a vertical orange line. There are some options to adjust the layout.

Sean Curry

unread,
Jan 8, 2026, 12:32:38 PMJan 8
to weewx-user
Thanks for this Karen - very cool, and added to my Seasons report! I like all the astronomical time related data available from the almanac.

Sean

mh081...@gmail.com

unread,
Jan 13, 2026, 9:00:53 AMJan 13
to weewx-user
Hi, and thanks for this realy cool..

but how can i make the first Graph (Sun)?
The Second have i found in the examples aka.

<h2>$gettext("Sonnenscheindauer")</h2>
 $almanac.eot_diagram

Thanks

Karen K

unread,
Jan 13, 2026, 9:09:01 AMJan 13
to weewx-user
mh081...@gmail.com schrieb am Dienstag, 13. Januar 2026 um 15:00:53 UTC+1:
but how can i make the first Graph (Sun)?

$almanac.eot_diagram(y_axis='time of day')

For y_axis the following values are possible: 'lat', 'lmt', 'solar-mean', 'mean-solar', 'time of day'.
 

mh081...@gmail.com

unread,
Jan 13, 2026, 9:51:42 AMJan 13
to weewx-user
Thank you, that helps.

Karen K

unread,
Jan 14, 2026, 3:42:52 PMJan 14
to weewx-user
I extended the diagram feature to other heavenly bodies. Simply use $almanac.heavenly_body.year_diagram.

Venus-Merkur.png

The background color of visibility is only available if the body rises and sets on the same day. The other way round is much more difficult to code, so it is actually missing. Actually $almanac.sun.year_diagram and $almanac.eot_diagram(y_axis='time of day') create the same diagram.

Of course, you can calculate the diagram for another year by setting almanac_time.

Sean Curry

unread,
Jan 17, 2026, 11:50:13 AMJan 17
to weewx-user
Thanks again Karen, I'm adding the main planets to my Seasons report - very helpful.
 
One thing, on MacOS using launchctl to stop and restart weewxd after installing the new version, I had to use launchctl to unload and load Library/LaunchDaemons/com.weewx.weewxd.plist rather than stop and start weewxd, otherwise weewxd didn't recognize the new version. I don't know if this is specific to MacOS or if I'm doing something wrong.

Sean

Reply all
Reply to author
Forward
0 new messages