Before booking a vacation, it pays to check the weather.