cloudy

Author Topic: Storm Prediction Center - Report Script  (Read 5371 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 #15 on: February 13, 2009, 09:00:10 PM »
Mark... Was this typo on purpose?

http://www.burgus.org/wxstrom.php

"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 andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Storm Prediction Center - Report Script
« Reply #16 on: February 13, 2009, 09:01:52 PM »
I will fix that Mark B.

Chuck

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Storm Prediction Center - Report Script
« Reply #17 on: February 13, 2009, 09:05:36 PM »
Wrong topic Mark. I'm sorry I meant storm reports. http://www.burgus.org/wxstrom.php

Mark
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Storm Prediction Center - Report Script
« Reply #18 on: February 13, 2009, 09:24:57 PM »
The problem is the your allow_url_fopen is turned off Mark B. check this page out and see, it is under PHP Core. Need to contact 1and1 to have them turn it on.

http://www.burgus.org/PHP_verify.php

Chuck

That could be also your issue with your banner as well.

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Storm Prediction Center - Report Script
« Reply #19 on: February 13, 2009, 09:37:27 PM »
Mark B,

Did you switch it back to PHP 4 or is still on 5. I fixed the typo. Was that the page where the page did not go bold and black on the menu bar because it is working now.

Chuck

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Storm Prediction Center - Report Script
« Reply #20 on: February 13, 2009, 09:39:17 PM »
Still PHP5.  It seems all the error are now cleared up.  So unless a show stopper pops up I'll leave 5 on.  It is more secure.

Mark
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Storm Prediction Center - Report Script
« Reply #21 on: February 17, 2009, 02:04:40 AM »
I installed the SPC script, and it looks good.  But not as good as on your site :(  How did you get the reports colored by the type of report?

Mark
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Storm Prediction Center - Report Script
« Reply #22 on: February 17, 2009, 02:09:25 AM »
Mark,

Who are you talking to.

Chuck

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Storm Prediction Center - Report Script
« Reply #23 on: February 17, 2009, 02:18:12 AM »
Curly, he created the script.  Notice on his site the details are colored according to the type of report.

Mark

http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

curly

  • Guest
Re: Storm Prediction Center - Report Script
« Reply #24 on: February 17, 2009, 04:07:28 AM »
Quote
How did you get the reports colored by the type of report?

That was something I was playing around with a couple of months ago.
The map also gets colorized and that requires a folder for the writing and deleting of the images. I gave it out to someone and they had a little trouble with permissions but finally got it to work. I didn't think it was worth posting the mod.
If you want to give it a try, I'll send it to ya. I could post it but I can't support server issues with it.

Curly



Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Storm Prediction Center - Report Script
« Reply #25 on: February 17, 2009, 01:26:34 PM »
I'm a gamey type person  :)  Bring it on.  (please)

Mark
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline Bigbaywx

  • Posts: 132
  • Big Bay, Michigan
    • Big Bay, Michigan Local Weather
Re: Storm Prediction Center - Report Script
« Reply #26 on: February 18, 2009, 12:09:45 AM »
Added and thanks for the script!!

http://www.bigbaywx.com/wxspc.php

Offline stooley

  • Posts: 34
  • Okawville, IL
    • Okawweather
Re: Storm Prediction Center - Report Script
« Reply #27 on: February 26, 2009, 04:57:37 PM »
I get the follow error when selecting a different date in the archive area :

Code: [Select]
Fatal error: Call to undefined function cal_to_jd() in /usr/local/apache2/htdocs/okawweather.com/spc.php on line 74

Something with a php setting? Works fine otherwise...along with clicking the yesterday link. I am running php5.

http://www.okawweather.com/wxspc.php

curly

  • Guest
Re: Storm Prediction Center - Report Script
« Reply #28 on: February 26, 2009, 05:34:52 PM »
That's a calendar function and off the top of my head I'm thinking it's not enabled for you.
To check it, create a page like this:

<?php
phpinfo();
?>

Run it from your browser, and search for the "Calendar" section, then see whether or not Calendar support is enabled.

curly

  • Guest
Re: Storm Prediction Center - Report Script
« Reply #29 on: January 14, 2010, 01:01:12 AM »
This has been updated to accept the year 2010.
Download here