a python function to query weather data from cities in the US