cloudy

Author Topic: How to setup jpgraphs and wxgraphs  (Read 77630 times)

0 Members and 1 Guest are viewing this topic.

Offline arthurhh

  • Tokoroa Weather Live
  • Posts: 369
  • IT Fixer
  • Tokoroa South Waikato New Zealand
    • Tokoroa Weather Live
Re: How to setup jpgraphs and wxgraphs
« Reply #240 on: October 25, 2009, 07:18:33 AM »
I am currently working on updating my present graphs page to a new template based package. http://tokoroa.dyndns.org/wxgraphs.php not displaying correctly at the moment while I work on the scripts.
once I finish the package you will be able to take the ZIP file unpack it, upload to your server and it will work (Of course there will be the obligatory change of a couple of variables in the config file) It will work for all carter lake metric template sites.

You can see the pages in development at http://tokoroa.dyndns.org/wxgraphs2.php#Solar I am currently up to Humidity.

I have yet to investigate the distribution of JPGraph within the archive I intend to make available, so there may be some install requirements for this yet.

As an adjunct I am also working on a higher resolution set of graphs for our local groups comparison page http://tokoroa.dyndns.org/wxcomparision.phpusing WD custom log files, giving graphs with 5 minute resolution instead of hours. We expect to have six stations in a area of about 20km sq soon, something of an achievement really for a town of 16,000.

My weather position, for me it is present the best data in the best understandable way, but having it as accurate as possible. I am not a storm chaser or even a over committed weather man, just a IT geek with an interest.


Offline gclarkso

  • Posts: 66
  • Ellicott City, MD
    • Old Line Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #241 on: November 21, 2009, 05:27:22 AM »
Wow! Thanks to the concise instructions, as well as looking over the previous posts, the graphs were setup in a jiffy.

Graphs Page

Thank you!

I would like to ask though...

