John, With thanks, that was me, but I now wonder if your current implementation of weewx-faorecast should just replace the old one. I'll give it a go.
Thanks for coming back to that issue! > On Jul 17, 2026, at 13:46, 'John Kline' via weewx-user > <[email protected]> wrote: > > It has been six months and I no longer remember the person who had the issue > of using both the forecast extension and the weewx-skyfield-almanac extension. > > I finally got around to writing an extension that uses skyfield and doesn’t > introduce a breaking change. If you still want the improved accuracy of > skyfield and want to run the forecast extension, you can install the > following: > > https://github.com/chaunceygardiner/weewx-skyfield > If you aren’t hitting compatibility issues with weewx-skyfield-almanac, there > is no reason to switch. > > John > >> On Jan 19, 2026, at 10:05 PM, John Kline <[email protected]> wrote: >> >> >> I’d prefer not to spend a lot of time on the forecast module. I got stuck >> with it because I ported it to WeeWX 4 and others asked me to share. I >> don’t actually use the forecast module myself. I haven’t complained before >> about keeping forecast running, but having to deal with users installing an >> extension, being pushed on this list, that returns None for the next >> rise/set certainly has me annoyed. >> >>> On Jan 19, 2026, at 9:54 PM, Karen K <[email protected]> wrote: >>> >>> John Kline schrieb am Dienstag, 20. Januar 2026 um 02:48:24 UTC+1: >>> I will put out a forecast that guards against None for sun/moon rise/set. >>> >>> I guess moonrise and moonset will be enough, as the Sun rises and sets >>> every day (except polar regions) but the Moon does not. >>> >>> Having said that, do we want None to be returned if the moonset is after >>> midnight? >>> >>> As an alternative you could take the timestamp of moonrise and calculate >>> the next setting then like >>> $almanac(almanac_time=$almanac.moon.rise).moon.next_setting. Then you catch >>> moonset after midnight. But what I got from a short glimpse into the code >>> of forecast_table.inc the events are filtered there if they are within the >>> respective forecast period. A moonset after midnight would be filtered >>> there anyway, if I got that right. >>> >>> -- >>> 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] >>> <mailto:[email protected]>. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/weewx-user/ef25c075-2a03-417f-9a4d-50d90ea55bacn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/ef25c075-2a03-417f-9a4d-50d90ea55bacn%40googlegroups.com?utm_medium=email&utm_source=footer>. > > -- > 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/-67wc9q71UU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To view this discussion visit > https://groups.google.com/d/msgid/weewx-user/54366582-BAFF-4558-8483-04522537CC4B%40johnkline.com > > <https://groups.google.com/d/msgid/weewx-user/54366582-BAFF-4558-8483-04522537CC4B%40johnkline.com?utm_medium=email&utm_source=footer>. -- 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/B0D1BA56-8AF3-4C45-BF36-6B69E1018C34%40suiattle.org.
