Forecasting short-term rainfall patterns in arid and semi-arid regions using machine learning and deep learning models: a case study from Morocco
摘要
Morocco’s oases, critical agroecological systems in arid regions, face escalating water scarcity due to climate variability, groundwater depletion, and a historic decline in palm groves from 15 million to 4 million trees over the past century. This study introduces a machine learning (ML)-based precipitation forecasting framework to enhance water resource management in four semi-arid Moroccan regions: Errachidia, Figuig, Tata, and Zagora. Leveraging a 1981–2025 dekadal rainfall dataset from the Climate Hazards Group InfraRed Precipitation with Station data (CHIRPS v2), we developed and compared four ML models: XGBoost, CatBoost, Long Short-Term Memory (LSTM), and Temporal Convolutional Network (TCN). CatBoost emerged as the most effective, achieving a testing