* Severe Weather Summary Program

Get alerts for your area without using an ATOM or RSS feed.
This program will display each individual NWS Weather Forecast Office map of severe weather and details.

  • Selectable locations
  • Clickable map
  • Alert legend
  • Alert details
  • Alert box

Requirements:
PHP 5+
cURL support

Local Page
National Page
Download the SWSP program

Awesome!!

Awesome work Curly… Thanks for sharing.

Awesome is the word =D>

Simple setup… Thanks again…

http://www.snoqualmieweather.com/wxsvrsummary.php

I agree, that is awesome!

Thanks for sharing, Curly!!

Best regards,
Ken

Edit: my page is now up too http://saratoga-weather.org/NWS-alerts.php

Yet another fantastic script from Curly! Your continued sharing is much appreciated :smiley:

Cheers!
Michael

http://www.cnyweather.com/wxalerts.php

Much appreciated!!

Very Nice…
jp

Nice work as always Curly.

Of course, had to put my own style on the page. 8)
http://vermilionweather.com/nationaladvisorysummary.php

This is a great script.

I’m having a problem though.

When I include it in my template pg I have a blank map; no default wfo. Settings are set.
Exactly what is the code to have the pg load (not from a link) with the map set to my default wfo of hsv?
Thanks.

As long as your template page is in the same folder as the SWS settings page, you should use:

<?php include ("SWSalerts.php");
?>

I believe this is correct (without looking right now).

Thanks,
That’s what I’m using.
http://www.knology.net/~blackjack52/wxadvisorynew.php

I think I should be using

SWSalerts.php?WFO=hsv

somewhere, but not sure how. I’ve tried multiple code configs; nogo.

Config files are root w/ web templates.

Also, is cron only required for the alert box? If always required, what url suffix should I be using w/ vbs for task scheduler?

I’m missing something.

When I include it in my template pg I have a blank map; no default wfo.

A “no map” condition would either be the map is not on the NWS page or an incorrect WFO ID is entered at $myWFOnws.
What location is displayed in the drop down menu? What do you have listed at $myWFOnws? hsv?
The script works for the WFO’s listed in the drop down menu or in the SWS-core.php file in the $locList array and ‘hsv’ is not listed.

Exactly what is the code to have the pg load (not from a link) with the map set to my default wfo of hsv?

To get the map marked with the default location with the current alert details, just use the web page file name. example SWSalerts.php
When you add ?WFO=abc to the end of the file name, it shows the map with instructions. example SWSalerts.php?WFO=lot

Curly,

First things first…great job and thank you!

I think I have a similar problem that Lee is having. If I put

<?php include("http://stillweather.com/SWSalerts.php?WFO=okx") ; ?>

the map will show but clicking on any location will show nothing and going to a different NWS site takes me away from my page. Without the

?WFO=okx

the map shows but will only show my default location.

Link to page = http://stillweather.com/numap.php

Thanks,

Jack

Got it. I entered the airport code; can’t get 'em out of my head.
Thanks.

I bet you know at least a dozen airport codes!

Great job!!! Looking good here. Warnings

Hi Curly. I’m setting this up on my parents site, But i cant get the map to show. i did everything the way i did mine, and mine works good. i set the permission temporarily at 777, but the map still doesn’t show. Any Ideas? Thanks.

http://www.fernwoodweather.com/SWSalerts.php

They have php 5 also.

They have php 5 also.

How about cURL support?