Create weather test code