Export averaged weather data to sql