Refactor some of the new weather code, fix docs.