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

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, [email protected] <[email protected]> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/8a7802fe-8e11-43f6-9066-573ee542a519n%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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/385E6F26-37EB-4674-8D2A-987958214264%40johnkline.com.

Reply via email to