JavaScript WDL version 1.0.0 alpha.

Nice, thatā€™s pretty awesome to hear! :smiley:

Not sure if this has been mentioned but Iā€™d like the option to turn off the forecast text shown from WD as I dont use that forecast on my site. I use WXSim for my forecasting. Adding the latest WXSim forecast would be problematic so just for me the option to remove the text would be good.

Stuart

Something weird at my place:
I have FreshWDL showing just fine on my Win 7 laptop under the Mozilla Firefox display.

I went to three other computers I have, running anything from Win 10 with autoupdates and Mozilla, Chrome and IE on it, down to Win 7 with similar browsers, and an old XP with an old version of Firefox on it.

On those manchines I get the Splash screens, and the getting data message, with the little marching dots at the end, but never get any change to the dynamic real time display.

Anyone else had this going on? It all seemed to start after I uploaded the cofig and .html files about a week ago.

I can see if Iā€™d goofed it up and nothing loaded, but why run on one computer and none of the others, no matter what browser I use. Iā€™d think that the virus software wouldnā€™t prevent the data from loading, and itā€™s the same on all the computers, ZoneAlarm.

cant help much with out knowing the URL

Dale my guess would be that the path for the clientraw files in the config file is wrong.

Stuart

I think Stuart might be right, and that the clientraw path is wrong in the config file. The reason it still works on your other browser is probably that the old config file is still cached. (If you press ctrl + F5) it will clear the cache, and probably stop working :wink:

To make sure the cache is cleared for all users after you are finished updating the config file, you can add a ā€œversion numberā€ to the end of the script URL, as shown in this screenshot: https://puu.sh/z6Ffm/00c82643c4.png (so add ?v=x.x). Once you are happy with the changes to the config file, increase the version number and it will force all browsers to get the new config file.

(These instructions will be added to the future HTML file as well, just fyi)

Hope that helps! Let me know if the issue persists, and if you give a link to your site Iā€™ll check it out in more detail. :slight_smile:

Hi Yerren was having a quick look at your siteā€¦have you really had 526mm rain for this year ??? thats some amount of rain in a short time frame.

We have indeed! Even more surprising is that it is summer hereā€¦
From memory we had one day of around 250mm, one of 100mm, and the a few other fairly heavy ones to pad it out.

On the bright side it did bring some new interest to the site! :smiley:

Wow I am in Dunedin and they say the South Island has crappy weather lol.

585mm at my place in Cairns, Queensland. Been a lot of dry days :slight_smile:

Hi Yerren

Just an observation now that we are getting heaps of rain, not a biggy and you probably have some reason behind itā€¦but why does the rain scales go up in multiples of 4ā€¦would it not be better in multiples of 5 ???

Have a great day.

Bruce

I am planning to make it double in size every time the max is reached soon anyway, as currently the gauges are just almost full the whole timeā€¦ So this will be changed then :slight_smile:

Most graphing programs allow the user to select the ā€˜graceā€™ value which effectively is the space above the current value. I think it would be better to allow say 10-15% 'grace so that tanks or graphs never reach the top which in my view looks much better than filling up to the maximum.

Stuart

Good idea, Iā€™ll consider it if itā€™s not too difficult to implement! :slight_smile:

Hi Yerren, I took your advice and looked into the output from Meteohub. I now found that your site/scripts have stopped working altogether, the system just hangs at the orange flash page at the beginning. I have proved the scripts etc work fine by grabbing the data from Golden Bay producing copy clientraw txt files that run perfectly. I have notice that the output from Meteohub is shorter in length for all 4 of the clientraw txt files so is there a check of some sort of versions control or another reason this has stopped working?

I have attached a copy the 2 data output in a spreadsheet should it be of interest.

Look forward to your help.

Thanks

Alan


Output Compare.xlsx (111 KB)

Hey,

Looking at those script files, I feel like the issue is probably due to the extra fields in clientrawhour.txt, which arenā€™t in your output files (UV is used when parsing the data, the other extra fields arenā€™t).

How to test this?
I would suggest adding on 0s at the end of the file until it is the same length as the WD output, and then manually uploading that. At least that way we will know if we are on the right track, and can figure out a solution from there. :slight_smile:

Hopefully this helps,
-Yerren

Hi Yerren,

Thanks for your help. Iā€™ve managed to localised the issue and found the offending file is Clientrawextra.txt. I also proved that by replacing the " - " with a " 0 " throughout the file the problem is resolved and the 4 files operate as intended with your scripts.

The solution if its possible is to take each dash and replace them with a zero and have that happen on each clientraw file. Hopefully a simple piece of code that will aid those using Meteohub.

Do you think it is possible?

Kindest regards

Alan

Hey,

Iā€™ve whipped up a test whereby all the ā€œ-ā€ values are replaced with ā€œ0ā€ values in the clientRawExtra file.

Now all that I can see is that it works for my setup (which is good) but to see if it fixes your problem, can you please try out the attached test HTML file, and send me the link when itā€™s uploaded (I want to check a couple of things).

Note that I cannot upload it in HTML format, so it is currently a text file. Simply rename it, changing the file extension from .txt to .html to make it usable.

Let me know how this goes,
-Yerren


FreshWDLmasterTEST.txt (2.56 KB)

Hi Yerren,

We have a positive result so thank you very much.

http://alignsolutionsltd.com/development/FreshWDL.html

(Iā€™ve change the splash screen so I know which site/config Iā€™ve been working with).

Now I got this far I have a couple of observations and/or comparisons with Golden Bayā€™s site/parser.

Firstly, my weather description field repeats on 2 different lines/fonts sizes.

Second, 3 of the 24 hour graphs (Temp, Wind Speed & Barometer) donā€™t display the data that appears to be present in the clientraw files.

As always grateful for any help and guidance.

Thanks

Alan

Thatā€™s awesome!

I am currently in the process of moving into my new flat, and so donā€™t have much time available right at the moment. :?
Iā€™ll definitely have a look around and see what is going on there when I can though!

Additionally, the master version will now support meteohub, so you can go back to using the main HTML file (though it may take a couple hours to roll out, before it starts working).
I would suggest you do this soon, as in a few days I will remove the test scripts we used from the server, and then youā€™ll definitely want to be switched over to the official release version again. :wink:

Glad to be of help, and I will let you know when I have looked at the other issues,
-Yerren