Yes, like Colin, you must not be using pyephem. As mentioned earlier in this thread, I've created issue #342 <https://github.com/weewx/weewx/issues/342> to track this.
In the meantime, try installing pyephem. -tk On Sat, Sep 15, 2018 at 5:11 PM Philip Kutzenco <kutze...@gmail.com> wrote: > Thomas, > > Thanks for replying. My website isn't published externally, but I've > attached a screenshot of part of the Standard skin display. I'm pretty sure > it isn't cached. Also, take a look at Pat's > http://www.belchertownweather.com website. Both my standard skin (as well > as my implementation of the belchertown skin) and Pat's skin show 24% today. > > Phil > > On Saturday, September 15, 2018 at 7:26:30 PM UTC-4, Thomas Keffer wrote: >> >> Can't help you with the first of your two questions. >> >> Regarding the second, when I look at my own skin >> <http://www.threefools.org/weewx/>, it shows 41% for today. Are you sure >> you're not looking at an old, perhaps cached, version? >> >> -tk >> >> On Sat, Sep 15, 2018 at 2:45 PM Philip Kutzenco <kutz...@gmail.com> >> wrote: >> >>> I've noticed that some information from the DarkSky API as well as >>> calculated moon phase don't seem to be correct or consistent with other >>> sources of data on WeeWX. Here's what I have seen: >>> >>> *DarkSky API* - I display a minimal 8 day forecast on the Belchertown >>> Skin. When I pull down the values using the SPI directly with my lat and >>> long, the values pulled down match what the skin shows. However, If I go to >>> DarkSky.net using the same location, the values (like min & max temp, >>> weather icon, precip probability etc.) are usually very different. I'm >>> pretty tuned into the weather right now as I live in Western North Carolina >>> and will be impacted by the remains of Florence over the next several days. >>> What's going on with the DarkSky API? >>> >>> *Moon phase* - WeeWX shows the moon phase for today to be a waxing >>> crescent - 24% (I think that means 24% visible or illuminated). When I do >>> the calculation using python's ephem module - >>> *print(ephem.Moon(datetime.date.today()).moon_phase)* - the answer I >>> get for moon phase is 31.19%. I thought that WeeWX used ephem for that >>> calculation. On timeanddate.com today's moon phase is 39.5%. At >>> http://aa.usno.navy.mil, 37% of the moon is illuminated today. Why such >>> a variation? >>> >>> These two items are vexing me. Can someone help explain these anomalies? >>> >>> Phil >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.