Shouldn't rather be weather_stats as the smarty function is defined? Like this currently it wouldn't work I think.