save weather data to file