Thanks, John! I will definitely take a look and see if I can incorporate it into my site with Belchertown skin.
On Sat, Sep 12, 2020 at 12:49 PM John Kline <j...@johnkline.com> wrote: > I wrote an extension that uses it: > https://github.com/chaunceygardiner/weewx-nws > > There are one-hour and twelve-hour forecasts. There are also alerts. See > it in action on the 7-Day, Hourly and Alerts tabs here: > https://www.paloaltoweather.com/forecast.html > <https://www.paloaltoweather.com/forecast.html> > > I presume it would be straightforward to use it in Belchertown. I do > provide a sample skin to show how to incorporate it. Alas, the extension > is WeeWX 4/Python 3 only, so maybe not the right thing for the Belchertown > author as I believe Py2 is supported. Perhaps good for some pointers on > how to use NWS forecasts and alerts. > > On Sep 12, 2020, at 9:37 AM, etji...@gmail.com <etjill...@gmail.com> > wrote: > > I've been doing a lot of reading about the upcoming loss of darksky and > potential replacements. For those of us in the U.S., the NWS has a well > formatted json file available via api that even has links to the icons > needed for each day. Has anyone tried using it with any of the skins yet? > > I'm currently using the previous version of Belchertown with darksky, but > will be switching to the newer version soon. I'd love to find a way to get > the NWS forecast to display on the page instead of darksky or aeris. > > You can use this link to get the 2.5km grid that your location (via > lat/lon) falls in (put your own U.S. lat/lon pair): > https://api.weather.gov/points/27.8659,-82.3507 > > And from that output, you can get the "bin" that has your weather, like > this (in my case): > https://api.weather.gov/gridpoints/TBW/75,93/forecast > > I don't know how difficult this would be to add, but I do prefer the NWS > forecasts over others for my neck of the woods. > > Thanks for reading. > > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/8a7802fe-8e11-43f6-9066-573ee542a519n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/8a7802fe-8e11-43f6-9066-573ee542a519n%40googlegroups.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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/385E6F26-37EB-4674-8D2A-987958214264%40johnkline.com > <https://groups.google.com/d/msgid/weewx-user/385E6F26-37EB-4674-8D2A-987958214264%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAC5oUmOjp2BNPt7bu-cO%3DTu1tXWsyBgW6hWTanQbjxHiJ8GhxQ%40mail.gmail.com.