My 31 day avg wind dir plot is empty (as is Stuarts' here)

Is there an easy fix for this?


Thank you,
« Last Edit: November 23, 2009, 11:29:22 PM by gclarkso »
Gordon
Old Line Weather
Davis VantageVue
Weather Display v10.37Q b86

Offline SandhurstWX

  • Ian
  • Posts: 375
  • Another satisfied WD user!
  • Royal County of Berkshire, UK
    • Sandhurst Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #242 on: November 23, 2009, 06:23:21 PM »
Although I don't use the last 31 Days Averaged Direction graph on my site, I have it on my test page, and mine is also all at 0 deg. Running my clientrawdaily.txt file through the TNET Weather Station's clientraw data parser, I see that the data fields 155 to 186 are all reading -0.0 deg. All other graphs seem to be running OK.

Has something changed in the clientrawdaily.txt format?


Offline gclarkso

  • Posts: 66
  • Ellicott City, MD
    • Old Line Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #243 on: November 26, 2009, 02:28:36 PM »
I would like to ask though...

My 31 day avg wind dir plot is empty.

Is there an easy fix for this?

This has been fixed with the latest (37P-build 12) release.
Gordon
Old Line Weather
Davis VantageVue
Weather Display v10.37Q b86

Offline Soulmaster

  • Thunderstorm addict
  • Posts: 55
  • Addict to thunderstorms
  • Medemblik
    • The lightingstation for the Netherlands
Re: How to setup jpgraphs and wxgraphs
« Reply #244 on: February 06, 2010, 10:08:57 AM »
http://www.weerstationmedemblik.nl/wxgraphs/solar_7days.php whats wrong ? it works perfectly for a few days ago and now its broken :( Nothings changed

same overhere http://www.weerstationmedemblik.nl/overzicht-31-dagen.html


found the problem, the extra raw files were corrupt. fixed.
« Last Edit: February 06, 2010, 10:28:49 AM by Soulmaster »

Offline magical46

  • Posts: 447
    • Weybourne Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #245 on: March 08, 2010, 08:20:04 PM »
I accidently deleted the jpgraph files from my web server whilst makimg some changes, no problem I thought as I still had the files stored on my pc. I uploaded them again but now have this error showing, see herehttp://www.weybourneweather.co.uk/wxcharts.php.
The ttf directory seems to have disappeared and I can't find it anywhere, can any one point me as to where to find these files, they are not on my local jpgraph file on my pc. I must have had it all sorted out before as the graphs were all working for the last year or so until my boo boo today #-o
Phil

Online jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #246 on: March 08, 2010, 09:37:42 PM »
You can look in your windows folder to wherever the fonts are and grab a copy of aerial bold there.  You will have to name it to exactly what jpgraph is looking for and of course put it in a /ttf/ folder under your jpgraphs where it is looking for it.

- Jim

 Home of NSLog NexStorm Lightning Data Manager

Offline magical46

  • Posts: 447
    • Weybourne Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #247 on: March 08, 2010, 09:51:00 PM »
Jim
Thanks for that, that did the trick. Don't understand why the fonts vanished  from the jpgraph folder in the first place but at least the graphs are working now  :)

Online jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #248 on: March 08, 2010, 10:34:19 PM »
Good deal that it works now.  You must have added that folder and the fonts to the web copy but not to the copy on your hard drive.

- Jim

 Home of NSLog NexStorm Lightning Data Manager

Offline AK7V

  • Posts: 96
  • Wrightwood, CA elevation 6,374'
    • Wrightwood Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #249 on: August 03, 2010, 02:09:45 PM »
I am having a problem with the last hour graphs on my website.

http://www.wrightwoodweather.com/wxjgraphs.php?wxj_span=hour

clientrawhour.txt is being uploaded every 5 minutes, and the graphs reflect the new incoming data, but the x-axis only changed hourly, and is an hour behind.  The axis will be labeled, for example, 7:00 to 8:00 from 8:00 until 9:00.  Then it will be labeled 8:00-9:00 until 10:00.

Any advice?

Thanks.



Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: How to setup jpgraphs and wxgraphs
« Reply #250 on: August 03, 2010, 04:24:02 PM »
The way I understand the last hr to work is it shows the last whole hr from the previous hr. It's updated at :59min each hr.
Lee,     Fox4ALS.com


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

Offline AK7V

  • Posts: 96
  • Wrightwood, CA elevation 6,374'
    • Wrightwood Weather
Re: How to setup jpgraphs and wxgraphs
« Reply #251 on: August 04, 2010, 01:11:18 AM »
On mine, the graphed data is updating every 5 minutes but the x axis labels aren't changing.



Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: How to setup jpgraphs and wxgraphs
« Reply #252 on: August 04, 2010, 01:38:02 PM »
I see it now.

Even though the data is updated every 5min for your clientrawhour, I think the code for the x-axis is hardset to show 10-20-30-40-50-59.

I'm going to fiddle w/ the combined last hr graph's x-axis.
Lee,     Fox4ALS.com


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

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 21,998
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: How to setup jpgraphs and wxgraphs
« Reply #253 on: August 04, 2010, 01:49:59 PM »
I see it now.

Even though the data is updated every 5min for your clientrawhour, I think the code for the x-axis is hardset to show 10-20-30-40-50-59.

I'm going to fiddle w/ the combined last hr graph's x-axis.

I looked at the code and agree with your hardset conclusion, but when I look at Stuart/Broadstairs 60 min graphs they appear to show the correct minutes  :?

http://www.stella-maris.org.uk/wxgraphs.phtml

Offline MadALwx

  • Posts: 1,317
  • Retired USAF B-52 Gunner
  • Madison, AL
    • MadALwx
Re: How to setup jpgraphs and wxgraphs
« Reply #254 on: August 04, 2010, 02:24:23 PM »
Included w/ the wxgraphs are 'last 60min' (updated via clientrawextra-every 1min or so) and 'last hour' (clientrawhour updated :59min or whenever you set clientrawhour from the default). I think the time code for the 'last hour' script, 10-20-30,etc, are hard times.

The 60min graphs are temp, windspd, wind dir, and rain.
The last whole hour graphs are temp, windspd, wind dir, baro, solar, humidity, and rain.

I'm not sure what Stuart/jmcmurry others are using for x-axis time code for 60min graphs while getting temp, windspd, wind dir, baro, solar, humidity, and rain.
Lee,     Fox4ALS.com


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

 

cumulus