Machine learning-integrated hydrogeochemical and spatial modeling of groundwater quality indices for seawater intrusion and irrigation sustainability in coastal agroecosystems of Skhirat Region, Morocco
{"title":"Machine learning-integrated hydrogeochemical and spatial modeling of groundwater quality indices for seawater intrusion and irrigation sustainability in coastal agroecosystems of Skhirat Region, Morocco","authors":"Hatim Sanad , Rachid Moussadek , Abdelmjid Zouahri , Majda Oueld Lhaj , Latifa Mouhir , Houria Dakak","doi":"10.1016/j.ejrh.2025.102848","DOIUrl":null,"url":null,"abstract":"<div><h3>Study region</h3><div>Skhirat coastal aquifer, Morocco.</div></div><div><h3>Study focus</h3><div>This study aimed to evaluate groundwater quality for drinking and irrigation, quantify seawater intrusion (SWI), and explore the added value of machine learning (ML) models for predicting groundwater indices. A total of 30 groundwater samples were collected and analyzed for physicochemical parameters. Hydrogeochemical characteristics were assessed using Piper, Gibbs, and Chadha diagrams. Water Quality Index (WQI), Irrigation Water Quality Index (IWQI), and Saltwater Mixing Index (SMI) were computed. Statistical tools (correlation matrix, PCA, K-means clustering) and GIS-based spatial interpolation were applied. Additionally, Random Forest (RF) and Artificial Neural Networks (ANN) models were tested to estimate groundwater indices and assess predictive performance.</div></div><div><h3>Key findings and implications</h3><div>Results showed WQI values ranging from 31.58 to 139.28, with 40 % of samples falling into the “poor” to “very poor” categories for drinking. IWQI revealed that 43.3 % of samples were “good,” while 6.7 % were “very poor” for irrigation suitability. SMI values exceeded 1 in 30 % of samples, confirming SWI in northwestern zones. ANN achieved higher accuracy for IWQI prediction (R² = 0.81), while RF performed best for SMI (R² = 0.74). Spatial analysis confirmed that salinization intensified toward the coast. These findings highlight the importance of integrating hydrogeochemical analysis, geospatial mapping, and ML modeling for sustainable groundwater management in Morocco’s coastal agroecosystems.</div></div>","PeriodicalId":48620,"journal":{"name":"Journal of Hydrology-Regional Studies","volume":"62 ","pages":"Article 102848"},"PeriodicalIF":5.0000,"publicationDate":"2025-10-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Hydrology-Regional Studies","FirstCategoryId":"89","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2214581825006779","RegionNum":2,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"WATER RESOURCES","Score":null,"Total":0}
引用次数: 0
Abstract
Study region
Skhirat coastal aquifer, Morocco.
Study focus
This study aimed to evaluate groundwater quality for drinking and irrigation, quantify seawater intrusion (SWI), and explore the added value of machine learning (ML) models for predicting groundwater indices. A total of 30 groundwater samples were collected and analyzed for physicochemical parameters. Hydrogeochemical characteristics were assessed using Piper, Gibbs, and Chadha diagrams. Water Quality Index (WQI), Irrigation Water Quality Index (IWQI), and Saltwater Mixing Index (SMI) were computed. Statistical tools (correlation matrix, PCA, K-means clustering) and GIS-based spatial interpolation were applied. Additionally, Random Forest (RF) and Artificial Neural Networks (ANN) models were tested to estimate groundwater indices and assess predictive performance.
Key findings and implications
Results showed WQI values ranging from 31.58 to 139.28, with 40 % of samples falling into the “poor” to “very poor” categories for drinking. IWQI revealed that 43.3 % of samples were “good,” while 6.7 % were “very poor” for irrigation suitability. SMI values exceeded 1 in 30 % of samples, confirming SWI in northwestern zones. ANN achieved higher accuracy for IWQI prediction (R² = 0.81), while RF performed best for SMI (R² = 0.74). Spatial analysis confirmed that salinization intensified toward the coast. These findings highlight the importance of integrating hydrogeochemical analysis, geospatial mapping, and ML modeling for sustainable groundwater management in Morocco’s coastal agroecosystems.
期刊介绍:
Journal of Hydrology: Regional Studies publishes original research papers enhancing the science of hydrology and aiming at region-specific problems, past and future conditions, analysis, review and solutions. The journal particularly welcomes research papers that deliver new insights into region-specific hydrological processes and responses to changing conditions, as well as contributions that incorporate interdisciplinarity and translational science.