setup method for retrieving weather data