Modified and tested weather.py