Weather-Watch.com
September 02, 2010, 05:29:44 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Members: 8,509  Posts: 362,030  Topics: 40,113
Please welcome lawrencerebeiro, our newest member.

Latest versions: WD - 10.37P  WDL - 6.05  MML - 1.03
 News:
Check out the new FAQs (Frequently Asked Questions) board for a growing list of hints, tips and diagnostic suggestions.
  Advanced Search
   Home   Bug Tracker Photo Gallery Wiki Chat Calendar Search Login Register Help  
Pages: [1] 2 3
  Print  |  « previous  |  next »  |  Go Down  
Author Topic: Storm Prediction Center - Report Script  (Read 2998 times)
0 Members and 1 Guest are viewing this topic.
curly
Weather Guru
**
Offline Offline

Location: Elkhart Indiana
Station Type: VP2
Posts: 514
Local Time: Thursday 14:29


WWW
« on: September 24, 2008, 12:38:05 AM »

The Storm Prediction Center issues a daily report of severe weather activity across the US. There are three categories of weather events, tornado, wind, and hail, that are reported in UTC time, or Zulu time, for a common time reference. If the US is getting hit with severe weather, these reports are hard to follow.
I have a script that makes it much easier to read and I would like to share it.
The weather events are combined and then sorted by the time in descending order. The report times are converted to your local timezone so the confusion of time offsets is eliminated. Also it has archived reports, a link back to the SPC web site, and is XHTML 1.0 strict.

The program can be viewed here  Click to view
Download it here  Download

This was tested on different servers with the help of Brian at http://www.nas-kan.org/Weather/    and   Beau at http://www.n9mfk.com/index.php


Curly
« Last Edit: January 14, 2010, 01:05:33 AM by curly » Logged

ALITTLEweird1
Mark
Junior Weather Controller
****
Offline Offline

Location: Snoqualmie,WA
Station Type: WS-2315 + 1-Wire Solar + 1 Wire-Lightning + 1-Wire UV + Logitech Quickcam Pro 9000 / Win XP Pro
Posts: 3,000
Local Time: Thursday 11:29



WWW
« Reply #1 on: September 24, 2008, 12:43:29 AM »

Thanks Curly, Im also using this script..

http://www.snoqualmieweather.com/wxstormreport.php
« Last Edit: January 14, 2010, 01:20:51 AM by ALITTLEweird1 » Logged

"Nature can do without man, but man cannot do without nature."
curly
Weather Guru
**
Offline Offline

Location: Elkhart Indiana
Station Type: VP2
Posts: 514
Local Time: Thursday 14:29


WWW
« Reply #2 on: September 25, 2008, 10:17:42 PM »

Thanks Curly, Im also using this script..

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

Your welcome!
Logged

MCHALLIS
Rain Maker
***
Offline Offline

Location: Long Beach, WA USA
Station Type: Davis VP2+
Posts: 1,997
Local Time: Thursday 11:29



WWW
« Reply #3 on: September 26, 2008, 12:40:28 AM »

That looks like a useful script, I might install it soon, thanks
Logged

mth
Rain Maker
***
Offline Offline

Location: Baltimore, Maryland
Station Type: Davis Vantage Pro 2 - Model 6153
Posts: 1,258
Local Time: Thursday 14:29



WWW
« Reply #4 on: September 26, 2008, 08:55:35 PM »

Curly,

Got it working on my site but when a different date is selected it will not pull the new map. 
http://www.relayweather.com/wxspc.php

Michael


Update:  I got it to work by using the following code
Code:
<?php include("SPC.php"); ?>

I was previously using
Code:
<?php include("http://www.relayweather.com/SPC.php"); ?>
« Last Edit: September 26, 2008, 10:43:34 PM by mth » Logged

Michael Holden
Relay, Maryland Weather Station
http://www.relayweather.com

Stronghurst
The Local Weather Source
Rain Maker
***
Offline Offline

Location: Stronghurst,IL USA
Station Type: Davis VP2 +
Posts: 1,685
Local Time: Thursday 13:29



WWW
« Reply #5 on: February 13, 2009, 02:25:20 PM »

When I turned PHP5 on, this page stopped.  Any ideas?

Mark
Logged

