updated weather data functions