cloudy

Author Topic: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison  (Read 1715 times)

0 Members and 1 Guest are viewing this topic.

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« on: August 07, 2010, 09:33:37 PM »
Simple graph comparing your WD monthly mean to Clima-Sim (your locale) and the NCDC 30-yr mean for the closest city to you.

You manually enter the Clima-Sim (monthly means) and NCDC values.

http://www.knology.net/~blackjack52/wxlocclimate.php
Instructions in the file.

21 Dec 10  Added graphing of site mean.
« Last Edit: December 21, 2010, 10:23:17 PM by MadALwx »
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #1 on: August 08, 2010, 03:52:41 PM »
Cleaned up a bit.
Fixed reference in settings for graph temperature hi/lo value to ensure y-axis stay calibrated b/w your actuals, Clima-Sim, and NCDC.
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #2 on: September 02, 2010, 03:15:50 PM »
Combined local climate values with NCDC and Clima-Sim.
Now one graph vice two.
http://www.knology.net/~blackjack52/wxlocclimate.php
« Last Edit: October 11, 2010, 07:06:47 PM by MadALwx »
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #3 on: October 11, 2010, 07:08:54 PM »
Updated the graph a bit.
http://www.knology.net/~blackjack52/wxlocclimate.php

see 1st post for file.

Added trend values.
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #4 on: December 21, 2010, 06:35:12 PM »
Added site mean trend graph line.
http://www.knology.net/~blackjack52/wxlocclimate.php

see 1st post.
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline i_fiorentino

  • Posts: 1,350
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #5 on: December 21, 2010, 07:05:48 PM »
Hi Lee,
great job!
Is this script valid for Europe? If not, is it possible to use this script and graphs without NCDC data?
Many thanks,

Alessandro
« Last Edit: December 21, 2010, 07:11:07 PM by i_fiorentino »

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #6 on: December 21, 2010, 08:51:15 PM »
Hi Alessandro,
Thank you. Yes, you may. In the setup, there are instructions to delete the NCDC sections.

I don't know if anyone from EU is using, so let me know if tweaks are needed.
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline i_fiorentino

  • Posts: 1,350
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #7 on: December 21, 2010, 09:57:37 PM »
Hi Lee,
excuse me in advance but i don't find the script source file and the instruction.  :oops:
Where is it?
Once again thanks,

Alessandro

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #8 on: December 21, 2010, 10:30:16 PM »
Hi Lee,
excuse me in advance but i don't find the script source file and the instruction.  :oops:
Where is it?
Once again thanks,

Alessandro

Hi,
goto the 1st post and save the txt file as .php in your wxgraphs directory; or your dir with other jpgraphs.
In the file, there are now instructions directing you to goto the graphing code section. You'll be removing $lplot2 for ncdc ($lplot3 for clima-sim).
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Online edje1205

  • edje
  • Posts: 1,818
  • Zaandam Holland, the Netherlands
    • http://www.weersverwachtingen.eu
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #9 on: December 22, 2010, 02:20:36 PM »
Hi Lee

Interesting script for me !(Europe/Amsterdam)

But what is your
Code: [Select]
if (!file_exists($jploc."jpgraph.php")) {
  $string = "Unable to find JPGraph files";

$jploc (root ?)

what ever I do/change path  I get a jpgraph error unable to find etc
but I can't see the whole text of the error (see att)
« Last Edit: December 22, 2010, 02:23:25 PM by edje1205 »
Ed
Woodenshoes,mills,hightech;but random weather
www.weersverwachtingen.eu
P4 2,2Ghz-2GB RAM-Win2K-Broadb.connect


Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #10 on: December 22, 2010, 04:04:23 PM »
Hi Lee

Interesting script for me !(Europe/Amsterdam)

But what is your
Code: [Select]
if (!file_exists($jploc."jpgraph.php")) {
  $string = "Unable to find JPGraph files";

$jploc (root ?)

what ever I do/change path  I get a jpgraph error unable to find etc
but I can't see the whole text of the error (see att)


Hi,

$jploc is defined in your graphsconf.php.
My definition looks like
Code: [Select]
$jploc = "${WEBROOT}/jp/src/";   //must have trailing slash
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline i_fiorentino

  • Posts: 1,350
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #11 on: December 22, 2010, 10:03:18 PM »
Hi Lee,
i've installed your script but i have these errors:
http://www.meteocarmignano.it/wxgraphs/climate-graph4.php

What do you think about?
Many thanks,

Alessandro
« Last Edit: December 24, 2010, 08:44:02 AM by i_fiorentino »

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #12 on: December 22, 2010, 11:12:14 PM »
Hi Lee,
i've installed your script but i have these errors:
http://www.meteocarmignano.it/wxgraph/climate-graph4.php

What do you think about?
Many thanks,

Alessandro

Alessandro,
Do you have jpgraphs installed using http://www.weather-watch.com/smf/index.php/topic,27489.0.html ?
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

Offline i_fiorentino

  • Posts: 1,350
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #13 on: December 24, 2010, 08:45:30 AM »
Alessandro,
Do you have jpgraphs installed using http://www.weather-watch.com/smf/index.php/topic,27489.0.html ?

Yes Lee,
i've followed the faq but i have a lot of errors: http://www.meteocarmignano.it/wxgraphs/climate-graph4.php
Here is the error smsg file: http://www.meteocarmignano.it/wxgraphs/error_msg.php
I've these settings in graphconf.php:

Code: [Select]
$hostloc = "${WEBROOT}/";
$jploc = "${WEBROOT}/jp/src/";   //must have trailing slash

and this setting:
Code: [Select]
define('TTF_DIR','/web/htdocs/www.meteocarmignano.it/home/jp/ttf/');

in jpg-config.php file into jp/src folder.
I've installed jpgraph ver. 3.0.7.
Any idea?
Many thanks,

Alessandro
« Last Edit: December 24, 2010, 12:06:05 PM by i_fiorentino »

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: jpGraph Clima-Sim/NCDC/WD Mean Temp Comparison
« Reply #14 on: December 24, 2010, 04:48:24 PM »
I'm not that knowledgeable on solving the errors.
Lee,     Fox4ALS.com


VP2 w/ Solar Rad, LD-250-Lightning2000, MadCam

 

cumulus