Fixed the weather script to deal with non-integer temps.