ALITTLEweird1
Mark
Junior Weather Controller
****
Offline Offline

Location: Snoqualmie,WA
Station Type: WS-2315 + 1-Wire Solar + 1 Wire-Lightning + 1-Wire UV + Logitech Quickcam Pro 9000 / Win XP Pro
Posts: 3,000
Local Time: Thursday 11:29



WWW
« Reply #6 on: February 13, 2009, 02:34:17 PM »

try replacing <?php with <?php5 at the begginging of the script. Someone had me do that for somthing and it worked.
Logged

"Nature can do without man, but man cannot do without nature."
Stronghurst
The Local Weather Source
Rain Maker
***
Offline Offline

Location: Stronghurst,IL USA
Station Type: Davis VP2 +
Posts: 1,685
Local Time: Thursday 13:29



WWW
« Reply #7 on: February 13, 2009, 03:36:00 PM »

I think Chuck is still working on my errors.  So I will not be able to make any new errors Smile  until he is done.  As soon as I get the all clear I'll try this out.

Thank you
Mark
Logged

andro700
Chuck
Junior Weather Controller
****
Offline Offline

Location: Glendive, Montana
Station Type: Davis VP2 w/ heater and Serial Data Logger & Solar Sensor
Posts: 3,148
Local Time: Thursday 11:29



WWW
« Reply #8 on: February 13, 2009, 08:29:43 PM »

That is strange e-rice uses php 5 and mine works just fine. Unless 1an1 has a setting set that is causing this issue.

Chuck
Logged

andro700
Chuck
Junior Weather Controller
****
Offline Offline

Location: Glendive, Montana
Station Type: Davis VP2 w/ heater and Serial Data Logger & Solar Sensor
Posts: 3,148
Local Time: Thursday 11:29



WWW
« Reply #9 on: February 13, 2009, 08:34:29 PM »

It is working here Mark on Firefox.

Chuck
Logged

Stronghurst
The Local Weather Source
Rain Maker
***
Offline Offline

Location: Stronghurst,IL USA
Station Type: Davis VP2 +
Posts: 1,685
Local Time: Thursday 13:29



WWW
« Reply #10 on: February 13, 2009, 08:35:36 PM »

Chuck I turned it off so as not to cause you any problems.

Mark
Logged

ALITTLEweird1
Mark
Junior Weather Controller
****
Offline Offline

Location: Snoqualmie,WA
Station Type: WS-2315 + 1-Wire Solar + 1 Wire-Lightning + 1-Wire UV + Logitech Quickcam Pro 9000 / Win XP Pro
Posts: 3,000
Local Time: Thursday 11:29



WWW
« Reply #11 on: February 13, 2009, 08:35:56 PM »

Im getting the same errors as Mark is running v5. Had to change back also.
Logged

"Nature can do without man, but man cannot do without nature."
andro700
Chuck
Junior Weather Controller
****
Offline Offline

Location: Glendive, Montana
Station Type: Davis VP2 w/ heater and Serial Data Logger & Solar Sensor
Posts: 3,148
Local Time: Thursday 11:29



WWW
« Reply #12 on: February 13, 2009, 08:53:29 PM »

Mark,

Your SPC page is working and you have PHP 5 turned on right.

Chuck
Logged

ALITTLEweird1
Mark
Junior Weather Controller
****
Offline Offline

Location: Snoqualmie,WA
Station Type: WS-2315 + 1-Wire Solar + 1 Wire-Lightning + 1-Wire UV + Logitech Quickcam Pro 9000 / Win XP Pro
Posts: 3,000
Local Time: Thursday 11:29



WWW
« Reply #13 on: February 13, 2009, 08:54:03 PM »

lol..which Mark?
Logged

"Nature can do without man, but man cannot do without nature."
Stronghurst
The Local Weather Source
Rain Maker
***
Offline Offline

Location: Stronghurst,IL USA
Station Type: Davis VP2 +
Posts: 1,685
Local Time: Thursday 13:29



WWW
« Reply #14 on: February 13, 2009, 08:58:37 PM »

Duh   I meant  Storm reports  Embarassed

Mark
Logged

Pages: [1] 2 3
  Print  |  « previous  |  next »  |  Go Up  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!