The new block fixes the gl_weather wid field size which was too small for the amount of data being stored. In addition, all hard coded database table names have been replaced with the $_TABLES['...'] construct located in the lib-database.php.
Many thanks to Neil Darlow for all his excellent recommendations and fixes!
The updated block is located here.