New Animated Forecast Icons for WU and WXSIM!!

Hi Alessandro!

I checked right now and I found this …

Change the extension to this point into WU-forecast.php by removing the right side .jpg and entering .gif :wink:

NWSiconlist = array(
// WU Icon name => NWS icon name // WU meaning
‘chanceflurries.gif’ => array(‘sn.gif’,‘Chance flurries’), // Chance of Flurries
‘chancerain.gif’ => array(‘hi_shwrs.jpg’,‘Chance rain’), // Chance of Rain
‘chancesleet.gif’ => array(‘ip.jpg’,‘Chance sleet’), // Chance of Sleet
‘chancesnow.gif’ => array(‘sn.jpg’,‘Chance snow’), // Chance of Snow
‘chancetstorms.gif’ => array(‘hi_tsra.jpg’,‘Chance thunderstorms’), // Chance of Thunderstorms
‘clear.gif’ => array(‘skc.jpg’,‘Clear’), // Clear
‘cloudy.gif’ => array(‘ovc.jpg’,‘Cloudy’), // Cloudy
‘flurries.gif’ => array(‘sn.jpg’,‘Flurries’), // Flurries
‘fog.gif’ => array(‘fg.jpg’,‘Fog’), // Fog
‘hazy.gif’ => array(‘fg.jpg’,‘Hazy’), // Hazy
‘mostlycloudy.gif’ => array(‘bkn.jpg’,‘Mostly cloudy’), // Mostly Cloudy
‘mostlysunny.gif’ => array(‘sct.jpg’,‘Partly cloudy’), // Mostly Sunny
‘partlycloudy.gif’ => array(‘sct.gif’,‘Partly cloudy’), // Partly Cloudy
‘partlysunny.gif’ => array(‘bkn.jpg’,‘Mostly sunny’), // Partly Sunny
‘rain.gif’ => array(‘ra.jpg’,‘Rain ‘), // Rain
‘sleet.gif’ => array(‘ip.jpg’,‘Sleet’), // Sleet
‘sleat.gif’ => array(‘ip.jpg’,‘Sleet’), // Sleet (other spelling)
‘snow.gif’ => array(‘sn.jpg’,‘Snow’), // Snow
‘sunny.gif’ => array(‘skc.jpg’,‘Sunny’), // Sunny
‘tstorms.gif’ => array(‘tsra.jpg’,‘Thunderstorms’), // Thunderstorms
‘unknown.gif’ => array(‘na.jpg’,’’), // Unknown
‘nt_chanceflurries.gif’ => array(‘nsn.jpg’,‘Chance flurries’), // Chance of Flurries
‘nt_chancerain.gif’ => array(‘hi_nshwrs.jpg’,‘Chance rain’), // Chance of Rain
‘nt_chancesleet.gif’ => array(‘ip.jpg’,‘Chance sleet’), // Chance of Sleet
‘nt_chancesnow.gif’ => array(‘nsn.jpg’,‘Chance snow’), // Chance of Snow
‘nt_chancetstorms.gif’ => array(‘hi_ntsra.jpg’,‘Chance thunderstorms’), // Chance of Thunderstorms
‘nt_clear.gif’ => array(‘nskc.jpg’,‘Clear’), // Clear
‘nt_cloudy.gif’ => array(‘novc.jpg’,‘Cloudy’), // Cloudy
‘nt_flurries.gif’ => array(‘nsn.jpg’,‘Flurries’), // Flurries
‘nt_fog.gif’ => array(‘nfg.jpg’,‘Fog’), // Fog
‘nt_hazy.gif’ => array(‘nfg.jpg’,‘Hazy’), // Hazy
‘nt_mostlycloudy.gif’ => array(‘nbkn.jpg’,‘Mostly cloudy’), // Mostly Cloudy
‘nt_mostlysunny.gif’ => array(‘nsct.jpg’,‘Partly cloudy’), // Mostly Sunny
‘nt_partlycloudy.gif’ => array(‘nsct.jpg’,‘Partly cloudy’), // Partly Cloudy
‘nt_partlysunny.gif’ => array(‘nbkn.jpg’,‘Mostly cloudy’), // Partly Sunny
‘nt_rain.gif’ => array(‘nra.jpg’,‘Rain ‘), // Rain
‘nt_sleet.gif’ => array(‘ip.jpg’,‘Sleet’), // Sleet
‘nt_sleat.gif’ => array(‘ip.jpg’,‘Sleet’), // sleet (other spelling)
‘nt_snow.gif’ => array(‘nsn.jpg’,‘Snow’), // Snow
‘nt_sunny.gif’ => array(‘nskc.jpg’,‘Sunny’), // Sunny
‘nt_tstorms.gif’ => array(‘ntsra.jpg’,‘Thunderstorms’), // Thunderstorms
‘nt_unknown.gif’ => array(‘na.jpg’,’’), // Unknown
‘.gif’ => array(‘na.jpg’,‘’), // Unknown
) ;

