UPDATE: I’ve released versions 1.14 and 1.15 which fixes the problem with the decimal temperature not displaying properly.

Ugh. This has been a crazy week for my little Blackberry weather app. The National Weather Service has decided to change the formatting of their current conditions XML file. The original product description (pdf) displays the temperatures as integers, but as of this morning NWS has started pushing temperatures with an additional digit of precision. This causes the temperature in the application icon to overflow its maximum size of three digits. Some users will see “NWS” instead of the temperature and some will see “err.” To be fair, the schema for the current conditions feedĀ  indicates temperature is a decimal type, but I naively treated all values as string data for the sake of simplicity.

I have a fix that will strip the extra digits off of the temperature for display in the application icon. I plan to release this as a new version tonight.

NOAA keeps things interesting