Version 1.2.0 Released!

I had a couple people let me know that the icon would sometimes be broken. I did some investigating and found that the icon data in the XML file was sometimes missing and even bad. It appears that NOAA uses the weather conditions to cross-reference to the icon, and there were some conditions not accounted for. Also, the icon specified in the file was broken or specified as a PNG file and not a JPG file.

To fix this, I downloaded their icon file (which they provide in a zip file, all JPG’s) and saved them in a folder of their own. Then I altered the code to check for the JPG version in the icon folder and display that, otherwise it displays a “default” icon of the NOAA logo.

Thanks to Heather Thomas and Sebastian Broways for the help and positive feedback. And a special thanks to Sebastian for the donation!