updated weather.py