Calculate weather statistics.