fix type in get_filtered_mean_temp