AI-Driven Climate Analysis in a Semi-arid Region: Uncovering Warming Trends and Meteorological Shifts in Southeastern Morocco

Authors

  • Anas Kabbori Higher School of Technology Essaouira, Cadi Ayyad University, Morocco https://orcid.org/0009-0004-0885-2790
  • Chahrazad Zargane Higher School of Technology Essaouira, Cadi Ayyad University, Morocco
  • Azidine Guezzaz Higher School of Technology Essaouira, Cadi Ayyad University, Morocco
  • Said Benkirane Higher School of Technology Essaouira, Cadi Ayyad University, Morocco
  • Mourade Azrour Faculty of Sciences and Techniques, Moulay Ismail University of Meknes, Morocco

DOI:

https://doi.org/10.47852/bonviewJDSIS62025842

Keywords:

climate change, time series decomposition, LSTM neural networks, temperature trends, extreme weather events, North Africa climate

Abstract

Climate change is recognized as a global threat, with arid and semi-arid regions highly vulnerable due to fragile ecosystems and limited water. This study analyzes long-term climate trends in Errachidia, Morocco, using high-resolution hourly meteorological data from 2010 to 2024. By applying both time series decomposition and Long Short-Term Memory (LSTM) neural networks, we did identify clear patterns of warming and climatic variability, providing localized insights that support climate adaptation strategies in line with Sustainable Development Goal 13. The results reveal a mean annual temperature increase of 0.1142°C, amounting to approximately 1.6°C over the 14-year period, while seasonal decomposition highlights particularly intense warming during autumn (+0.1666°C per year), with summer temperatures peaking around 35°C between 2022 and 2024. The study showed a frequency of extreme heat events (defined by the 95th percentile) nearing 500 occurrences annually, while the number of cold days has significantly declined since 2020, decreasing by an average of 9.29 events per year. Results also showed wind direction has shifted notably toward the north (from 25.7% to 30.4% occurrence between 2011 and 2023), although wind speed remained largely stable. In this study, we also used LSTM modeling, enhanced with proper inverse scaling and evaluation, which showed improved predictive performance. The temperature model achieved an RMSE of 0.43°C and an MAE of 0.32°C, confirming observed trends and highlighting challenges in modeling extremes in arid environments. The wind speed model showed lower precision due to inherent volatility, but still captured key directional trends. This work provides data-driven climate insights for an underrepresented North African region. Its findings have implications for agriculture, water management, and public health, offering a reproducible framework for future research. By integrating meteorological analysis with artificial intelligence, it highlights the need for targeted climate adaptation in Errachidia and other vulnerable areas across the Global South.

 

Received: 3 April 2025 | Revised: 26 August 2025 | Accepted: 3 December 2025

 

Conflicts of Interest

The authors declare that they have no conflicts of interest to this work.

 

Data Availability Statement

The raw meteorological observations used in this study originate from publicly available Aeronautical Meteorological Messages for Errachidia Airport, which are routinely disseminated by official meteorological and aviation weather services. The raw Aeronautical Meteorological Messages data are openly accessible, for example, via the NOAA Aviation Weather Center: https://aviationweather.gov/data/metar/?ids=GMFK. No restrictions apply to the use of the raw data. The processed dataset generated during this study is available from the corresponding author upon request.

 

Author Contribution Statement

Anas Kabbori: Conceptualization, Methodology, Software, Validation, Formal analysis, Resources, Data curation, Writing  — original draft, Writing — review & editing, Visualization. Chahrazad Zargane: Conceptualization, Validation, Formal analysis, Investigation, Resources, Writing — original draft, Writing — review & editing. Azidine Guezzaz: Methodology, Software, Validation, Resources, Data curation, Writing — original draft, Writing — review & editing, Supervision, Project administration. Said Benkirane: Methodology, Validation, Investigation, Resources, Writing — original draft, Writing — review & editing, Supervision. Mourade Azrour: Software, Validation, Investigation, Resources, Writing — original draft, Writing — review & editing, Visualization, Supervision.

Downloads

Published

2026-02-03

Issue

Section

Research Articles

How to Cite

Kabbori, A., Zargane, C., Guezzaz, A., Benkirane, S., & Azrour, M. (2026). AI-Driven Climate Analysis in a Semi-arid Region: Uncovering Warming Trends and Meteorological Shifts in Southeastern Morocco. Journal of Data Science and Intelligent Systems. https://doi.org/10.47852/bonviewJDSIS62025842