A General Formulation to Describe Empirical Rainfall Thresholds for Landslides