NWS logoNWS logoMRE NWS API Reader Script
(Another donateWare script from MRE Software)

     Many years ago I crafted an ATOM/CAP alert reader to display weather alerts on my various weather websites.  The reader was somewhat of a kludging together of my RSS/ATOM feed reader with some code to decipher the CAP 1.1 format provided by our friends at the National Weather Service.  It served me well but now CAP version 1.1 is depreciated and the NWS has created an API that works a lot smoother than the old system and provides fast public access to the new CAP version 1.2 data feeds.

     This web page introduces my new NWS API based reader.  The engine has been completely redesigned from the ground up to access the NWS API and return parsed and formatted html code for presentation on the web.  This does alerts, products, forecasts, observations, and includes an "alerter" which produces a graphic alert status.  This script comes with a sample css style sheet and can easily be restyled by the user.  The code is well commented and easily customized.  Below you will find typical output samples as well as the documentation for examination.  Check it out and download a copy.

Notice: I am not affiliated with the National Weather Service nor is this script in any way endorsed or approved by the NWS.
It is offered for private, non official use and informational purposes only.  There is no warranty either expressed or implied.
- USE AT YOUR OWN RISK -

Output Samples

 

If you find this code of value, donate a little to the cause.  Think of the time you just saved!
The documentation for this script appears below.  Check it out then to download a complete package of files for the NWS Alert Reader



 

 
 
If you find this code of value, donate a little to the cause.  Think of the time you just saved!
USE AT YOUR OWN RISK!

Questions / Comments?  Email me.

MRE Logo