Weather Related Organizations > NOAA National Weather Service
CAP Links
(1/1)
daybreak:
I'm sure I haven't been paying attention but I assume something changed in the NWS CAP feeds? I use a program called Feedwind to make a script for each area county. https://www.daybreakimagery.com/weather/warningtext.htm This is one of the links I used to retrieve the feed from NWS https://alerts.weather.gov/cap/wwaatmget.php?x=ILC051&y=0 I also tried this but as you see from my page the old text doesn't go away. https://api.weather.gov/alerts/active.atom?zone=ILC121
Where do I find the correct links?
Thanks,
Richard
saratogaWX:
On Jan 30, 2024, the NWS deprecated the alerts.weather.gov/cap/wwaatmget.php URL for getting ATOM/CAP advisories.
The new url uses https://api.weather.gov/alerts/active.atom?zone=ILC121 but.. be aware that if no alert is active, that alert no longer includes an
--- Quote ---<entry>
<id>'.$id.'</id>
<updated>'.$updated.'</updated>
<author>
<name>'.$author.'</name>
</author>
<title>There are no active watches, warnings or advisories</title>
<link href="'.$link.'"/>
<noalert>1</noalert>
</entry>
--- End quote ---
so the absence of an <entry></entry> means no alert. That change may break your usage of Feedwind.. it would have to be adapted to accommodate that change in the returned alert.
daybreak:
Thanks Ken, so you're saying I need to do away with feedwind correct? And are there scripts that I can do to setup the neighboring counties like I had before. I appreciate your help!
Richard
saratogaWX:
The nws-alerts package can do that. https://github.com/ktrue/nws-alerts for the non-Saratoga template version. The nws-alerts package is already in the Saratoga Base-USA package.
daybreak:
Thanks Ken! I'll be working on it.
Richard
Navigation
[0] Message Index
Go to full version