Wxsimcsv Hourly forecast script new version available

It’s been a while since I’ve done anything with this script, however, there is now a new version available for any that are interested

Version 47.29 adds:

An enhanced custom icon set giving new “chance of” icons, as well as making them clearer to see.
Options to round values to nearest integer.
New UV display options.

You can see a working example at

http://www.wellingtonweather.co.uk/hourly_forecast.php

and you can get a copy at

http://www.wellingtonweather.co.uk/downloads

Thanks for the update, it seems to be working well. :slight_smile:

http://www.weathercat.net/wxsimcsv.php

Don’t forget you need to use the new icon set - it seems like you’re still using the old icons

I added all the new icons in the set and kept the old ones that where duplicates. I personly like the older style better. If the conditions are right it should use the new icons. :wink:

Hi Rob,

I`m missing a lot of icons.
Look at page: http://www.weerstation-marsdijk.nl/WXSIM.php and then number subpage 2 / 3 and so on.

What to do?

regards,
Oebel

Another update, problems with reporting snow have hopefully been resolved as well as discrepancies in the language files. The latest version includes a new iconset and updates to most of the language sets. If your language version is still v30 and you want to help, can you let me know. The current version is 0.49 v32

Also a little addition to the settings file to add cell spacing and cell padding to the forecast table.

Download at www.wellingtonweather.co.uk/downloads

Thanks for the update, it seems to be working well. I have gotten use to the new moons. :wink: Thanks for your hard work.

http://www.weathercat.net/wxsimcsv.php

Hi Welly, thanks for the update, I do have one wee issue though, the graphs not showing now and i cannot see any reason for it :slight_smile:

http://www.northantsweather.com/wxhourly.php

Thanks!

It is a very nice script. It looks very good but I can’t open the subpages.
You can see it here: http://www.jvrijswijk.nl/wxsimcsv.php

Wat can I do to solve this problem?

Thanks for help!

Jan

Hi Jan

Quite a common mistake. make sure you set your file name correctly in usersettings.php

$filename = ‘wxsimcsv.php’;

Hi Welly

In Wxsim I have “Omit mention of trace amounts or very slight chance of precipitatation” ticked but the problem is in the hourly forecast it still forecasts the small amount. Is there an option in your script to leave this out as well?

Thanks for the script :slight_smile:

Hi Tony

The data displayed is got from the CSV file created by WxSim. I suggest you ask Tom, if you think the output is incorrect. I have no plans to patch the script in any way as it may lead to problems for others. Sorry.

Rob

Thats ok :slight_smile:

Hi Welly,

I just upgraded to Ver. 51 and i have a issue with the temp. display. Please see attached clip. Can’t seem to find anything wrong.

Page can be seen at http://www.johnsnhweather.com/wxsimcsv.php

Any help would be appreciated.

Thanks,

John


I assume you are using UTF-8 in the Settings.php. I know I had to change that. Plus make sure the pages Title/Encoding is Unicode (UTF-8). I had to change my wxsimcsv to (UTF-8). That straightened my page out.

Chuck

Hi John

I think this indeed may be an encoding issue. Looking st the source code of your linked web page it gives the following line:

This should be utf-8 instead of ISO-8859-1

From an earlier reply:

Have you checked the Settings.php - Base-USA file. There is:

$SITE[‘charset’] = ‘ISO-8859-1’;

Try changing it to utf-8

If it does not sort it, then let me know

Cheers
Rob

Hi Rob,

I changed $SITE[‘charset’] = ‘ISO-8859-1’; to $SITE[‘charset’] = ‘utf-8’;

It didn’t fix my issue. Please see attached.

Any help would be appreciated.

Thanks,

John


Your page http://www.johnsnhweather.com/wxsimcsv.php is not coded Unicode (UTF-8). It is the page itself. Right now it is coded Western (Windows-1252).

Chuck

Hi Chuck,

I can’t figure out where to change it. I changed it in Settings. It’s set correctly in the indexx.php display program.

Any help would be appreciated.

Thanks,

John

What program do you use to edit your web pages. You can change it there under Page Properties. I use Dreamweaver for editing my web pages.

Chuck