Weather station scripts - ATOM/CAP advisories

They're free, but use at your own risk

The scripts referenced here are used in the operation of this weather station, and may be freely copied and used to support your station. Please note that you use these scripts at your own risk. No warranty is expressed or implied. I accept no liability for any damages that may ensue from their use.
You will need to configure them for your own particular weather station website.
RSS feed for Scripts Updates A RSS Feed is available to help keep you informed on updates to the scripts.

Many of these scripts are now available on GitHub at

Buy Me A Coffee If you find one or more of the scripts useful to you, please consider making a donation to help offset the routine expenses of operation of this website.
Thanks for your kind support!

A Version History is available -- check back from time to time to see if there are updates to scripts you have downloaded earlier. Announcements of version updates and new scripts are made on and Weather-Watch forums and saratogaWXPHP Twitter account as they become available.

Note: Twitter widget has been disabled 3-Jul-2023 since it no longer displays the recent update Tweets.

This page was updated Monday, 11-Mar-2024 4:56 PM

NOAA ATOM/CAP Advisory PHP scripts

NOAA ATOM/CAP Advisory PHP script (V2.13 - 19-Jan-2022): Script deprecated 30-Jan-2024 [ see version history ]

NOAA ATOM/CAP Top Advisory Warning PHP script

NOAA ATOM Top Warning PHP script (V2.11 - 19-Jan-2022 - Deprecated 30-Jan-2024) :[ see version history ]

Multi-zone NOAA ATOM/CAP XML feed processor script

Curly of Michana Weather had developed an "all-in-one" program is available to display top warnings and full details from the ATOM feed provided by the National Weather Service

It is designed to handle several NOAA zones at a time and can be used with or without the Carter Lake template set.
Two sets of usable web pages are included along with a demo page, detailed instruction and a set of 72 icons.
Main features include top warnings, top warning icons, alert box and an XML page. Each alert type is color coded to its severity and has a small icon so it can be easily distinguished when there are several alerts for each zone. All alerts from NOAA's NWS ATOM/XML are accepted when available.

The script uses code borrowed (with permission) from Mike Challis to fetch the data and Michael(mth) of Relay Weather contributed some code, features and did extensive beta testing.
Because of the amount of zones that the script can handle, a cron job should be used to call the script. If your web host doesn't offer the ability to do crons, information in the readme file will guide you on how this can be done in a proven and reliable method. A "pseudo-cron" does not work and is not supported. PHP 5+ is required.

Curly has kindly allowed the scripts to be included with the Base-USA template set. You can also get copies for standalone use from my GitHub distribution.