Cleanup some functions that only had a use in the weather map grid from the original author