Tom, that was a reasonable discussion.  I didn’t notice anything that suggests returning None if the rise/set doesn’t happen today.

It seems like we got to this point because the seasons skin only displays the time of the rise/set.  That’s kind of a crazy reason, but I’ll drop it now.

On Jan 19, 2026, at 5:59 PM, Tom Keffer <[email protected]> wrote:


There was an issue discussion about this: https://github.com/weewx/weewx/issues/995

The issue was eventually declared stale.

On Mon, Jan 19, 2026 at 5:48 PM 'John Kline' via weewx-user <[email protected]> wrote:
I will put out a forecast that guards against None for sun/moon rise/set.

Having said that, do we want None to be returned if the moonset is after midnight?

On Jan 19, 2026, at 12:56 PM, Karen K <[email protected]> wrote:



weather list schrieb am Montag, 19. Januar 2026 um 19:10:17 UTC+1:
First shot: disabled Skyfield and Skymap, restarted weewx and watched:

Skyfield (or more precisely the Skyfield based almanac extension) can return None for events like rising and setting if they do not take place on that day. The PyEphem based almanac returns the event of the next or previous day in that situation. This is a difference between them.

I will look into forecast_table.inc if I see more.
 

--
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/81947e61-7b69-456d-bd37-3220d563ed36n%40googlegroups.com.

--
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/A00209CA-D5C5-4355-A94D-A0ADDFF853AE%40johnkline.com.

--
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAPq0zED-QH%2B8inNx2mJeDwBL-vxotA0hZSWaYaFT1jNT70VNqg%40mail.gmail.com.

--
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/104E8F05-A460-4982-9A8C-6C350F140600%40johnkline.com.

Reply via email to