Text this: Soil moisture dynamics in water- and energy-limited ecosystems. Application to slope stability