Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Haytam Elyoussfi has a total of 44 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    SnowMapPy: An automated GEE Python tool for snow cover mapping and monitoring in the Moroccan Atlas Mountains

    by Haytam Elyoussfi, Hatim Bechri, Mostafa Bousbaa, Salwa Belaqziz, Eric A Sproles, Siham Acharki, Abdelghani Chehbouni, Abdelghani Boudhar

  • Open Access

    Phenology-Informed Crop Type Mapping in Semi-Arid Morocco Using Sentinel-2 NDVI Time Series: A Machine Learning Approach with Temporal Sensitivity Analysis

    by Fatima Benzhair, Haytam Elyoussfi, Mouad Alami Machichi, Jada El Kasri, Rahma Azamz, Raouaa Elmousadik, Salwa Belaqziz

    Accurate crop mapping is essential for food security and water resource management in semi-arid North Africa. This study evaluated four machine learning algorithms for crop classification using Sentinel-2 NDVI time series in the Al Haouz region, Morocco with a time series of 12 dates (December 2023–May 2024) using 105,869 ground reference samples. Support Vector Machine (SVM) achieved the highest performance (macro F1-score = 0.80, Overall Accuracy = 81%), followed by XGBoost (0.79), Random Forest (0.79), and Decision Tree (0.71). Class-wise analysis revealed excellent discrimination for apricots (F1 = 0.99) due to distinctive spring phenology, while citrus showed the lowest accuracy (F1 = 0.61) due to confusion with olives. Dynamic Time Warping (DTW) analysis quantified phenological similarity between crops, revealing that classification confusion correlates with profile similarity. Temporal sensitivity analysis revealed that reducing acquisitions from 12 to 8 dates results in only 2.4% performance loss, offering significant operational advantages for resource-limited contexts. February–March acquisitions proved most discriminative, coinciding with peak vegetative differentiation. These findings provide practical recommendations for operational crop monitoring in semi-arid African regions facing water scarcity and food security challenges.

  • Open Access

    Regional-Scale Snow Depth Estimation in the Moroccan Atlas Mountains Using MODIS Remote Sensing Data and Empirical Modeling

    by Haytam Elyoussfi, Abdelghani Boudhar, Salwa Belaqziz, Mostafa Bousbaa, Mohamed Elgarnaoui, Fatima Benzhair, Rahma Azamz, Marouane Insaf, Abdelghani Chehbouni

    In Morocco, snow constitutes a crucial freshwater resource, particularly in the Atlas Mountains, where seasonal snowpack significantly contributes to surface water availability, groundwater recharge, and down-stream water supply. However, snow monitoring in these regions remains challenging due to the scarcity and uneven distribution of ground-based snow depth measurements, especially at high altitudes. This lack of observations limits the accurate assessment of snowpack dynamics and hampers hydrological modeling and water resource management. In this study, we assessed the performance of an empirical approach to estimate snow depth from satellite-derived fractional snow cover (FSC) obtained from MODIS observations. Five empirical FSC snow depth models, including linear and nonlinear exponential formulations, are developed and applied across multiple regions of the Moroccan Atlas Mountains. Model coefficients are calibrated independently for each region using three complementary optimization techniques, nonlinear least squares regression, genetic algorithms, and simulated annealing. Model skill was evaluated during calibration and validation using the Kling–Gupta Efficiency (KGE), Pearson correlation coefficient (R), and absolute error metrics (RMSE and MAE). Results show substantial performance differences across formulations and regions. The most flexible exponential model achieved highest efficiency (KGE up to 0.87; R > 0.85) and 0.26 cm (MAE) under moderate snow conditions. Linear formulations exhibited limited robustness, whereas exponential models better captured snow depth dynamics, particularly in high-altitude areas with deep and persistent snowpacks. These results highlight the potential of FSC-based empirical modeling as a practical and operational solution for snow depth estimation in data-scarce mountainous regions of Morocco.

  • Open Access

    Deciphering Olive Yield Determinants under Contrasting Water Regimes: A Multi-Site Machine Learning Approach in Morocco Agro-Ecosystems

    by Rahma Azamz, Haytam Elyoussfi, Fatima Benzhair, Raouaa El Mousadik, Salwa Belaqziz

    Improving olive yield in Moroccan agro-ecosystems requires a better understanding of the interactions between water availability, soil properties, and management practices. The complexity and non-linear nature of these interactions limit the effectiveness of conventional analytical approaches. This study applies machine learning methods to predict olive yield and to assess how the importance of yield determinants varies under contrasting water regimes. A multi-site dataset from Moroccan olive groves, including more than 2,000 observations, was analyzed. Machine learning models showed high predictive accuracy across water regimes. Under rainfed conditions, CatBoost achieved the best performance (R² = 0.845), indicating that yield variability is mainly driven by soil properties and spatial context. Under irrigated conditions, XGBoost provided the highest accuracy (R² = 0.855), highlighting the increasing role of management practices such as planting density and nitrogen fertilization. Under intensive irrigation, fruit-related variables, particularly 100-fruit weight, became the dominant predictors, while the influence of edaphic constraints decreased.Overall, the results demonstrate that irrigation does not simply increase olive yield but fundamentally alters the hierarchy of factors controlling production. These findings emphasize the need for data-driven, site-specific management strategies to enhance the sustainability and efficiency of olive production in Morocco.

  • Open Access

    Hyperparameter Sensitivity Analysis of Support Vector Machine for Crop Type Classification Using Sentinel-2 NDVI Time Series

    by Fatima Ben Zhair, Haytam Elyoussfi, Mouad Alami Machichi, Rahma Azamz, Jada El Kasri, Bouchra Boufous, Salwa Belaqziz

    Support Vector Machine (SVM) classifiers are widely used for satellite-based crop mapping, yet hyperparameter tuning is often treated as a black-box process, with limited insight into how individual parameters influence classification performance. This limitation becomes critical when deploying SVM models across heterogeneous agricultural landscapes, where robustness and transferability are required. This study systematically investigates the sensitivity of SVM hyperparameters for crop type discrimination using Sentinel-2 NDVI time series over the Al Haouz plain in central Morocco, a heterogeneous irrigated agricultural region comprising winter cereals and perennial orchards. An exhaustive grid search was conducted across multiple orders of magnitude for the regularization parameter C (0.01–1000) and the RBF kernel coefficient γ (0.001–10). Model performance was evaluated using F1-score, Recall, and Overall Accuracy for six crop classes with contrasting phenological patterns.Results reveal a pronounced asymmetry in hyperparameter influence. The regularization parameter C exhibits a high degree of robustness: once a moderate threshold is reached (C ≥ 1), classification performance stabilizes and remains insensitive to further increases. In contrast, γ shows a narrow optimal range (0.1–1.0), beyond which performance rapidly deteriorates. High γ values induce overfitting, particularly among crops with similar seasonal dynamics, as evidenced by persistent confusion between citrus and olive classes. The optimal configuration (C = 1, γ = 1) achieved an F1-score of 0.80 and an Overall Accuracy of 81%. More importantly, sensitivity analysis demonstrates that γ plays a dominant role in model calibration. These findings provide practical guidance for deploying robust SVM classifiers in data-limited agricultural contexts, where extensive hyperparameter tuning is often impractical.

  • Open Access

    Remote Sensing of Mountain Snow from Space: Developing Accurate Snow Products for Efficient Water Resource Management in Morocco’s Atlas Mountains

    by Mostafa Bousbaa, Abdelghani Boudhar, Christophe Kinnard, Gemine Vivone, Haytam Elyoussfi, Eric A. Sproles, Bouchra Bargam, Karima Nifa, Abdelghani Chehbouni

    In semi-arid regions of the Mediterranean, snowmelt and precipitation are vital water sources for downstream communities. Here, snow-covered mountain peaks serve as natural water reservoirs, playing a crucial role in regulating river flow and replenishing groundwater. This research leverages remote sensing to compensate for the lack of ground-based hydroclimatic data, focusing on the latest version of the MODIS snow cover product (version 6, V6). The study aims to refine the Normalized Difference Snow Index (NDSI) threshold and develop localized models for fractional snow cover (FSC) estimation tailored to the Moroccan Atlas Mountains. For this purpose, 448 Sentinel-2 scenes across six different regions in the Atlas Mountains were used to adjust the NDSI threshold and develop FSC models. Moreover, 8419 MOD10A1 and 7561 MYD10A1 images covering the period from March 2000 to June 2023 were processed to improve cloud filtering and generate a high-precision daily snow cover product for the region. Significant improvements were achieved in reducing cloud-covered pixels from 25.7% to 0.4%. Two NDSI MODIS threshold selection schemes were tested: the standard global threshold of 0.4 and a locally optimized threshold of 0.2. The local threshold demonstrated superior accuracy, significantly reducing snow cover estimation errors compared with the global threshold (0.4) for both Terra and Aqua MODIS images. The newly developed FSC models demonstrate high accuracy, displaying high correlation coefficients (average of 0.84) and low error measures when comparing MODIS-derived FSCs with high-resolution Sentinel-2 data. The improved daily snow cover product was compared with high-resolution snow maps obtained from Sentinel-2 satellite imagery in different regions of the Moroccan Atlas. On average, the product showed a mean correlation coefficient of 0.96, a mean absolute error of 0.22%, and a mean reasonable negative bias of -0.17%. This research concludes that the improved daily snow cover product offers a robust understanding of the spatio-temporal dynamics of snow extent. These advancements offer considerable potential improvements to modelling snowmelt contribution to the water balance, supporting efficient water resource management in the southern Mediterranean region.

  • Open Access

    SnowMapPy v1.0: A Python Package for Automated Snow Cover Mapping and Monitoring in Mountain Regions 

    by Haytam Elyoussfi, Abdelghani Boudhar, Salwa Belaqziz, Mostafa Bousbaa, Hatim Bechri, Eric A Sproles, Fatima Benzhair

    SnowMapPy is a Python-based package developed to streamline the collection, preparation, and analysis of MODIS NDSI data, specifically from the Terra and Aqua satellite products. By automating essential steps (data clipping, reprojection, filtering, and time series generation), SnowMapPy improves the efficiency and precision of snow hydrology research. The protocol allows users to work with both local and Google Earth Engine cloud-based datasets, enabling flexible data acquisition and processing tailored to the needs of snow hydrology, water resource management, and climate change studies. Designed for accessibility and flexibility, SnowMapPy supports large-scale, high-resolution snow cover analysis with minimal configuration. The package facilitates customized workflows through its modular structure, making it a valuable tool for researchers aiming to understand snow dynamics and their impact on seasonal water resources.

  • Open Access

    MorSnowAI v1.0 : An Open-Source Python Package for Empowering Artificial Intelligence in Snow Hydrology - A Comprehensive Toolbox

    by Haytam Elyoussfi, Abdelghani Boudhar, Salwa Belaqziz, Mostafa Bousbaa, Karima Nifa, Bouchra Bargam, Ismail Karaoui, Ayoub Bouihrouchane, Touria Benmira, Abdelghani Chehbouni

    Data-driven methods, such as machine learning (ML) and deep learning (DL), play a pivotal role in advancing the field of snow hydrology. These techniques harness the power of algorithms to analyze and interpret vast datasets, allowing researchers to uncover intricate patterns and relationships within the complex processes of snow dynamics. In snow hydrology, where traditional models may struggle to capture the nonlinear and dynamic nature of snow-related phenomena, data-driven methods provide a valuable alternative. Using data-driven methods (ML and DL) requires advanced skills in various fields, such as programming and hydrological modeling. In response to these challenges, we have developed an open-source Python package named MorSnowAI that streamlines the process of building, training and testing artificial intelligence models based on machine learning and deep learning methods. MorSnowAI not only automates the building, training, and testing of artificial intelligence models but also significantly simplifies the collection of data from various sources and formats, such as reanalyzing datasets (ERA5-Land) from Copernicus Climate Data and remote sensing data from Modis, Landsat, and Sentinel datasets to calculate Normalized Difference Snow Index (NDSI). It can also utilize local datasets as inputs for the model. Among other features available in the MorSnowAI package, it provides pre-processing and post-processing methods that users can choose, along with visualization and analysis of the available time series. The scripts developed in the MorSnowAI package have already undergone evaluation and testing in various snow hydrology applications. For instance, these applications include predicting snow depth, streamflow, snow cover, snow water equivalent, and groundwater levels in mountainous areas of Morocco. The automated processes within MorSnowAI contribute to advancing the field, enabling researchers to focus on refining model inputs, interpreting results, and improving the overall understanding of complex hydrological systems. By bridging the gap between hydrology and advanced data-driven techniques, MorSnowAI fosters advancements in research, offering valuable insights for resource management in regions heavily influenced by snow dynamics.


  • Open Access

    Towards a Deep Learning-based Spatio-temporal Fusion Approach for Accurately Improving Snow Cover Mapping: A Case Study in the Moroccan Atlas Mountains with Performance Evaluation

    by Mostafa Bousbaa, Abdelghani Boudhar, Christoph Kinnard, Haytam Elyoussfi, Nadir Elbouanani, Abdelaziz Htitiou, Bouchra Bargam, Karima Nifa, Abdelghani Chehbouni

    Remote sensing technologies provide continuous and detailed observations of various land surface parameters, including snow cover, vegetation, land surface temperature, soil moisture, and evapotranspiration, offering invaluable information at various scales and contexts. One of the major uses is the precise mapping and monitoring of seasonal snow cover dynamics, which are essential for water management and global water balance modeling. Since an intelligent ecosystem based on accurate snow cover estimation requires a collection of high-resolution satellite images, both temporally and spatially, to capture snow dynamics, particularly in semi-arid areas where snowfall is extremely variable. These requirements can be difficult to achieve based on a single sensor, mainly due to the trade-offs between the temporal, spectral, and spatial resolutions of the available satellites. In addition, atmospheric conditions and cloud contamination can increase the number of missing satellite observations. However, there is a promising solution to these limitations. Exploiting the complementary capabilities of the new-generation multispectral sensors aboard Landsat-8 (L8) and Sentinel-2 (S2), with spatial resolutions ranging from 10 to 30 meters, offers an unprecedented opportunity to significantly advance the accuracy of snow cover mapping. Hence, this study aims to investigate the effectiveness of the combined use of optical sensors through deep learning-based spatiotemporal image fusion to capture snow dynamics and produce detailed and dense Normalized Snow Difference Index (NDSI) time series in a semi-arid context. Three distinct deep learning models, namely Very Deep Super Resolution (VDSR), Super Resolution Unet (SR-Unet), and Residual Convolutional Neural Network (RCNN), were evaluated and compared to fuse L8 and S2 data. The findings indicate that all three approaches can provide accurate estimates for a coarse-resolution image at a given fusion date, although there are notable disparities in prediction quality between the different approaches. Specifically, R-squared values were measured at 0.94, 0.92, and 0.96 for RCNN, SR-Unet, and VDSR, respectively, with corresponding root mean square error (RMSE) values of 0.09, 0.11, and 0.08. Our results suggest that the VDSR model is particularly effective in producing high-resolution merged snow time series and can compensate for the absence of ground snow cover data.


  • Open Access

    Exploring Neural Network Performance in Hydrological Modeling in a Mountainous Region of Morocco: A Case Study on LSTM and GRU Architectures for Runoff Prediction

    by Karima Nifa, Abdelghani Boudhar, Haytam Elyoussfi, Youssra Eljabiri, Mostafa Bousbaa, Bouchra Bargam, Abdelghani Chehbouni

    This study thoroughly compared two types of neural networks, namely Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) recurrent neural networks (RNNs), within the context of hydrological modeling for predicting runoff in the Oum Er Rabia sub-basins. By assessing their performance on both daily and monthly scales, we aimed to understand the dynamics of runoff, which is crucial in water resources management. The combined analysis of predictions at both time scales provides a comprehensive perspective, using daily outputs for short-term decisions and monthly predictions for longer-term planning.Using a hydroclimatic time series dataset from 2000 to 2019, incorporating key factors such as snow cover area, temperature, and rainfall that influence hydrological processes and significantly impact flow patterns, the research evaluates the predictive accuracy of the models at both scales. The results reveal nuanced differences in predictive accuracy, with average Kling-Gupta Efficiency (KGE) values for LSTM and GRU at daily and monthly scales, respectively, being 0.64, 0.52, and 0.46, 0.54. These findings provide insights into the strengths and limitations of each architecture in the mountainous region of Morocco.The study enhances our understanding of the applicability of LSTM and GRU architectures in hydrological modeling, aiding practitioners in selecting models tailored to specific needs. By establishing a robust framework for short-term decision-making and long-term planning in water resource management, this research contributes to advancing predictive modeling and promoting sustainable water use while mitigating flood risks. The knowledge acquired paves the way for improved decision support in the critical area of water resource management.