finalized the query in the WeatherProvider and started the insert