curly
Weather Guru

OfflineLocation: Elkhart Indiana Station Type: VP2
Posts: 514 Local Time: Thursday 14:29
|
 |
« 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 viewDownload it here DownloadThis 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.phpCurly
|
|
|
|
« Last Edit: January 14, 2010, 01:05:33 AM by curly »
|
Logged
|
|
|
|
ALITTLEweird1
Mark
Junior Weather Controller
  
OfflineLocation: 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
|
 |
« Reply #1 on: September 24, 2008, 12:43:29 AM » |
|
|
|
|
|
« 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

OfflineLocation: Elkhart Indiana Station Type: VP2
Posts: 514 Local Time: Thursday 14:29
|
 |
« Reply #2 on: September 25, 2008, 10:17:42 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
MCHALLIS
Rain Maker
 
OfflineLocation: Long Beach, WA USA Station Type: Davis VP2+
Posts: 1,997 Local Time: Thursday 11:29
|
 |
« 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
 
OfflineLocation: Baltimore, Maryland Station Type: Davis Vantage Pro 2 - Model 6153
Posts: 1,258 Local Time: Thursday 14:29
|
 |
« 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.phpMichael Update: I got it to work by using the following code <?php include("SPC.php"); ?> I was previously using <?php include("http://www.relayweather.com/SPC.php"); ?>
|
|
|
|
« Last Edit: September 26, 2008, 10:43:34 PM by mth »
|
Logged
|
|
|
|
Stronghurst
The Local Weather Source
Rain Maker
 
OfflineLocation: Stronghurst,IL USA Station Type: Davis VP2 +
Posts: 1,685 Local Time: Thursday 13:29
|
 |
« 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
  
OfflineLocation: 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
|
 |
« 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
 
OfflineLocation: Stronghurst,IL USA Station Type: Davis VP2 +
Posts: 1,685 Local Time: Thursday 13:29
|
 |
« 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  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
  
OfflineLocation: Glendive, Montana Station Type: Davis VP2 w/ heater and Serial Data Logger & Solar Sensor
Posts: 3,148 Local Time: Thursday 11:29
|
 |
« 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
  
OfflineLocation: Glendive, Montana Station Type: Davis VP2 w/ heater and Serial Data Logger & Solar Sensor
Posts: 3,148 Local Time: Thursday 11:29
|
 |
« 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
 
OfflineLocation: Stronghurst,IL USA Station Type: Davis VP2 +
Posts: 1,685 Local Time: Thursday 13:29
|
 |
« 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
  
OfflineLocation: 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
|
 |
« 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
  
OfflineLocation: Glendive, Montana Station Type: Davis VP2 w/ heater and Serial Data Logger & Solar Sensor
Posts: 3,148 Local Time: Thursday 11:29
|
 |
« 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
  
OfflineLocation: 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
|
 |
« 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
 
OfflineLocation: Stronghurst,IL USA Station Type: Davis VP2 +
Posts: 1,685 Local Time: Thursday 13:29
|
 |
« Reply #14 on: February 13, 2009, 08:58:37 PM » |
|
Duh I meant Storm reports  Mark
|
|
|
|
|
Logged
|
|
|
|
|