cloudy

Author Topic: Storm Prediction Center - Report Script  (Read 5370 times)

0 Members and 1 Guest are viewing this topic.

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Storm Prediction Center - Report Script
« Reply #30 on: January 14, 2010, 01:17:21 AM »
Thanks Curly.. updated without any issues.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline sacreysouthern

  • Posts: 187
  • Benton/Salem, AR, USA
    • Saline Weather
Re: Storm Prediction Center - Report Script
« Reply #31 on: March 26, 2010, 11:57:40 PM »
Curly,

Thanks for the update on the script.  I would to have a copy of your mod on the colorization of the SPC reports, please.

Thanks,  John Sacrey
John Sacrey

GR2AE, GR3, WxSim Owner

Offline tstorm

  • Posts: 359
  • Harpers Ferry, WV
    • Meadowbrook Farm Weather
Re: Storm Prediction Center - Report Script
« Reply #32 on: March 27, 2010, 12:53:52 AM »
Thanks Curly for another great script.  I also would like the colorized version.

Thanks,

John

curly

  • Guest
Re: Storm Prediction Center - Report Script
« Reply #33 on: March 27, 2010, 08:14:26 AM »
The original file has been replaced with the "colorized" style.

Download here

Offline sacreysouthern

  • Posts: 187
  • Benton/Salem, AR, USA
    • Saline Weather
Re: Storm Prediction Center - Report Script
« Reply #34 on: March 27, 2010, 09:55:34 AM »
Curly,

Another excellent script and mod.  Thank you very much!!!!
John Sacrey

GR2AE, GR3, WxSim Owner

Offline tstorm

  • Posts: 359
  • Harpers Ferry, WV
    • Meadowbrook Farm Weather
Re: Storm Prediction Center - Report Script
« Reply #35 on: March 27, 2010, 10:08:05 AM »
Outstanding!  I have the colorized version working here: http://www.harpersferry-weather.com/wxSPCreport.php .  Thanks again Curly  :D

Offline rrrick8

  • Posts: 323
  • Danville, Illinois
    • Vermilion County Weather
Re: Storm Prediction Center - Report Script
« Reply #36 on: March 27, 2010, 12:53:15 PM »
I don't like the time zone changes in the new script.
My server is on Mountain time while I'm on Central. Thus, all reports are showing an hour off on their time.
I would like to have the times displayed in Central. Tried switching to
Code: [Select]
$tz = 'America/Chicago';  // Central Timebut to no avail.

Besides that, good addition with the color coding.
are you planning on doing the same with the Local Storm Reports script?
« Last Edit: March 27, 2010, 01:14:09 PM by rrrick8 »
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline tstorm

  • Posts: 359
  • Harpers Ferry, WV
    • Meadowbrook Farm Weather
Re: Storm Prediction Center - Report Script
« Reply #37 on: March 27, 2010, 01:35:40 PM »
Upon looking at the colorized version a little closer all the reports are there but comparing it to the non-colored version the reports are not in the same order.  The colored version has the reports in the opposite order then the non-colored.  Take for example April 9 2009.


Take for example on colored version the following is last on the list and for the non colored it's first.
7:50 am   GA  -   WHITFIELD COUNTY - 3 MILES S OF DALTON
HAIL - 1.00" HAIL OCCURED BETWEEN 750 AM AND 8 AM NEAR OLD DIXIE HWY.


John
« Last Edit: March 27, 2010, 01:42:30 PM by tstorm »

Offline rrrick8

  • Posts: 323
  • Danville, Illinois
    • Vermilion County Weather
Re: Storm Prediction Center - Report Script
« Reply #38 on: March 27, 2010, 01:38:44 PM »
Upon looking at the colorized version a little closer all the reports are there but comparing it to the non-colored version the reports are not in the same order.  The colored version has the reports in the opposite order then the non-colored.  Take for example April 9 2009.

John

That is user selectable at the beginning of the script.
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline tstorm

  • Posts: 359
  • Harpers Ferry, WV
    • Meadowbrook Farm Weather
Re: Storm Prediction Center - Report Script
« Reply #39 on: March 27, 2010, 02:00:54 PM »
Rick - Have you tried date_default_timezone_set('America/Chicago');

John

curly

  • Guest
Re: Storm Prediction Center - Report Script
« Reply #40 on: March 27, 2010, 02:26:36 PM »
Quote
all reports are showing an hour off on their time
I didn't have the time zone completely built in.

The script posted was tested for my environment and I forgot to change things around to make it work in an outside environment.
Because I am currently laid up in bed with a back injury, I won't be able to do anything with the script for a few days.


Offline rrrick8

  • Posts: 323
  • Danville, Illinois
    • Vermilion County Weather
Re: Storm Prediction Center - Report Script
« Reply #41 on: March 27, 2010, 02:59:09 PM »
Rick - Have you tried date_default_timezone_set('America/Chicago');

John

Duh! Don't know why I didn't think of adding that. It worked.
Thanks.
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline rrrick8

  • Posts: 323
  • Danville, Illinois
    • Vermilion County Weather
Re: Storm Prediction Center - Report Script
« Reply #42 on: March 27, 2010, 03:00:55 PM »
I didn't have the time zone completely built in.

The script posted was tested for my environment and I forgot to change things around to make it work in an outside environment.
Because I am currently laid up in bed with a back injury, I won't be able to do anything with the script for a few days.



My situation is fixed thanks to tstorm.
Everyone appreciates your efforts but put your health first buddy.
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

 

cumulus