Generalize WeatherHistory module using a param