Updated to be more sensitive to precipitation.