ok?

…i’m trying…stay tuned :wink:

Edit: Yeah :smiley:
Here is Wunder script with new set of icons: http://www.meteocarmignano.it/wxforecast.php
Great job Paolo!
Regards,

Alessandro

Yeah! :smiley:

Work fine!! 8)

For those with template sets, I’ve updated multiple scripts to support the new animated GIF icon sets:

Template updates at http://saratoga-weather.org/wxtemplates/updates.php

Scripts updated:
plaintext-parser.php (WXSIM formatter)
WU-forecast.php (International WeatherUnderground forecast)
advforecast2.php (NWS forecast)
ajax-dashboard.php (the default one, not the alternative dashboard from websterweather)
ajaxWDwx.js (Weather-Display conditions icon update)
Settings.php (add a new setting to specify forecast/condition icon type)
get-metar-conditions-inc.php (support for animated icons)
ajax-images/*.gif (added corresponding conditions icons to set)

Note: you’ll need to visit the animated icon download site, unpack the .rar file into your forecast/images/ directory and upload it for the scripts to find the new forecast icons.

Thanks to Paolo for letting me include some of his set in the distribution files for use as conditions icons!

Best regards,
Ken

Any plans to make them for the NWS forecast icons?

These will work Mark.

http://www.cnyweather.com/wxforecast.php

Yeah… Did you have to rename all of them before they would work? I downloaded them, but the names didn’t match.

Just download the latest advforecast2.php and configure. If you have a V3 template, the updates page can help. You’ll still need to download Paolo’s icon set and upload to your forecast/images/ directory.

Just implemented them on my site, I’m using the SA version of WU-forecast.php. Had to rename all the .jpg extensions to .gif in WU-forecast.php (used find & replaced in the text editor), and works very well. Now to get them working as my conditions icons on my home page.

www.sandhurstweather.org.uk/wx11.php

Many thanks Paolo!

Thank you !..
A big thanks to Ken who modified the script to use the icons to all people! :smiley:

Any chance you can create one for falling temperatures (down.gif) it seems to be one that is still missing. Thanks, they look great!

Scott

There is a down.gif (non-animated) in the carterlake-icons.zip already.

Best regards,
Ken

They look great! But I cannot access the website, not from the forum links nor from Carter Lake links where the templates are.

I get:

Not Found

The requested URL /iconimageprevisioni-meteo-treviglio-lombardia-italia/download-icons/download-wu-wxsim-forecast-icons.html was not found on this server.

Thought it may have been my firewall, so I disabled it to try, same error.

Anyone have any thoughts why a site may not be accessed?

Thanks.

B

:frowning: I can’t get the link to work either…

His whole site is down…

http://www.meteotreviglio.com/

Thanks Mark Guess I’ll have to wait a bit to mess things up!!! :lol: :smiley: :wink:

His site is back up

:smiley: Thanks Mark got it working!!

Thank goodness. I had visions of either firewall blocking links, etc!

Thank you!

Hi

Thanks greats icons !