New version of the JPGraphs for WD using clientraw data (wxgraphs.zip)

The weather-programs I mentioned create 4 clientraw files often to be used in WD-Live or Mesonets. So if is is identical enough for WD-Live it is probably OK for the graphs also.
Example Gauges and your graphs for
Meteohub => http://www.weerstation-parkstad.nl/weather2/index.php?p=gaugePage&lang=nl
consoleWD => http://kb9cfv.net/weather/weather27/index.php?p=17&lang=en#data-area
WSWIN => http://www.cux-wetter.de/weather28/?p=gaugePage
[s]WVIEW => http://www.kids4all.nl/weather28/index.php?p=gaugePage&lang=nl#data-area[/s]

There are maybe more weatherprograms generating clientraw files

Wim

Thanks for this. I have not had luck with the old version. I am blaming myself and my lack of coding experience.
I will try it during the turkey break. It may mean moving some files around to get everything in the same folder. This is a good way to get away from flash-although I do like the layout of WDL.

Wim I have not been able to find out what kind of files WVIEW creates and can be used for JPGraph. Certainly I have not been able to find any clientraw type files on that website you linked to. I’ve captured samples for the others. It is perfectly possible someone has created JPGraphs for WView by using the Wview files but I’d need to know what they are in order to progress that one.

Stuart

I think you are right. That site is off-line for a long time, so i will remove the wview from the list of clientraw users. Probably they were just testing different weather-programs at the same site.
Wim

Stuart, appreciate all your work on this new version.

Put it up the other day and have found a bump in the road on my http://tiggrweather.net/wxastronomy.php. Down the page a bit the sun path graph is missing, replaced by the error message, “Unable to find graphslang.php” (called out at line 151 in graphsconf.php). That file is in /wxgraphs/.

Thoughts appreciated.

I am a little puzzled by this one as sunposa.php is not one of my graphs which is the image which is failing. The only sun graphs of mine all start solar.

Stuart

I’ve been doing some testing with the other S/W clientraw files I’ve been able to get. Basically the only one where all my graphs seem to work is consoleWD which lets face it is not a surprise since it is Brian’s code. The other two Meteohub and WSWIN both have problems and the data for all the graphs is simply not there or not in a valid format.

So for Meteohub and WSWIN the easiest thing is to run my sample HTML file which tests all the graphs against the clientraw files for these programs and pick the ones which work. The other graphs for now will not work unless the relevant S/W is updated to include the relevant data in the same format as used in the WD files.

If anyone has any other software which creates clientraw files please let me know and I’ll do some checking to see if they can work.

Stuart

Understood. The only reason I tossed it your way was because all I’ve done is to add your 4.0.1 package - that’s when the failure started. Now I’m unable to fine the graphslang.php file anywhere.

Thanks anyway.

I think your install may not be complete because I can open the link to Stuart’s new zip http://www.stella-maris.org.uk/code/wxgraphs.zip and see graphslang.php is included.

More like my brain is incomplete, niko. Have about 6 things failing right now and messed up my post - my apology for that. The graphslang.php file is in /wxgraphs/ on my server. The problem is why it apparently can’t be found. Line 151 in graphsconf.php is what is looking for that file and also what posts the error. Stuart’s http://tiggrweather.net/wxgraphs/wxgraphs_test.html appears to be working fine (don’t know if it uses the graphslang.php file). Nothing else has been changed.

Thanks.

I suggest we take this to another thread since it’s not really related to Stuart’s project.

The fact the the wxgraphs_test.html is working (and I just tested it here) means that the graphslang.php file is there since the graphsconf.php calls it on line 158. It does look like you have other issues.

Stuart

Will do.

Thanks to both.

It seems that the JPgraphs site is down. I have been getting a 504 gateway time-out error on the site yesterday and today. Is there another place that this JPgraph package can be downloaded from?

Thanks

Gary

Check your PM for a temp link.

Thanks Niko,

Gary

Main JPGraph website is back online again this morning.

Stuart

Just as a side note, there are still two JpGraph scripts (v4.0.1) that do not meet the PHP7 code guidelines: ‘jpgraph_bar.php’ and ‘jpgraph_line.php’ - both will display warnings.

That is the issue with JPGraph which they acknowledge and will fix. You can edit the relevant files so if you want the code PM me.

Stuart

I installed the new version works well. Thank the author of this version.
[url=http://www.celinmeteo.com/wdisplay/wxflashgraph.php]
http://www.celinmeteo.com/wdisplay/wxflashgraph.php[/url]
:smiley:
Marian