<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" dtd-version="1.3" article-type="research-article" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">fg</journal-id><journal-title-group><journal-title>Forum Geografi</journal-title><abbrev-journal-title abbrev-type="publisher">fg</abbrev-journal-title></journal-title-group><issn pub-type="ppub">0852-0682</issn><issn pub-type="epub">2460-3945</issn><publisher><publisher-name>Universitas Muhammadiyah Surakarta</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">16759</article-id><title-group><article-title>Rainfall Prediction Using Machine Learning in Nineveh Governorate, Iraq</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Nafea</surname><given-names>Khaled Raed</given-names></name><xref ref-type="aff" rid="AFF-1"/></contrib><contrib contrib-type="author"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-5906-3589</contrib-id><name><surname>Al-Dujaili</surname><given-names>Ali Mahdi Jawad</given-names></name><xref ref-type="aff" rid="AFF-1"/></contrib></contrib-group><aff id="AFF-1"><institution>Al-Iraqia University, College of Arts, Department of Geography, Baghdad, 10054</institution><country>Iraq</country></aff><author-notes><corresp id="cor-0">Corresponding author. Email: <email>khaled.r.nafea@aliraqia.edu.iq</email></corresp></author-notes><pub-date date-type="pub" publication-format="electronic" iso-8601-date="2026-7-24"><day>24</day><month>7</month><year>2026</year></pub-date><pub-date date-type="collection" publication-format="electronic" iso-8601-date="2026-7-24"><day>24</day><month>7</month><year>2026</year></pub-date><volume>40</volume><issue>3</issue><fpage>367</fpage><lpage>390</lpage><abstract><p>Accurate rainfall forecasting is essential in arid and semi-arid regions such as Iraq due to increasing climate variability, water scarcity, and the growing need for sustainable water resource management. This study proposes an integrated spatiotemporal framework for rainfall forecasting in Nineveh Governorate, Iraq, combining non-parametric trend detection, multivariate correlation analysis, and ensemble machine learning. Monthly climate data from seven stations (1994-2024) were analysed using the Mann-Kendall test and Sen’s slope estimator to assess long-term rainfall dynamics. Pearson and Spearman coefficients were applied to examine interrelationships among climatic variables and to mitigate multicollinearity prior to model construction. Four predictive models (XGBoost, CatBoost, Random Forest, and LSTM) were combined through a weighted stacking ensemble to improve robustness and reduce forecasting uncertainty. Results indicate no statistically significant long-term monotonic trend in annual rainfall; however, clear spatial heterogeneity and seasonal variability were observed. The stacking model outperformed the individual models, achieving an R² value of 0.981 (98.1%), indicating high predictive performance., with reduced RMSE and MAE values. Findings highlight the dominance role of temperature-humidity-pressure interactions in shaping rainfall behaviour in semi-arid environments. The proposed framework enhances both predictive reliability and structural interpretation of rainfall variability under regional climate stress conditions.</p></abstract><kwd-group kwd-group-type="author-generated"><kwd>Rainfall</kwd><kwd>Model</kwd><kwd>Standard Deviation</kwd><kwd>Machine Learning</kwd><kwd>Nineveh Governorate</kwd></kwd-group><history><date date-type="received" iso-8601-date="2026-3-30"><day>30</day><month>3</month><year>2026</year></date><date date-type="rev-recd" iso-8601-date="2026-6-14"><day>14</day><month>6</month><year>2026</year></date><date date-type="accepted" iso-8601-date="2026-6-20"><day>20</day><month>6</month><year>2026</year></date></history><permissions><copyright-statement>Copyright © 2026 khaled nafea; khaled nafea; Mahdi Jawad Ali</copyright-statement><copyright-year>2026</copyright-year><copyright-holder>khaled nafea; khaled nafea; Mahdi Jawad Ali</copyright-holder><license xlink:href="https://creativecommons.org/licenses/by/4.0"><license-p>This article is distributed under the terms of the license at https://creativecommons.org/licenses/by/4.0.</license-p></license></permissions></article-meta></front><body><sec id="sec-1"><title>1. Introduction</title><p>Rainfall is considered a fundamental component in supporting water resources, as it represents a renewable natural resource that contributes to the replenishment of both surface water and groundwater on a periodic basis, making it a key factor in the sustainability of freshwater supplies (Al-Hussein <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib4">2024</xref>). Rain is  also the main driver of a number of natural disasters, such as floods and droughts, due to an increase or decrease in its quantity or irregular frequency (Datta <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib13">2019</xref>) On the other hand, the intensity and frequency of rainfall are important indicators of climate change, particularly at the regional level (Ghosh <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib18">2023</xref>). Similarly, rainfall plays a crucial role in determining the temporal and spatial distributions of water resources, as rainfall patterns control the distributions of surface water and groundwater (Kõlõc, 2020). Furthermore, the irregularity and variability of rainfall can increase the risk of extreme events, such as floods, necessitating the development of accurate models to analyze these changes and improve rainfall forecasting (Bahrom <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib7">2026</xref>). </p><p>Rainfall forecasting is important because it supports the planning, protection, and development of water resources for irrigation, hydroelectric power generation, domestic supply, and disaster risk reduction, particularly flood mitigation (Kannan <italic>et al.,</italic> <xref ref-type="bibr" rid="bib25">2010</xref>; Fereshtehpour <italic>et al.,</italic> <xref ref-type="bibr" rid="bib16">2020</xref>; Gu <italic>et al.,</italic> <xref ref-type="bibr" rid="bib19">2022</xref>). In regions with unstable rainfall patterns, analyzing the quantitative and temporal variability of rainfall is scientifically important because rainfall directly influences water availability, agricultural activities, ecosystem stability, and climate-related hazards (Wang <italic>et al., </italic><xref ref-type="bibr" rid="bib53">2020</xref>). Historical rainfall patterns are shaped by multiple atmospheric and climatic parameters, including humidity, temperature, wind conditions, and antecedent rainfall, making rainfall prediction a complex but essential task in climate forecasting studies (Kundu <italic>et al.,</italic> <xref ref-type="bibr" rid="bib32">2023</xref>).</p><p>Recent studies show a strong movement from conventional statistical approaches toward machine learning, deep learning, and ensemble-based models for rainfall prediction. Machine learning methods are increasingly used because they can capture nonlinear relationships between rainfall and climatic predictors more effectively than many traditional models. Elshaboury <italic>et al</italic>. (<xref ref-type="bibr" rid="bib14">2021</xref>), for example, demonstrated that artificial neural networks achieved better rainfall prediction performance than traditional statistical models in arid regions. Similarly, Uddin <italic>et al</italic>. (<xref ref-type="bibr" rid="bib51">2025</xref>) applied linear regression, random forest, and artificial neural networks using climatic variables such as temperature, humidity, wind speed, and previous rainfall, showing improved accuracy through reduced RMSE and MAE values. Nirranjana <italic>et al</italic>. (<xref ref-type="bibr" rid="bib38">2025</xref>) also reported high predictive accuracy and low error values from machine learning-based rainfall prediction models.</p><p>Beyond individual machine learning algorithms, recent research increasingly emphasizes hybrid and ensemble modeling strategies. El Hafyani et al. (2024) showed that a clustering-based machine learning model improved the accuracy of monthly rainfall forecasting and yielded lower RMSE values than individual models. Ghosh et al. (<xref ref-type="bibr" rid="bib18">2023</xref>) demonstrated that ensemble learning techniques, including boosting and bagging, can reduce bias and variance, leading to better prediction performance and lower error rates. Baig et al. (<xref ref-type="bibr" rid="bib8">2024</xref>) further showed that advanced models, such as XGBoost and LSTM, outperformed traditional approaches in extremely arid environments, especially when multiple climatic variables were incorporated. Similarly, Jumadi et al. (<xref ref-type="bibr" rid="bib24">2025</xref>) reported that AI-based ensemble learning approaches combining random forest, XGBoost, and LSTM improved spatiotemporal rainfall forecasting and produced more reliable predictions in complex climatic environments.</p><p>Spatially explicit rainfall prediction has also become increasingly important, particularly for arid and semiarid regions where rainfall is unevenly distributed. Manaf et al. (<xref ref-type="bibr" rid="bib34">2026</xref>) showed that integrating random forest with kriging improved the spatial representation of rainfall variability and outperformed traditional statistical methods in predictive accuracy. This indicates that rainfall forecasting is not only a temporal prediction problem but also a spatial modeling challenge, especially in regions where water availability, agricultural productivity, and hazard exposure vary considerably across space.</p><p>This advance is highly relevant to Nineveh Governorate, which is characterized by a semiarid climate, hot and dry summers, and cold, wet winters. The governorate’s climatic characteristics are influenced by its geographical and geological position on the Arabian Plate, which affects rainfall distribution and temperature patterns (MileHacker, <xref ref-type="bibr" rid="bib36">2019</xref>; Rahi et al., <xref ref-type="bibr" rid="bib41">2019</xref>). Water-related challenges in Nineveh have intensified over time due to rainfall variability, natural hazards, and increasing pressure on water resources (Parmar et al., <xref ref-type="bibr" rid="bib39">2017</xref>). The region is already experiencing water scarcity, and further deterioration of surface and groundwater resources is expected under continued climatic stress and rising water demand (Voss et al., <xref ref-type="bibr" rid="bib52">2013</xref>; Al Hashimi et al., <xref ref-type="bibr" rid="bib3">2024</xref>). Therefore, the existing literature highlights the importance of robust rainfall forecasting approaches for supporting water resource management, agricultural planning, and disaster risk reduction in semiarid environments such as Nineveh.</p><p>Despite the large number of studies that have dealt with rainfall prediction in Iraq, only a limited number of them have dealt with it in a comprehensive and up-to-date manner Despite these global developments, studies that have addressed rainfall forecasting in Iraq, particularly in Nineveh Governorate, are limited. Hence, this study aims to fill the research gaps in previous studies, and among these studies are the following (Abdaki <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib1">2023</xref>), long-term forecasting of rainfall in Nineveh Governorate, northern Iraq, on the basis of the Prophet model. The study was based on daily rainfall data from five stations within Nineveh Governorate for the period (1981-2021), and future forecasts were produced up to the year 2030. The study predicted an annual decrease in rainfall amount. In this study, only the rainfall element was considered in the future forecasts. This study (Al-Hashimi <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib3">2024</xref>) predicted monthly rainfall in northern Iraq, including the Nineveh Governorate, using a bagging-based cluster learning model. The study relied on integrating fundamentals that included random trees, locally weighted learning, and k nearest neighbors. </p><p>This study aims to represent the nonlinear behavior of rainfall and improve forecast accuracy without considering the accompanying climatic effects on rainfall, such as temperature, humidity, wind speed and atmospheric pressure. (Al-Ozeer <italic>et al.</italic><italic>, </italic><xref ref-type="bibr" rid="bib5">2020</xref>) conducted a study that was not a direct forecasting objective but rather focused on estimating rainfall data in Nineveh to serve as a valid basis for subsequent predictive modeling. In Sulaymaniyah, a semiarid city, a hybrid SARIMA (seasonal autoregressive integrated moving average) artificial neural application (ANN) model achieved superior accuracy (coefficient of determination (R²) = 0.98) compared with standalone artificial neural networks), highlighting the benefits of integrating statistical and ML techniques for rainfall prediction (Latif <italic>et al., </italic>2024). (Tahseen <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib50">2025</xref>) conducted a study on monthly rainfall forecasting in Erbil, northern Iraq, using a set of machine learning models, including ANN, RF, XGB and SVR, along with multiple linear regression, which was based on monthly climate data for the period of 2004-2023. (Shneishil, <xref ref-type="bibr" rid="bib47">2025</xref>) conducted a study with the aim of predicting rainfall amounts in northwestern Iraq up to 2035 via artificial intelligence techniques and statistical modeling, with a focus on the random forest model.</p><p>The novelty of this study lies in its integrated spatiotemporal modeling framework for rainfall analysis and prediction in a semi-arid region of Iraq. Unlike previous studies that mainly emphasized predictive accuracy or applied isolated statistical trend tests, this study combines long-term rainfall trend detection, spatial variability assessment, climate-variable interdependency analysis, and ensemble machine learning within a single analytical workflow. The framework first evaluates annual, seasonal, and monthly rainfall trends using robust non-parametric methods, then examines the correlation structure and multicollinearity among climatic variables before model development, and finally applies a weighted stacking ensemble to improve predictive stability and reduce model uncertainty. This approach advances rainfall forecasting from a purely accuracy-oriented exercise toward a more interpretable framework that explains how different climatic elements contribute to precipitation variability under semi-arid climatic stress.</p><p>This study aims to develop an integrated spatiotemporal rainfall modeling framework for Nineveh Governorate, Iraq, by combining statistical trend analysis, spatial rainfall variability assessment, multivariate climate-variable evaluation, and weighted stacking ensemble machine learning. Through this framework, the study provides both predictive and explanatory insights into rainfall dynamics in a semi-arid environment facing increasing climatic and water-resource stress.</p></sec><sec id="sec-2"><title>2. Methods </title><sec id="sec-2_1"><title>2.1. Overview of the Study Area</title><p>Nineveh Province is located between latitudes 34° 52′ 25″ – 37° 06′ 3.5″ N and longitudes 41° 10′ 21″ – 43° 42′ 50″ E and has an area of 35,152 km2. It is bordered to the north by Duhok Governorate, east by Erbil and Kirkuk Governorates, south by Salah al-Din and Al-Anbar Governorates, and west by the Syrian Arab Republic, as shown in Figure <xref ref-type="fig" rid="fig-1">1</xref> (Mohammed <italic>et al.</italic><italic>, </italic><xref ref-type="bibr" rid="bib37">2022</xref>). Iraq is located within the arid and semiarid climatic zone and is characterized by the succession of four climatic seasons: summer (July–October), hot and dry; autumn (October–November); winter (December–February), temperate and cold; and finally, rainy (rain). Approximately 90% of the total annual rainfall is concentrated during the winter and spring (Salman <italic>et al.</italic><italic>, </italic><xref ref-type="bibr" rid="bib45">2019</xref>). As shown in Table <xref ref-type="table" rid="table-1">1</xref>, the locations of the selected stations in the study area and their altitudes above sea level vary from station to station due to the topography of the study area.</p><fig id="fig-1"><label>Figure 1</label><caption><title>Location Map of the Study Area Showing Iraq within a Global Context and the Spatial Distribution of the Selected Climatic Observation Stations.</title></caption><graphic mimetype="image" mime-subtype="jpeg" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82970"/></fig><table-wrap id="table-1"><label>Table 1</label><caption><title>. Details of the Rain Stations within the Study Area.</title></caption><table frame="box" rules="all"><thead><tr><th><p>Station name</p></th><th><p>Station ID</p></th><th><p>Elevation (m)</p></th><th><p>Latitude</p></th><th><p>Longitude</p></th></tr></thead><tbody><tr><td><p>Mosul</p></td><td><p>608</p></td><td><p>223</p></td><td><p>36.19</p></td><td><p>43.09</p></td></tr><tr><td><p>Sinjar</p></td><td><p>604</p></td><td><p>583</p></td><td><p>36.2</p></td><td><p>41.5</p></td></tr><tr><td><p>Rabia</p></td><td><p>602</p></td><td><p>382</p></td><td><p>36.47</p></td><td><p>42.06</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>610</p></td><td><p>321</p></td><td><p>36.02</p></td><td><p>41.44</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>603</p></td><td><p>373</p></td><td><p>36.22</p></td><td><p>42.29</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>609</p></td><td><p>200</p></td><td><p>35.55</p></td><td><p>42.34</p></td></tr><tr><td><p>Makhmur</p></td><td><p>619</p></td><td><p>270</p></td><td><p>35.45</p></td><td><p>43.36</p></td></tr></tbody></table></table-wrap><p>Source: Republic of Iraq, Ministry of Transport. Iraqi Meteorological Organization/Climate Department, unpublished data.</p><p>Topographic features are among the most important natural factors affecting the climate of the study area. The diversity of topographic features, such as mountains, plateaus, hills, and valleys, and their lack of uniformity, create climatic variations from one region to another (Farouk <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib15">2005</xref>). Nineveh Governorate is characterized by diverse surface features. The topography and elevation above sea level are what control the elements of the climate. The most important topographical feature of the study area is the existence of two regions: the mountainous region and the undulating region and plains.</p></sec><sec id="sec-2_2"><title>2.2. Tools and Methods </title><p>This study relies on the application of an integrated set of advanced technical and statistical tools to analyse climatic data and to forecast rainfall amounts with a high degree of accuracy, as these tools encompass a range of analytical and predictive modeling techniques.</p></sec><sec id="sec-2_3"><title>2.2.1. Climatic Data</title><p>The data represent the recorded rainfall amounts over the period from 1994 to 2024 at a set of meteorological stations distributed within the study area. These data were adopted as the basis for the analysis of rainfall characteristics and the construction of predictive models. This period was adopted due to the limited availability and discontinuity of data in earlier years, which could affect the accuracy of the analysis. Accordingly, the relatively complete available records were used as a reliable basis for analyzing rainfall characteristics and developing predictive models. Rainfall is one of the most important forms of condensation in the upper layers of the atmosphere. It depends on the amount of water vapor present and the temperature of the dew point at which condensation occurs. Rainfall is one of the most important forms of atmospheric condensation. Its occurrence depends on the amount of water vapour in the atmosphere and the attainment of the dew point temperature. </p><p>Iraq is located within the arid and semi-arid climatic zone, and its rainfall regime is influenced by the Mediterranean rainfall system. Consequently, rainfall is concentrated during the cold season, while the hot season is generally dry (Al-Mousawi <italic>et al</italic><italic>.,</italic> 2013). Table <xref ref-type="table" rid="table-2">2</xref> shows that rainfall in Nineveh Governorate has a clear seasonal character, with precipitation concentrated from January to April, with a pronounced peak in January, February, and March across all stations (Al-Azzawi, 2017). Rainfall values reach monthly averages of approximately 60-70 mm at some stations, particularly at the Makhmour, Rabia, and Sinjar stations. Rainfall continues during April in moderate amounts and then begins to decrease sharply in May. The region enters a period of near-total drought during the summer (June-August), as the values are almost nonexistent at all stations. With the beginning of autumn (September-October), the rains gradually returned. For the annual total, the highest values were recorded at the Rabia (365.5 mm) and Makhmour (364.6 mm) stations, whereas the lowest values were recorded at Tel Abta (253.2 mm), reflecting spatial variation associated with geographical location and topography.</p><table-wrap id="table-2"><label>Table 2</label><caption><title>. Average Total Rainfall Amounts (mm) for the Study Stations for the Period 1994–2024.</title></caption><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>JAN</p></th><th><p>FEB</p></th><th><p>MAR</p></th><th><p>APR</p></th><th><p>MAY</p></th><th><p>JUN</p></th><th><p>JUL</p></th><th><p>AUG</p></th><th><p>SEP</p></th><th><p>OCT</p></th><th><p>NOV</p></th><th><p>DEC</p></th><th><p>Annual total</p></th></tr></thead><tbody><tr><td><p>Mosul</p></td><td><p>60.9</p></td><td><p>47.3</p></td><td><p>57.9</p></td><td><p>40.8</p></td><td><p>13.4</p></td><td><p>0.8</p></td><td><p>0.2</p></td><td><p>0</p></td><td><p>0.6</p></td><td><p>12.2</p></td><td><p>38.7</p></td><td><p>54.5</p></td><td><p>327.2</p></td></tr><tr><td><p>Sinjar</p></td><td><p>71.7</p></td><td><p>47.3</p></td><td><p>57.4</p></td><td><p>37.9</p></td><td><p>22.3</p></td><td><p>1</p></td><td><p>0.1</p></td><td><p>0</p></td><td><p>0.5</p></td><td><p>15</p></td><td><p>31.7</p></td><td><p>61.5</p></td><td><p>346.3</p></td></tr><tr><td><p>TalAbtah</p></td><td><p>50.7</p></td><td><p>39.8</p></td><td><p>47.5</p></td><td><p>28.5</p></td><td><p>14.1</p></td><td><p>0.1</p></td><td><p>0.1</p></td><td><p>0</p></td><td><p>0.4</p></td><td><p>8.7</p></td><td><p>23.6</p></td><td><p>39.6</p></td><td><p>253.2</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>65.3</p></td><td><p>46.1</p></td><td><p>58.8</p></td><td><p>36.5</p></td><td><p>19.9</p></td><td><p>0.5</p></td><td><p>0.2</p></td><td><p>0</p></td><td><p>0.9</p></td><td><p>10</p></td><td><p>30.9</p></td><td><p>49.4</p></td><td><p>318.5</p></td></tr><tr><td><p>Makhmur</p></td><td><p>76.7</p></td><td><p>57.3</p></td><td><p>63</p></td><td><p>42.3</p></td><td><p>10.8</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>17.9</p></td><td><p>41.3</p></td><td><p>55.3</p></td><td><p>364.6</p></td></tr><tr><td><p>Rabia</p></td><td><p>69.9</p></td><td><p>51.2</p></td><td><p>64.1</p></td><td><p>46.3</p></td><td><p>24.5</p></td><td><p>0.6</p></td><td><p>0.1</p></td><td><p>0</p></td><td><p>1.3</p></td><td><p>16.6</p></td><td><p>32.1</p></td><td><p>58.9</p></td><td><p>365.5</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>63.5</p></td><td><p>42.7</p></td><td><p>45.7</p></td><td><p>41.9</p></td><td><p>20.7</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>1.3</p></td><td><p>11.8</p></td><td><p>24.3</p></td><td><p>52.1</p></td><td><p>305.8</p></td></tr></tbody></table></table-wrap><p>Source: Based on the Ministry of Transport, Iraqi Meteorological Organization and Seismological Monitoring, Climate Department, (unpublished data), 2024.</p><p>The construction of the predictive model involved incorporating a set of climatic variables that affect rainfall amounts, including as shown in Table <xref ref-type="table" rid="table-3">3</xref> temperature, relative humidity, wind speed, and atmospheric pressure, as key explanatory variables in estimating rainfall behavior.</p><table-wrap id="table-3"><label>Table 3</label><caption><title>. Descriptive Statistics of Climate Data for the Period (1994–2024).</title></caption><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Average maximum temperature (°C)</p></th><th><p>Average minimum temperature (°C)</p></th><th><p>Average Atmospheric Pressure</p></th><th><p>AverageRelative Humidity (%)</p></th><th><p>AverageWind Speed (m/s)</p></th></tr></thead><tbody><tr><td><p>Mosul</p></td><td><p>28.7</p></td><td><p>13.9</p></td><td><p>1012</p></td><td><p>50</p></td><td><p>1.6</p></td></tr><tr><td><p>Sinjar</p></td><td><p>26.9</p></td><td><p>13.5</p></td><td><p>1012</p></td><td><p>45</p></td><td><p>1.8</p></td></tr><tr><td><p>TalAbtah</p></td><td><p>28.5</p></td><td><p>13.9</p></td><td><p>1011</p></td><td><p>48</p></td><td><p>1.9</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>27.6</p></td><td><p>13.7</p></td><td><p>1012</p></td><td><p>46</p></td><td><p>1.7</p></td></tr><tr><td><p>Makhmur</p></td><td><p>28.5</p></td><td><p>14.3</p></td><td><p>1012</p></td><td><p>48</p></td><td><p>1.7</p></td></tr><tr><td><p>Rabia</p></td><td><p>27.2</p></td><td><p>13.7</p></td><td><p>1012</p></td><td><p>49</p></td><td><p>1.5</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>27.4</p></td><td><p>13.6</p></td><td><p>1013</p></td><td><p>46</p></td><td><p>1.9</p></td></tr></tbody></table></table-wrap><p>Source: Based on the Ministry of Transport, Iraqi Meteorological Organization and Seismological Monitoring, Climate Department, (unpublished data), 2024.</p></sec><sec id="sec-2_4"><title>2.2.2 Data Analysis Tools</title><p>The program was based on Python as the main programming language to utilize the artificial intelligence libraries and data analysis tools (Aurélien Géron, <xref ref-type="bibr" rid="bib6">2019</xref>). The pandas library was used for processing and organizing climate data (Reback <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib42">2020</xref>). Calculations and statistical analysis were also done using the NumPy library (Harris <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib21">2020</xref>). The predictive model performance was evaluated using the Scikit-learn library (Pedregosa<italic> et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib40">2011</xref>). In addition, the Matplotlib and Seaborn libraries were used to create the graphs, analyse climate patterns, and present the findings in an understandable graphic format (Hunter, <xref ref-type="bibr" rid="bib23">2007</xref>).</p></sec><sec id="sec-2_5"><title>2.2.3. Data Processing</title><p>The first stage involved processing climate data by assessing data quality and filtering out extreme and illogical values, particularly anomalous or negative rainfall values, and addressing missing values to ensure the consistency and accuracy of the time series data (Han <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib20">2012</xref>). Owing to the prevailing climate in the study area, the summer months (June, July, and August) were excluded from the analysis because they represent a period of near-total drought. The monthly totals for the climatic variables, including temperature, relative humidity, wind speed, and atmospheric pressure, were then calculated. The relationships between independent climate variables and rainfall amounts were examined to identify the most influential variables and reveal patterns of correlation among them, thereby improving the efficiency of the model and enhancing the accuracy of the predictive results (Wilks, <xref ref-type="bibr" rid="bib54">2011</xref>).</p><p>The first stage involves processing climate data by assessing its quality and filtering out extreme and illogical values, especially anomalous or negative rainfall values, and addressing missing values to ensure the consistency and accuracy of time series data (Han <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib20">2012</xref>). Owing to the prevailing climate in the study area, the summer months (June, July, and August) were excluded from the analysis because they represent a period of near-total drought. The exclusion of the summer months (June-August) was primarily intended to avoid introducing noise associated with near-zero rainfall values, which could adversely affect model training and reduce predictive stability, particularly in data-driven approaches. The monthly totals for the climatic variables, including temperature, relative humidity, wind speed, and atmospheric pressure, were then calculated. The relationships between independent climate variables and rainfall amounts were examined to identify the most influential variables and reveal the patterns of correlation between them, which contributed to improving the efficiency of the model used and enhancing the accuracy of the predictive results (Wilks, <xref ref-type="bibr" rid="bib54">2011</xref>).</p></sec><sec id="sec-2_6"><title>2.2.4. Climate Correlation Analysis</title><p>To investigate the relationships between rainfall and the associated climatic variables, correlation analysis was performed using both Pearson’s and Spearman’s correlation coefficients. Pearson’s correlation coefficient was applied to evaluate the strength and direction of linear relationships among the climatic variables) Benesty <italic>et al.</italic><italic>, </italic><xref ref-type="bibr" rid="bib9">2009</xref>), as expressed in Equation (1). This method was used to identify variables that exhibit strong linear associations with rainfall patterns.</p><p>where (r) is Pearson’s correlation coefficient, (Xi) and (Yi) represent the observed values of the climatic variables, and (n) is the total number of observations.</p><p>In addition, Spearman’s rank correlation coefficient was employed to assess monotonic relationships that may not necessarily follow a linear pattern (Spearman, 1904), as shown in Equation 2. This approach improves the robustness of the statistical analysis by detecting non-linear associations among climatic variables before their integration into predictive machine learning models.</p><p>Where (  ) represents Spearman’s rank correlation coefficient, (di) is the difference between the ranks of paired observations, and (n) is the number of observations.</p></sec><sec id="sec-2_7"><title><bold>2.</bold><bold>3. </bold><bold>Analysis and Processing Procedure</bold></title><p>This study relied on a set of climatic variables to train and evaluate the models: temperature, relative humidity, wind speed, and atmospheric pressure. Given the correlation between rainfall amounts in the study area and these variables, rainfall data recorded at seven spatially distributed meteorological stations within the study area were utilized (Gu <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib19">2022</xref>). Approximately 90% of the data from each station were allocated for model training, while the remaining 10% were used to evaluate its predictive efficiency. The study was based on monthly averages of climatic elements. The climatic data spanning 31 years for each station were divided into two independent groups. The first group included training data for the period (1994-2014), whereas the second group included test data for the period (2015-2024) , The period (2015-2024) was used as an independent test phase to evaluate the ability of the trained models to predict observed rainfall before the validated model was applied to future forecasts during the period (2025-2034) (Hastie <italic>et al.</italic><italic>,</italic> 2009).</p><p>The performance of the predictive models was evaluated on the basis of test data not included in the training process, ensuring the neutrality of the evaluation and the accuracy of measuring the predictive ability of the models. Through the trained models, future forecasts of rainfall amounts for the period from 2025-2034 were obtained (Kuhn <italic>et al</italic><italic>.,</italic> 2013). The study methodology is illustrated in Figure <xref ref-type="fig" rid="fig-2">2</xref>.</p><fig id="fig-2"><label>Figure 2</label><caption><title>. Study Methodology Outline.</title></caption><graphic mimetype="image" mime-subtype="png" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82971"/></fig></sec><sec id="sec-2_8"><title>2.3.1. Climate Trend Analysis</title><p>To detect monotonic long-term trends in rainfall time series (1994–2024), the non-parametric Mann–Kendall (MK) test was applied, as it is widely used in hydro-climatological trend detection studies for its robustness to non-normal data and outliers (Hamed, 2008).</p><p>The magnitude of change associated with the detected trend was quantified using Sen’s slope estimator, which provides a median-based estimate of the annual rate of change (mm/year) without assuming a specific data distribution (Sen, 1968).</p><p>The combined use of the Mann–Kendall test and Sen’s slope estimator has become a standard approach in contemporary climate trend assessments, particularly in semi-arid environments characterized by high rainfall variability (Yue and Wang, <xref ref-type="bibr" rid="bib56">2004</xref>; Hamed, 2008; Tabari <italic>et al.,</italic> <xref ref-type="bibr" rid="bib49">2018</xref>). A significance level of α = 0.05 was adopted to determine the statistical significance of detected trends.</p></sec><sec id="sec-2_9"><title>2.3.2. Machine Learning Methods</title><p>This study was premised on the creation of an extremely precise predictive model to approximate the rainfall quantities in the research site by implementing an integrated approach that incorporates statistical modeling and contemporary machine learning (Khan <italic>et al</italic><italic>.,</italic> 2023). The models have had some success in explaining the temporal relationships among various climatic variables and rainfall quantities, which has given them a strong methodological basis to proceed to more sophisticated predictive approaches and improve the fidelity of rainfall forecasting (Ghosh <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib18">2023</xref>). The methodological framework of the study was extended with the use of advanced machine learning models that were selected as integrative models and incorporated the results of another set of predictive models . These included:</p><p><bold>1</bold><bold>.</bold><bold> XGBOOST</bold></p><p>The XGBoost algorithm is an advanced gradient boosting technique based on the Gradient Boosting Machine (GBM) framework. It was introduced by (Chen and Guestrin, <xref ref-type="bibr" rid="bib10">2016</xref>) and has demonstrated high performance in supervised learning tasks, including regression, classification, and ranking problems. The algorithm constructs an ensemble of decision trees iteratively, where each new tree minimises the prediction error of the previous trees through gradient optimisation. XGBoost also incorporates regularisation terms to improve model generalisation and reduce overfittingm, making it highly effective for rainfall prediction modeling.</p><p>In this study, the XGBoost model was applied to predict rainfall patterns by minimizing the objective function, which consists of a loss function and a regularisation component, as expressed in Equation 3:</p><p>where  represents the objective function,  denotes the loss function measuring the difference between observed and predicted rainfall values,  represents the individual decision trees,   is the regularisation term used to control model complexity, and (K) is the total number of trees in the ensemble.</p><p><bold>2. </bold><bold>CatBoost</bold></p><p>The CatBoost algorithm is a modern incremental boosting algorithm that was created by Yandex (Saber <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib43">2022</xref>). A key feature of this algorithm is that it can directly operate with categorical data, which is a frequent issue in most machine learning problems. Conventional approaches may need elaborate and time consuming preprocessing steps that may implicate data leakage. The CatBoost algorithm on the other hand directly works with categorical variables in its own architecture simplifying the process of data preparation to a large extent. The algorithm is efficient and simple to use since it is highly accurate and resistant even with default parameter settings. CatBoost is very efficient in most machine learning tasks, such as regression, classification, and ranking, thus it is an apt solution to working with complicated nonlinear data in predictions.</p><p><bold>3. </bold><bold>Random Forest</bold></p><p>The Random Forest algorithm, introduced by Breiman (<xref ref-type="bibr" rid="bib11">2001</xref>), is an effective ensemble machine learning algorithms for regression modeling and classification. This study used the random forest algorithm to predict rainfall amounts. The algorithm relies on creating many decision trees and standardizing their outputs. The final prediction is calculated on the basis of the average of the tree predictions in the case of regression (Sharma <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib46">2021</xref>), which contributes to improving accuracy and reducing the problem of overfitting. Random Forest is particularly effective in modeling nonlinear relationships between climatic variables and rainfall patterns. It also demonstrates strong performance when handling large datasets and missing values, making it suitable for climatic forecasting applications.</p><p>The Gini impurity criterion used in decision tree splitting is expressed in Equation 4.</p><p>where (Pi) represents the probability of class (i), and (c) denotes the total number of classes. Lower Gini values indicate higher node purity during the tree construction process.</p><p><bold>4</bold><bold>. </bold><bold>LSTM Neural Network</bold></p><p>Neural networks Advanced types of recurrent neural networks include long Short-Term memory(LSTM) networks. They were devised by Hochreiter and Schmidhuber 1997) to overcome the vanishing gradient issue that conventional models have when applied to long time series. This study paper integrated an LSTM network to predict precipitation levels in time series and model time series data by taking advantage of the capacity to represent time patterns of complex time variations and nonlinear interactions among climatic factors. Past research has shown that LSTM models are very efficient in hydrological and climatological applications, especially in predicting precipitation and surface runoff, as compared to conventional statistical models (Kratzert <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib30">2018</xref>).</p></sec><sec id="sec-2_10"><title>2.3.3. Stacking Ensemble Learning</title><p>Wolpert (<xref ref-type="bibr" rid="bib55">1992</xref>) introduced the stacking strategy for ensemble learning. It is one of the more complex approaches to machine learning that leverages the interdependence among a collection of underlying models to enhance predictive capacity and generalizability. In this study, four base models (XGBoost, CatBoost, random forest, and an LSTM neural network) were used to leverage each model's strengths in capturing nonlinear relationships and temporal dependencies in climate data and, subsequently, enhance the precision of rainfall predictions. The two stages in this model mechanism are dependent. The initial step involves training the four base models separately on climatic element data and extracting each model's predicted value. The second step entails integrating the outputs using a stacked ensemble model to produce the final rainfall forecast. To prevent the issue of overfitting, the meta-model is not trained with the initial outputs of the base models but instead is trained based on a cross-validation strategy through a leave-one-out approach. The results from the cross-validation folds are aggregated to create a new dataset, which is used to train the meta-model; this is why this strategy is known as stacking. Combining basic models is an essential step in creating a stacking model, as various machine learning models can serve as meta-models, including linear regression and random forests. The weighted combination method was adopted in this research. The contribution of each basic model was assigned different weights in the final rainfall prediction and can be mathematically represented by equation 5.</p><p>where ωm (m = 1, 2, …, M) is the weight assigned to each base model and fm,i represents the prediction of model m for the ith observation.</p><p>To obtain the optimal final prediction, the set of stacking weights was estimated by minimizing the mean squared linear regression. Thus, the objective function under two constraints is as in Equation 6.</p><p>where (Yo,i) is the observed rainfall value for observation (i), and (N) represents the total number of observations. </p><p>The optimization process was performed under the following Equations 7 and 8.</p><p>where Ω= [W1,W2,…, Mw]. The sum of the weights assigned to the base models is subject to two constraints: the weights must be nonnegative, and their sum must equal one. This leads to a quadratic optimization problem, which was solved via the qpsolvers package in Python. By calculating the weights of the base models, the final rainfall prediction was integrated into the stacking ensemble model.</p></sec></sec><sec id="sec-3"><title>2.4. Performance Evaluation</title><p>The performance of the above mentioned machine learning models was evaluated via the commonly used statistical measures (9) coefficient of determination (R²), (10) mean absolute error (MAE), and (11) root mean square error (RMSE), as they are among the most commonly used measures in climate studies because of their ability to evaluate the extent to which the models represent the general trend and time variations in rainfall amounts. In addition to measuring the actual deviation between the predicted and observed values, this integration contributes to providing a comprehensive evaluation of the predictive model equation 9-11 used (<xref ref-type="bibr" rid="bib28">Kim </xref><xref ref-type="bibr" rid="bib28">et al. 2010</xref>).</p></sec><sec id="sec-4"><title>3. Results</title><sec id="sec-4_1"><title>3.1. Model performance accuracy</title><p>A comparison of the accuracies of the models before and after parameter optimization in Table <xref ref-type="table" rid="table-4">4</xref> reveals a clear improvement in the performance of the models used in rainfall prediction. The stacking ensemble (Stacking Ensemble) model achieves the highest accuracy after optimization, reaching 98.10% compared with 95.9% before optimization, which confirms the effectiveness of integrating the basic models in enhancing the predictive capability. The XGBoost and CatBoost models also significantly improved in accuracy after optimization, whereas the accuracy of the LSTM model markedly increased because of its efficiency in representing the time dependence of climate series. In contrast, the random forest model showed a slight decrease in accuracy after optimization. This indicates its sensitivity to parameter adjustment and, in general, confirms that the stacked ensemble model outperforms individual models in achieving more accurate rainfall predictions in the study area.</p><table-wrap id="table-4"><label>Table 4</label><caption><title>Model Accuracy Before and After the Optimization Process.</title></caption><table frame="box" rules="all"><thead><tr><th><p>Model</p></th><th><p>Accuracy before optimization%</p></th><th><p>Accuracy after optimization%</p></th></tr></thead><tbody><tr><td><p>Stacking Ensemble</p></td><td><p>95.90%</p></td><td><p>98.10%</p></td></tr><tr><td><p>XGBoost</p></td><td><p>93.15%</p></td><td><p>97.02%</p></td></tr><tr><td><p>CatBoost</p></td><td><p>94.05%</p></td><td><p>97.32%</p></td></tr><tr><td><p>Random Forest</p></td><td><p>95.54%</p></td><td><p>94.14%</p></td></tr><tr><td><p>LSTM Neural Network</p></td><td><p>92.80%</p></td><td><p>96.10%</p></td></tr></tbody></table></table-wrap><p>The performance evaluation results in Table S1 show the superiority of the stacking model over the individual models at all the study stations, as it has the lowest error metric values ​​and the highest coefficient of determination values ​​compared with the CatBoost, Random Forest, XGBoost, and LSTM models when applied individually. This superiority reflects the effectiveness of integrative integration in leveraging the different strengths of each algorithm and improving the predictive capability of the final model (Latif <italic>et al.</italic><italic>,</italic>2023).</p><p>In terms of the performance evaluation results, the stacking model achieved the best overall performance compared with the individual models at most stations. The Al-Baaj station recorded the lowest error values (RMSE=0.7 and MAE=0.5) with the highest explanatory power (R²=0.8). similarly, at Tal Abtah , Rabia, and Makhmur , the stacking model showed notable improvement over the other models, achieving relatively high R² values reaching up (0.7,0.9,and 0.9) respectively , with comparatively lower metrics. Advanced results were also achieved at the Tal Abtah, Rabia, and Makhmur stations, with R² values of approximately 0.8 and a relative decrease in error measurements. In contrast, the Tal Afar station presented the highest error values and the lowest relative stability of the models, as the RMSE values for the stacking model reached approximately (1.2) and (MAE = 0.8), reflecting the complexity of rainfall behavior in this region. The average performance of the Sinjar and Mosul stations was also recorded, with RMSE values ranging from 0.9 and R² values ranging from 0.7.</p></sec><sec id="sec-4_2"><title>3.2. Correlation Analysis Results</title><p>Table <xref ref-type="table" rid="table-5">5</xref> displays the Pearson correlation coefficient of Pearson, which indicates depicts that the linear relationships existing between the climatic elements within the study area are very strong. The amount of rainfall had a strong negative relationship with maximum and average temperatures (r =-0.7) and a moderate negative relationship with minimum temperatures (r =-0.5) which means that higher temperatures are linked to  a significant reduction in precipitation. Rainfall on the other hand had  a strongly positive association with relative humidity (r = 0.7) and atmospheric pressure (r = 0.6) which is characteristic of the physical nature of the precipitation regime in semi arid conditions where cool and moist air masses are correlated with more rainfall. The outcomes also depicted a negative association that is apparent between rainfall and hours of sunshine (r = -0.6) and the converse of the cloud cover and the sunshine. </p><p>Wind speed, however, was strongly correlated with the rainfall (r = 0.1), which means that it is a rather weak factor that affects the precipitation levels directly. Very high correlation coefficients were obtained at the level of interaction of independent variables between Tmax and Tmean (r = 0.99) and between Tmin and Tmean (r = 0.99), between temperatures and hours of sunshine (r = 0.99), and at the same time, a strong negative correlation was observed between heat and humidity (r = -0.9). Such large values suggest that there is a high level of multicollinearity among the variables of the thermal variables, and these variables should be considered when constructing predictive models.</p><table-wrap id="table-5"><label>Table 5</label><caption><title>Pearson Correlation Coefficient.</title></caption><table frame="box" rules="all"><thead><tr><th/><th><p>Rain</p></th><th><p>Tmax</p></th><th><p>Tmin</p></th><th><p>Tmean</p></th><th><p>RH</p></th><th><p>Wind</p></th><th><p>Sunshine_hours</p></th><th><p>Pressure</p></th></tr></thead><tbody><tr><td><p>Rain</p></td><td><p>1</p></td><td><p>-0.7</p></td><td><p>-0.5</p></td><td><p>-0.7</p></td><td><p>0.7</p></td><td><p>-0.1</p></td><td><p>-0.6</p></td><td><p>0.6</p></td></tr><tr><td><p>Tmax</p></td><td><p>-0.7</p></td><td><p>1</p></td><td><p>0.9</p></td><td><p>1</p></td><td><p>-0.9</p></td><td><p>0.3</p></td><td><p>0.9</p></td><td><p>-0.9</p></td></tr><tr><td><p>Tmin</p></td><td><p>-0.5</p></td><td><p>0.9</p></td><td><p>1</p></td><td><p>0.9</p></td><td><p>-0.8</p></td><td><p>0.3</p></td><td><p>0.8</p></td><td><p>-0.8</p></td></tr><tr><td><p>Tmean</p></td><td><p>-0.7</p></td><td><p>1</p></td><td><p>0.9</p></td><td><p>1</p></td><td><p>-0.9</p></td><td><p>0.3</p></td><td><p>0.9</p></td><td><p>-0.9</p></td></tr><tr><td><p>RH</p></td><td><p>0.7</p></td><td><p>-0.9</p></td><td><p>-0.8</p></td><td><p>-0.9</p></td><td><p>1</p></td><td><p>-0.3</p></td><td><p>-0.9</p></td><td><p>0.9</p></td></tr><tr><td><p>Wind</p></td><td><p>-0.1</p></td><td><p>0.3</p></td><td><p>0.3</p></td><td><p>0.3</p></td><td><p>-0.3</p></td><td><p>1</p></td><td><p>0.4</p></td><td><p>-0.4</p></td></tr><tr><td><p>Sunshine_hours</p></td><td><p>-0.6</p></td><td><p>0.9</p></td><td><p>0.8</p></td><td><p>0.9</p></td><td><p>-0.9</p></td><td><p>0.4</p></td><td><p>1</p></td><td><p>-0.9</p></td></tr><tr><td><p>Pressure</p></td><td><p>0.6</p></td><td><p>-0.9</p></td><td><p>-0.8</p></td><td><p>-0.9</p></td><td><p>0.9</p></td><td><p>-0.4</p></td><td><p>-0.9</p></td><td><p>1</p></td></tr></tbody></table></table-wrap><p>Spearman's results in Table <xref ref-type="table" rid="table-6">6</xref> confirmed the existence of strong, consistent, and even stronger relationships with Pearson's findings, indicating that the relationships are not only linear but also monotonic. Rainfall showed a strong negative correlation with all temperatures (ρ = −0.8). A very strong positive correlation was observed with relative humidity (ρ = 0.9) and atmospheric pressure (ρ = 0.8), reinforcing the hypothesis that humidity and pressure are crucial factors in shaping precipitation behavior. A strong negative correlation was also found between rainfall and hours of sunshine (ρ = −0.8), confirming that periods of high radiation coincide with low precipitation. Wind speed, however, had a relatively weak effect (ρ = −0.2). Spearman's coefficients show nearly perfect values ​​(ρ = 1.0) between Tmax, Tmin and Tmean, indicating near-perfect monotonic homogeneity between the temperature variables, and confirming the existence of a strong intrinsic dependence between them.</p><p>In general, Pearson and Spearman's results reveal a strongly interconnected climate system governed by a clear thermal-humidity-pressure triad; precipitation decreases as temperatures rise and solar radiation increases. This increases with rising humidity and atmospheric pressure. The results also confirm a high degree of internal correlation among the thermal variables, necessitating caution when incorporating them into predictive models to avoid multicollinearity. The results also show very high correlations between maximum, minimum, and average temperatures (≈ 1.0), indicating strong linear overlap between them. Therefore, including these variables together in the predictive model may lead to multicollinearity, necessitating the selection of one variable or addressing the relationship between them to ensure model stability and accuracy.</p><p>Based on the results of correlation analysis (Pearson and Spearman), the climatic variables included in the forecasting models were systematically selected, taking into account the strength of the relationship with rainfall amounts and trends. The results showed very high correlations between temperature variables (maximum, minimum, and average). This suggests the possibility of multicollinearity among them. Therefore, these variables were carefully managed during model construction, either by selecting a representative variable or by addressing the interrelationships between them, to ensure model stability and improve its explanatory and predictive capabilities.</p><table-wrap id="table-6"><label>Table 6</label><caption><title>Analysis of Spearman's Correlation Coefficient.</title></caption><table frame="box" rules="all"><thead><tr><th/><th><p>Rain</p></th><th><p>Tmax</p></th><th><p>Tmin</p></th><th><p>Tmean</p></th><th><p>RH</p></th><th><p>Wind</p></th><th><p>Sunshine_hours</p></th><th><p>Pressure</p></th></tr></thead><tbody><tr><td><p>Rain</p></td><td><p>1</p></td><td><p>-0.8</p></td><td><p>-0.8</p></td><td><p>-0.8</p></td><td><p>0.9</p></td><td><p>-0.2</p></td><td><p>-0.8</p></td><td><p>0.8</p></td></tr><tr><td><p>Tmax</p></td><td><p>-0.8</p></td><td><p>1</p></td><td><p>1</p></td><td><p>1</p></td><td><p>-0.9</p></td><td><p>0.4</p></td><td><p>0.9</p></td><td><p>-0.9</p></td></tr><tr><td><p>Tmin</p></td><td><p>-0.8</p></td><td><p>1</p></td><td><p>1</p></td><td><p>1</p></td><td><p>-0.9</p></td><td><p>0.4</p></td><td><p>0.9</p></td><td><p>-0.9</p></td></tr><tr><td><p>Tmean</p></td><td><p>-0.8</p></td><td><p>1</p></td><td><p>1</p></td><td><p>1</p></td><td><p>-0.9</p></td><td><p>0.4</p></td><td><p>0.9</p></td><td><p>-0.9</p></td></tr><tr><td><p>RH</p></td><td><p>0.9</p></td><td><p>-0.9</p></td><td><p>-0.9</p></td><td><p>-0.9</p></td><td><p>1</p></td><td><p>-0.4</p></td><td><p>-0.9</p></td><td><p>0.9</p></td></tr><tr><td><p>Wind</p></td><td><p>-0.2</p></td><td><p>0.4</p></td><td><p>0.4</p></td><td><p>0.4</p></td><td><p>-0.4</p></td><td><p>1</p></td><td><p>0.5</p></td><td><p>-0.5</p></td></tr><tr><td><p>Sunshine_hours</p></td><td><p>-0.8</p></td><td><p>0.9</p></td><td><p>0.9</p></td><td><p>0.9</p></td><td><p>-0.9</p></td><td><p>0.5</p></td><td><p>1</p></td><td><p>-0.9</p></td></tr><tr><td><p>Pressure</p></td><td><p>0.8</p></td><td><p>-0.9</p></td><td><p>-0.9</p></td><td><p>-0.9</p></td><td><p>0.9</p></td><td><p>-0.5</p></td><td><p>-0.9</p></td><td><p>1</p></td></tr></tbody></table></table-wrap></sec><sec id="sec-4_3"><title>3.3. Annual Trend Results</title><p>The outcomes of the Mann-Kendall test on the annual rainfall totals during the period (1994-2024) reveal that there is no statistically significant monotonic trend at a significance level of 0.05 at each of the studied stations, as presented in Table <xref ref-type="table" rid="table-7">7</xref>. The p-values were much larger than the critical value. This is indicative of the lack of a long-term, systematic change in the amount of precipitation per year in the governorate over the period of study. Even though the trend was not statistically significant, Sen’s slope estimator values by Sen varied in signal and magnitude among the stations. The Tel Abtah and Sinjar stations had relative annual growth rates of about 2.8 and 2.76 mm/year, respectively. Whereas the Mosul and Al-Baaj stations showed slight negative tendencies of approximately −1.34 and −1.33 mm/year, respectively. the other stations portrayed a minimal positive tendency of about 1 mm/year.</p><p>These values ​​indicate that the observed changes, although spatially different in direction, remain small in magnitude and insufficient to produce a structural shift in the annual rainfall pattern within the time frame studied. This reinforces the hypothesis of relatively stable annual rainfall in the semi-arid environment of Nineveh Governorate, with natural oscillations between years remaining the dominant feature of the time series.</p><table-wrap id="table-7"><label>Table 7</label><caption><title>. Analysis of the Annual Rainfall Trend in the Study Area for the Period (1994–2024).</title></caption><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Number of Years</p></th><th><p>Trend</p></th><th><p>p-value</p></th><th><p>Sen’s Slope (mm/year)</p></th></tr></thead><tbody><tr><td><p>Tal Abta</p></td><td><p>31</p></td><td><p>increasing</p></td><td><p>0.248</p></td><td><p>2.8</p></td></tr><tr><td><p>Sinjar</p></td><td><p>31</p></td><td><p>increasing</p></td><td><p>0.362</p></td><td><p>2.762</p></td></tr><tr><td><p>Mosul</p></td><td><p>31</p></td><td><p>decreasing</p></td><td><p>0.5</p></td><td><p>-1.344</p></td></tr><tr><td><p> AL Baaj</p></td><td><p>31</p></td><td><p>decreasing</p></td><td><p>0.518</p></td><td><p>-1.333</p></td></tr><tr><td><p>Rabia</p></td><td><p>31</p></td><td><p>increasing</p></td><td><p>0.661</p></td><td><p>1.074</p></td></tr><tr><td><p>Makhmur</p></td><td><p>31</p></td><td><p>increasing</p></td><td><p>0.787</p></td><td><p>0.758</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>31</p></td><td><p>increasing</p></td><td><p>1</p></td><td><p>0.252</p></td></tr></tbody></table></table-wrap></sec><sec id="sec-4_4"><title>3.4. Seasonal Trend Results</title><p>Table S2 shows the results of the Mann-Kendall test and Sen’s slope estimator for seasonal rainfall trends at the study stations during the period (1994–2024), where the results generally show weak temporal trends and spatial instability, as the majority of values ​​did not register statistical significance at the (α = 0.05) level. Autumn was characterized by slight, mostly positive, but low values ​​that do not reflect actual climate change, while spring showed relatively higher rates of positive trend at some stations without reaching the significance level Statistically, while the summer season was characterized by an almost complete absence of trend with a slope close to zero at all locations, the winter season saw some stations record decreasing slopes of varying magnitudes, but these were not statistically significant. Overall, the quarterly results reflect a natural annual fluctuation rather than a long-term, regular climatic shift in the rainfall regime of Nineveh Governorate.</p></sec><sec id="sec-4_5"><title>3.4 Monthly Trend Results</title><p>Table S3 of the monthly analysis shows that statistically significant trends were concentrated to a limited extent in the spring months, particularly April and May at some stations. While the summer months were characterized by an almost zero trend, the winter and autumn months showed mostly inconsistent and insignificant trends, confirming that the observed change reflects a normal seasonal fluctuation rather than a long-term, regular monthly climate shift.</p></sec><sec id="sec-4_6"><title>3.5. General Statistical Results of Rainfall</title><p>Comparisons of the historical rainfall record with the forecast outcomes of the period (2025 2034) at the Nineveh Governorate stations revealed that the overall seasonal trend of the rainfall was always the same, unlike the fact that there were no clear qualitative changes in monthly means and annual totals as indicated in Tables <xref ref-type="table" rid="table-2">2</xref> and <xref ref-type="table" rid="table-8">8</xref>, respectively. In effect, the rainy season starts still in the autumn (October) and reaches its peak in winter (January and February) before slowly subsiding in the spring (March and April) and therefore comes to an end anyway in the first week of May. Conversely, the historical and the forecasting data have almost no rainfall in the summer (June to September), which proves the continued dry summer climate in the area of study.</p><table-wrap id="table-8"><label>Table 8</label><caption><title>Monthly Average Expected Rainfall for the Period 2025–2034 in the Study Area.</title></caption><table frame="box" rules="all"><thead><tr><th><p>Climatic stations</p></th><th><p>JAN</p></th><th><p>FEB</p></th><th><p>MAR</p></th><th><p>APR</p></th><th><p>MAY</p></th><th><p>JUN</p></th><th><p>JUL</p></th><th><p>AUG</p></th><th><p>SEP</p></th><th><p>OCT</p></th><th><p>NOV</p></th><th><p>DEC</p></th><th><p>Annual Total (mm)</p></th></tr></thead><tbody><tr><td><p>Al-Baaj</p></td><td><p>55.7</p></td><td><p>40.1</p></td><td><p>41.1</p></td><td><p>40.9</p></td><td><p>23.6</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>1.2</p></td><td><p>16.2</p></td><td><p>20.3</p></td><td><p>52.9</p></td><td><p>291.9</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>59.8</p></td><td><p>56</p></td><td><p>38.8</p></td><td><p>45.6</p></td><td><p>25</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>1.4</p></td><td><p>20.8</p></td><td><p>34.1</p></td><td><p>54.7</p></td><td><p>336.1</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>52.6</p></td><td><p>69.9</p></td><td><p>55.7</p></td><td><p>54.8</p></td><td><p>59.2</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>3.9</p></td><td><p>7.5</p></td><td><p>42.7</p></td><td><p>46.5</p></td><td><p>392.7</p></td></tr><tr><td><p>Rabia</p></td><td><p>68.1</p></td><td><p>86.2</p></td><td><p>70.3</p></td><td><p>77.1</p></td><td><p>48.6</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>1.3</p></td><td><p>15.2</p></td><td><p>44.9</p></td><td><p>52.6</p></td><td><p>464.5</p></td></tr><tr><td><p>Sinjar</p></td><td><p>77.9</p></td><td><p>80.6</p></td><td><p>58.3</p></td><td><p>69.4</p></td><td><p>49.9</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>1.9</p></td><td><p>10</p></td><td><p>11.5</p></td><td><p>34.7</p></td><td><p>394.1</p></td></tr><tr><td><p>Makhmur</p></td><td><p>49.9</p></td><td><p>41.9</p></td><td><p>53.2</p></td><td><p>47</p></td><td><p>19.3</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>16.2</p></td><td><p>34.1</p></td><td><p>55.6</p></td><td><p>317.2</p></td></tr><tr><td><p>Mosul</p></td><td><p>53.9</p></td><td><p>48.5</p></td><td><p>51</p></td><td><p>37.9</p></td><td><p>19.9</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>0</p></td><td><p>4.3</p></td><td><p>21.8</p></td><td><p>49</p></td><td><p>286.4</p></td></tr></tbody></table></table-wrap><p>Source: Based on the results of the stacking rainfall forecasting model for the period (2025-2034) in Nineveh Governorate.</p><p>On a monthly basis, the forecast results indicate a relative increase in winter rainfall at a number of stations compared with historical values, particularly at the Rabia, Sinjar, Tal Afar, and Tal Abtah stations, which reflects a possible increase in the intensity of the winter season in the future. A slight extension of spring rains was also observed during April and May at some stations, which may indicate a limited lengthening of the rainy season compared with historical records. In contrast, other stations, such as Mosul and Al-Baaj, showed stability or a slight decrease in autumn rainfall, reflecting greater fluctuations at the beginning of the rainy season.</p><p>Comparing Figure <xref ref-type="fig" rid="fig-3">3</xref> and the annual rainfall values between the predicted and historical data, one can find that a spatial difference exists between the stations. The values at Rabia, Sinjar, Tal Afar, and Tal Abtah were significantly higher than to the historical values. The Rabia station annual total increased from the historical 366 mm to a forecast value of more than 460 mm and Sinjar increased from the historical 346 mm to a forecast 394 mm, while Tal Afar increased from 319 mm to a forecast 393 mm. This increase is a relative positive variation of the future rainfall resources in the north and the western areas of the governorate. Other stations, such as Mosul, Makhmur, and Baaj, however, exhibited different trends with the stations being relatively stable or recording a decline in the total rainfall. At Mosul station, the annual total decreased to a projected under 290 mm /a by a traditional decrease of approximately 327 mm/a. At Makhmur station, the reduction was recorded at 365 to 317 mm Al-Baaj station was also close to being stationary with a slight lossThe difference indicates the dissimilarity in the spatial response to the future climate changes in the governorate. Having spatial comparisons meant that chances of increase in rainfall in the future are high in the northern and northern part of the Nineveh Governorate as compared to central and the south part which is likely to remain at a constant level or relatively lower amount of rainfall. The relevance of such a trend is the increasing spatial and temporal variability of rainfall that may directly apply to agricultural planning and water resource management in the study area.</p><p>Overall, the forecasting outcomes of the period (2025-2034) show that the rainfall regime in Nineveh Governorate will preserve the primary seasonal features of the onset and the conclusion of the rainy season, where quantitative changes of the monthly averages and annual totals are not identical in all of the stations. The findings indicate the relevance of integrating the use of sophisticated predictive models to aid in the comprehension of the future climate change and offer a concrete level of scientific foundation to inform decision making in areas of agriculture and water management.</p><p>Table <xref ref-type="table" rid="table-9">9</xref> shows the results of the linear regression for rainfall forecasting at the Nineveh governorate, which reveals that the Mosul station records a weak downward trend of −1.97 mm/year with R² = 0.93 and P = 0.422, whereas the Baaj station shows almost complete rainfall stability with a slight increase of 0.44 mm/year with R² = 0.7 and P = 0.818. The Rabia station also records a limited upward trend of 2.23 mm/year, with R² = 0.71 and P = 0.416. The Tal Afar station shows an increase of 2.34 mm/year, with R² = 0.82 and P = 0.494, whereas the values at the Sinjar station increase to 3.20 mm/year, with R² = 0.64 and P = 0.348. The Makhmur station records an increase of 3.29 mm/year, with R² = 0.85 and P = 0.240. The Tel Abtah station recorded the highest annual change rate of 4.39 mm/year (R² = 0.91), which was close to statistical significance (P = 0.087), indicating that future rainfall changes in Nineveh Governorate are dominated by climatic fluctuations, with no significant long-term trend.</p><fig id="fig-3"><label>Figure 3</label><caption><title>Comparison Between the Annual Totals of the Study Stations Between the Historical Data and the Predicted Data.</title></caption><graphic mimetype="image" mime-subtype="png" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82972"/></fig><table-wrap id="table-9"><label>Table 9</label><caption><title>Simple Linear Regression and Coefficient of Determination (R²) Value of (P) for Stations in the Study Area.</title></caption><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Slope</p></th><th><p>R²</p></th><th><p>P value</p></th></tr></thead><tbody><tr><td><p>Mosul</p></td><td><p>-1.97</p></td><td><p>0.93</p></td><td><p>0.422</p></td></tr><tr><td><p>Baaj</p></td><td><p>0.44</p></td><td><p>0.7</p></td><td><p>0.818</p></td></tr><tr><td><p>Rabia</p></td><td><p>2.23</p></td><td><p>0.71</p></td><td><p>0.416</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>2.34</p></td><td><p>0.82</p></td><td><p>0.494</p></td></tr><tr><td><p>Sinjar</p></td><td><p>3.2</p></td><td><p>0.64</p></td><td><p>0.348</p></td></tr><tr><td><p>Makhmour</p></td><td><p>3.29</p></td><td><p>0.85</p></td><td><p>0.24</p></td></tr><tr><td><p>Tel Abta</p></td><td><p>4.39</p></td><td><p>0.91</p></td><td><p>0.087</p></td></tr></tbody></table></table-wrap><p>Source: Based on the results of the stacking rainfall forecasting model for the period (2025-2034) in Nineveh Governorate.</p></sec><sec id="sec-4_7"><title>3.6. Spatial Variability of Rainfall According to Standard Deviation</title><p>Table <xref ref-type="table" rid="table-10">10</xref> shows the standard deviation values ​​for the expected rainfall during the period (2025- 2034). This value indicates an average spatial heterogeneity in rainfall volumes at stations within the Nineveh governorate, with values between 21.6 mm and 27.3 mm. This comparatively small area depicts a certain level of spatial homogeneity in the temporal variation pattern of precipitation. The differences in space exist and are associated with the geographical position of stations and topography of the area. The highest standard deviations were recorded at our stations Rabia (27.3 mm) and Sinjar (26.9 mm), which show that the north and northwest of the study area are more significantly exposed to the action of Mediterranean low-pressure systems and to variations in their routes and intensity. Conversely, expectant stability in the expected level of rainfall in the western and southern regions of the study area is observed by the fact that the standard deviation values of the Tal Afar (21.6 mm), the Al-Baaj (21.7 mm), and Makhmour (21.7 mm) stations are the lowest.</p><table-wrap id="table-10"><label>Table 10</label><caption><title>Standard Deviation Values for Rainfall at Each Study Station During the 2025–2034 Period.</title></caption><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>SD (2025_2034)</p></th></tr></thead><tbody><tr><td><p>Al-Baaj</p></td><td><p>21.7</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>22.6</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>21.6</p></td></tr><tr><td><p>Rabia</p></td><td><p>27.3</p></td></tr><tr><td><p>Sinjar</p></td><td><p>26.9</p></td></tr><tr><td><p>Makhmur</p></td><td><p>21.7</p></td></tr><tr><td><p>Mosul</p></td><td><p>22.8</p></td></tr></tbody></table></table-wrap><p>Source: Based on the results of the stacking rainfall forecasting model for the period (2025-2034) in Nineveh Governorate.</p><p>However, the Tel Abtah (22.6 mm) and Mosul (22.8 mm) stations recorded average values ​​of standard deviation, indicating a gradual shift in rainfall characteristics between the high-variability areas in the north and the more stable study area in the south.</p><p>In general, these results confirm that the spatial variation in rainfall in Nineveh Governorate will remain relatively limited in the future, with clear spatial differences emerging that reflect the role of geographical location and influential weather systems, which is consistent with the results of the analysis of annual and monthly rainfall totals at stations in the study area (Al Azawi, 2017).</p><p>Figure <xref ref-type="fig" rid="fig-4">4</xref> shows the annual changes in the standard deviation coefficient of rainfall at all the study stations for the period (2025–2034), where the highest values ​​were recorded during the years 2026 and 2029, especially at the Mosul, Tal Afar, Makhmour and Sinjar stations, indicating high variability in rainfall during those years. In contrast, other years, such as 2028 and 2031, presented relatively lower values, reflecting a degree of relative stability in rainfall, although spatial variation between stations continued.</p><fig id="fig-4"><label>Figure 4</label><caption><title>Annual Changes in the Standard Deviation Coefficient of Rainfall in the Study Area from 2025–2034.</title></caption><graphic mimetype="image" mime-subtype="jpeg" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82973"/></fig><p>Figure <xref ref-type="fig" rid="fig-5">5</xref> shows monthly changes in the standard deviation coefficient of rainfall at the study stations, with the highest values being recorded during the winter months, which are the months of January and February, especially at the Tal Afar, Mosul, Al-Baaj, and Tal Abtah stations, meaning that the rainfall is highly variable during the rainy seasons. Conversely, rainfall levels were significantly reduced at all study sites, especially in July, indicating drought conditions and near-nonuse of rainfall throughout summer (June-August). The average rainfall levels in the transitional seasons, i.e. spring and autumn, indicate low variations between relative stability and variability of rainfall.</p><fig id="fig-5"><graphic mimetype="image" mime-subtype="png" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82974"/></fig><p>Figure 5. Seasonal Changes in Monthly Rainfall for Each Study Station for the Period 2025–2034.</p><p>These spatial variability patterns also reflect the inherent uncertainty associated with rainfall prediction in semi-arid environments. The variability between stations, combined with the sensitivity of individual machine learning models to climatic fluctuations, indicates that model uncertainty cannot be neglected. However, the implementation of the weighted stacking ensemble approach helped reduce predictive uncertainty by integrating the strengths of individual models and minimizing their independent errors. This integration enhances the robustness and stability of the forecasting framework, providing more reliable projections under spatially heterogeneous climatic conditions.</p></sec><sec id="sec-4_8"><title>3.7. Dynamics of Spatial Rainfall Distributions Across Four Climatic Periods</title><p>The spatial distribution maps of rainfall in the study area Figure <xref ref-type="fig" rid="fig-6">6</xref> illustrate significant spatial and temporal differences in rainfall amounts among the four climatic cycles, reflecting the widespread influence of climatic factors and environmental changes in shaping rainfall patterns at the study area level.</p><p>For example, during the period of 1994–2003, the highest rainfall amounts were concentrated in the northern and northwestern parts of the governorate, particularly in the areas of Rabia, Sinjar and Al-Baaj, where high values exceed (330–360 mm annually) prevailed, whereas the southern and southeastern regions, such as Tel Abtah and Makhmour, recorded relatively lower amounts, which indicates a decreasing rainfall gradient towards the south. During the period of 2004–2013, a relative decline in the intensity of rainfall concentration was observed, with the continued dominance of average values (280–320 mm) over most parts of the governorate, in contrast to the decrease in areas with high rainfall and their confinement to limited areas in the north, which reflects the beginning of a change in the general rainfall pattern.</p><p>In the period of 2014–2024, clearer features of rainfall irregularity emerged as the ranges of medium and low rainfall expanded, and the areas with high values decreased, with the relative concentration of rainfall remaining in the north and northwest, especially in Sinjar and Rabia, compared with a noticeable decrease in the central and southern regions. This trend is expected to persist in the period 2025-2034, according to the forecast map, as evidenced by the dominance of average and low rainfall across most of Nineveh Governorate, with regions experiencing heavy rainfall decreasing and concentrated in thin strips in the northern governorate. When the spatial distribution of rainfall in previous climatic periods Figure <xref ref-type="fig" rid="fig-6">6</xref> is compared with the expected distribution for the period (2025-2034) Figure <xref ref-type="fig" rid="fig-7">7</xref>, it becomes clear that the general spatial pattern of precipitation continues in Nineveh Governorate, where the northern and northwestern regions retain the most abundant rainfall. However, the predictive results indicate quantitative changes in rainfall intensity, characterized by a shrinking range of high values and an expansion of medium and low values, particularly in the central and southern regions.</p><fig id="fig-6"><label>Figure 6</label><caption><title>Geographical Distribution of Rainfall in the Study Area.</title></caption><graphic mimetype="image" mime-subtype="png" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82975"/></fig><p>The spatial gradient from north to south continues, albeit with a relative decrease in intensity, reflecting increasing annual climatic variability. These data suggest that future changes represent an extension of the historical distribution with a relative redistribution of values, influenced by prevailing climatic factors. Overall, the results reflect a trend toward greater spatial variability and a decline in areas with high rainfall, reinforcing the prevalence of semiarid conditions and increasing pressure on water resources and agricultural stability.</p><p>Such outcomes suggest the reinforcement of arid and semiarid environmental features, since the significant increase in rainfall variability underscores the growing importance of climate change in reorganizing the spatial distribution of rainfall in the study area. Overall, rainfall trends across the climatic periods showed a downward shift, and variation and heterogeneity in spatial distribution were evident across the periods of investigation, as manifested by a gradual shift toward lower rainfall and a gradual reduction in high-rainfall areas. This rainfall pattern also demonstrates structural climatic change in the dominant hydroclimatic system, which implies further pressure on surface and groundwater resources and an increasing threat to the sustainability of agriculture and food security in Nineveh Governorate over the decades (Zelenakova <italic>et al.,</italic> <xref ref-type="bibr" rid="bib57">2022</xref>).</p><p>The combined results of the Mann–Kendall trend analysis and the correlation assessments (Pearson and Spearman) reveal that rainfall variability in Nineveh Governorate during the period (1994–2024) is primarily governed by interannual climatic oscillations rather than statistically robust long-term monotonic trends. Although certain stations exhibited weak positive or negative Sen’s slope values, none reached a level sufficient to indicate structural climatic shifts.</p><p>The correlation structure indicates a tightly coupled thermo–humidity–pressure system, in which rainfall is strongly and negatively associated with temperature and solar radiation, and positively associated with relative humidity and atmospheric pressure. The near-perfect intercorrelation among thermal variables confirms multicollinearity, which was carefully addressed during model construction to ensure predictive stability.</p><p>Importantly, the absence of statistically significant long-term rainfall trends, combined with strong internal climatic coupling, suggests that rainfall forecasting performance depends more on dynamic inter-variable interactions than on persistent directional change. Therefore, the proposed modeling framework integrates statistically validated trend detection, robust dependence structure assessment, and cautious variable selection to enhance interpretability, reduce structural uncertainty, and improve forecasting reliability under semi-arid climatic conditions.</p><fig id="fig-7"><label>Figure 7</label><caption><title>. Spatial Distribution of Predicted Rainfall in Nineveh Governorate (2025–2034).</title></caption><graphic mimetype="image" mime-subtype="png" xlink:href="https://journals2.ums.ac.id/fg/article/download/16759/6336/82976"/></fig></sec></sec><sec id="sec-5"><title>4. Discussion</title><p>The results of this study indicate that rainfall behavior in the Nineveh governorate is governed primarily by the dominance of annual interannual variability rather than by a statistically significant long-term trend. The Mann–Kendall and Sen estimators revealed that the observed changes, although spatially variable, remain limited in intensity and do not constitute a structural shift in the rainfall pattern. This is attributed to the prevailing climatic conditions in semiarid regions, which are characterized by high interannual variability and a lack of long-term climatic stability. However, the absence of a statistical trend does not indicate a stable climate system; rather, it reflects the system's complex dynamics. Correlation analysis revealed an interconnected climate system governed by clear relationships among temperature, humidity, and pressure. Rainfall was strongly inversely correlated with temperature and solar radiation, whereas it was directly correlated with relative humidity and atmospheric pressure. These results confirm that precipitation behavior in semiarid environments is not determined by a simple temporal trend but rather by the internal structure of relationships between climatic variables, which supports the findings of recent studies such as (Elshaboury <italic>et al.</italic><italic>,</italic> <xref ref-type="bibr" rid="bib14">2021</xref>).</p><p>Methodologically, the modeling results clearly demonstrated the superiority of the stacking ensemble model over individual models, achieving the highest coefficient of determination and the lowest error values. This reflects the superior ability of stacking models to represent nonlinear relationships and reduce random variance, which aligns with the findings of (El Hafyani <italic>et al</italic><italic>.,</italic> 2024) regarding the effectiveness of stacking techniques in improving rainfall forecast accuracy. These results also corroborate the findings of (Manaf <italic>et al</italic><italic>.,</italic> <xref ref-type="bibr" rid="bib34">2026</xref>), which showed that integrating statistical models with machine learning techniques contributes to improving the representation of spatial rainfall variability.</p><p>However, what distinguishes this study from others is its adoption of an integrated framework that combines climate trend analysis, understanding the interrelationships among variables, and the application of advanced machine learning models within a single, comprehensive model. Most previous studies focused either solely on prediction or on statistical analysis in isolation from modeling, whereas this study offers a systematic link between interpreting climate behavior and improving predictive performance, thus enhancing the scientific and practical value of the findings.</p><p>At the spatial level, a comparison between previous climatic periods and the projected results for the period 2025-2034 revealed clear continuity in the general pattern of rainfall distribution, with the northern and northwestern regions continuing to record the highest values due to the influence of Mediterranean low-pressure systems and topographical factors. However, the results indicate a spatial redistribution of rainfall values, characterized by a narrowing of the high-value range and an expansion of the average and low-value ranges, particularly in the central and southern regions.</p><p>This shift does not reflect a radical change in spatial patterns but rather indicates increased spatial heterogeneity and climate variability. In contrast to some studies that assume an overall decrease in rainfall, this study's results show that future change takes the form of a redistribution of values rather than an absolute decrease, reinforcing the importance of detailed spatial analysis for understanding the impacts of climate change. Furthermore, the decline in areas with high rainfall and the expansion of areas with low rainfall reflect a gradual trend toward strengthening semiarid characteristics in the region, which could increase pressure on water resources and exacerbate the risks associated with drought and agricultural instability. This necessitates adopting adaptation strategies based on a thorough understanding of the spatial and temporal variability of rainfall.</p><p>Overall, this study confirms that the accuracy of rainfall prediction in semiarid environments depends not on the existence of a clear climatic trend but rather on the ability to represent the complex interactions between climatic variables. Furthermore, integrating statistical analysis with machine learning techniques within an integrated framework provides a powerful tool for understanding rainfall dynamics and improving the reliability of future forecasts, thus supporting decision-making in water resource management and agricultural planning.</p></sec><sec id="sec-6"><title>5. Conclusions </title><p>This study presented an integrated spatiotemporal framework for analyzing rainfall dynamics in Nineveh Governorate during the period (1994–2024) with future projections for the period (2025-2034), through the integration of climate trend analysis, statistical relationship analysis between climate variables, the building of multiple predictive models, and the comparison of their performance. The results of the Mann-Kendall test and Sen’s slope estimator showed the absence of a statistically significant, uniform climatic trend in annual rainfall amounts across most stations, suggesting that the observed changes over the study period reflect interannual variability rather than a long-term structural climatic shift. At the seasonal and monthly levels, the trends were characterized by weakness and spatial instability, with values remaining within the normal fluctuation range for semi-arid environments. In contrast, correlation analysis (Pearson and Spearman) revealed an interconnected climate structure governed by clear thermo-hygroscopic-pressure dynamics; rainfall was strongly negatively correlated with temperature and sunshine hours, and strongly positively correlated with relative humidity and atmospheric pressure. Thermal variables also showed very high internal correlation. This underscores the importance of addressing multicollinearity when building predictive models.</p><p>The results obtained from the spatial distribution maps of rainfall confirm that future changes in rainfall in Nineveh Governorate will not be spatially uniform, as the relative improvement in rainfall amounts is concentrated within the northern and northwestern parts. In contrast to the widening range of average and low values in the central and southern regions, reflecting increasing aridity and semiarid conditions, comparisons of model accuracy before and after optimization revealed that ensemble learning models such as XGBoost and CatBoost achieved significant performance improvements after adjustment because of their ability to capture nonlinear relationships between climatic variables. However, the stacking ensemble model consistently outperformed the other models. Before optimization, it reached 95.9%; after optimization, it reached 98.1%, outperforming all other models. As shown by the quantitative performance evaluation results, the lowest RMSE and MAE values and the highest interpretation coefficients (R²) were recorded at most stations. This confirms that integrating the outputs of basic models provides a more stable and reliable representation of future rainfall behavior. Accordingly, the study recommends relying on ensemble models, particularly the stacking ensemble. In practical terms, the Stacking Ensemble model has demonstrated a significant advantage over individual models in terms of accuracy indicators, showing that combining models contributes to reducing random error and enhancing predictive stability in complex climate systems. The importance of this advantage is underscored by the absence of a clear climate trend. The success of the prediction then depends on the model's ability to capture nonlinear patterns and interactions between variables.</p><p>Therefore, the scientific value of this study lies not only in improving predictive accuracy, but also in providing a comprehensive structural understanding of the rainfall system in a semi-arid environment subject to regional climate change pressures. Furthermore, the proposed analytical framework provides a scientific basis for supporting water resource management decisions and agricultural planning.</p></sec><sec id="sec-7"><title>References</title><p>Hochreiter and Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780.</p></sec><sec id="sec-8"><title>Attachment</title><p>Table S1. Performance Evaluation Forms.</p><table-wrap id="table-11"><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Model</p></th><th><p>RMSE</p></th><th><p>MAE</p></th><th><p>R²</p></th></tr></thead><tbody><tr><td><p>Al-Baaj</p></td><td><p>Stacking</p></td><td><p>0.7</p></td><td><p>0.5</p></td><td><p>1</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>CatBoost</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>Random Forest</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>XGBoost</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Al-Baaj</p></td><td><p>LSTM</p></td><td><p>1.9</p></td><td><p>1.6</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>Random Forest</p></td><td><p>0.7</p></td><td><p>0.5</p></td><td><p>1</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>XGBoost</p></td><td><p>0.7</p></td><td><p>0.5</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>CatBoost</p></td><td><p>0.8</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>Stacking</p></td><td><p>0.8</p></td><td><p>0.6</p></td><td><p>1</p></td></tr><tr><td><p>Tal Abtah</p></td><td><p>LSTM</p></td><td><p>1.9</p></td><td><p>1.6</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>XGBoost</p></td><td><p>1.1</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>CatBoost</p></td><td><p>1.1</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>Random Forest</p></td><td><p>1.1</p></td><td><p>0.7</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>Stacking</p></td><td><p>1.2</p></td><td><p>0.8</p></td><td><p>1</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>LSTM</p></td><td><p>2.1</p></td><td><p>1.7</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>Random Forest</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>CatBoost</p></td><td><p>1</p></td><td><p>0.7</p></td><td><p>1</p></td></tr><tr><td><p>Rabia</p></td><td><p>XGBoost</p></td><td><p>1</p></td><td><p>0.7</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>Stacking</p></td><td><p>1</p></td><td><p>0.7</p></td><td><p>1</p></td></tr><tr><td><p>Rabia</p></td><td><p>LSTM</p></td><td><p>2</p></td><td><p>1.6</p></td><td><p>1</p></td></tr><tr><td><p>Sinjar</p></td><td><p>XGBoost</p></td><td><p>0.8</p></td><td><p>0.5</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>Random Forest</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>1</p></td></tr><tr><td><p>Sinjar</p></td><td><p>CatBoost</p></td><td><p>0.9</p></td><td><p>0.7</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>Stacking</p></td><td><p>0.9</p></td><td><p>0.7</p></td><td><p>1</p></td></tr><tr><td><p>Sinjar</p></td><td><p>LSTM</p></td><td><p>2</p></td><td><p>1.6</p></td><td><p>1</p></td></tr><tr><td><p>Makhmur</p></td><td><p>CatBoost</p></td><td><p>0.7</p></td><td><p>0.4</p></td><td><p>1</p></td></tr><tr><td><p>Makhmur</p></td><td><p>XGBoost</p></td><td><p>0.7</p></td><td><p>0.4</p></td><td><p>1</p></td></tr><tr><td><p>Makhmur</p></td><td><p>Random Forest</p></td><td><p>0.7</p></td><td><p>0.5</p></td><td><p>0</p></td></tr><tr><td><p>Makhmur</p></td><td><p>Stacking</p></td><td><p>0.7</p></td><td><p>0.6</p></td><td><p>1</p></td></tr><tr><td><p>Makhmur</p></td><td><p>LSTM</p></td><td><p>1.9</p></td><td><p>1.6</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>CatBoost</p></td><td><p>0.7</p></td><td><p>0.5</p></td><td><p>1</p></td></tr><tr><td><p>Mosul</p></td><td><p>XGBoost</p></td><td><p>0.8</p></td><td><p>0.5</p></td><td><p>1</p></td></tr><tr><td><p>Mosul</p></td><td><p>Random Forest</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>Stacking</p></td><td><p>0.9</p></td><td><p>0.7</p></td><td><p>1</p></td></tr><tr><td><p>Mosul</p></td><td><p>LSTM</p></td><td><p>0.9</p></td><td><p>0.6</p></td><td><p>0</p></td></tr></tbody></table></table-wrap><p>Table S2. Analysis of Seasonal Rainfall Trends in the Study Area for the Period (1994-2024).</p><table-wrap id="table-12"><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Season</p></th><th><p>Trend</p></th><th><p>p-value</p></th><th><p>Sen’s Slope (mm/year)</p></th></tr></thead><tbody><tr><td><p>Makhmur</p></td><td><p>Autumn</p></td><td><p>increasing</p></td><td><p>0.362</p></td><td><p>0.469</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>Autumn</p></td><td><p>increasing</p></td><td><p>0.414</p></td><td><p>0.338</p></td></tr><tr><td><p>Baaj</p></td><td><p>Autumn</p></td><td><p>decreasing</p></td><td><p>0.61</p></td><td><p>-0.214</p></td></tr><tr><td><p>Rabia</p></td><td><p>Autumn</p></td><td><p>increasing</p></td><td><p>0.711</p></td><td><p>0.343</p></td></tr><tr><td><p>Sinjar</p></td><td><p>Autumn</p></td><td><p>increasing</p></td><td><p>0.838</p></td><td><p>0.089</p></td></tr><tr><td><p>Mosul</p></td><td><p>Autumn</p></td><td><p>increasing</p></td><td><p>0.84</p></td><td><p>0.226</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>Autumn</p></td><td><p>increasing</p></td><td><p>0.946</p></td><td><p>0.044</p></td></tr><tr><td><p>Sinjar</p></td><td><p>Spring</p></td><td><p>increasing</p></td><td><p>0.061</p></td><td><p>2.748</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>Spring</p></td><td><p>increasing</p></td><td><p>0.144</p></td><td><p>1.667</p></td></tr><tr><td><p>Rabia</p></td><td><p>Spring</p></td><td><p>increasing</p></td><td><p>0.341</p></td><td><p>1.429</p></td></tr><tr><td><p>Makhmur</p></td><td><p>Spring</p></td><td><p>increasing</p></td><td><p>0.399</p></td><td><p>1.039</p></td></tr><tr><td><p>Baaj</p></td><td><p>Spring</p></td><td><p>increasing</p></td><td><p>0.434</p></td><td><p>0.818</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>Spring</p></td><td><p>increasing</p></td><td><p>0.458</p></td><td><p>1.286</p></td></tr><tr><td><p>Mosul</p></td><td><p>Spring</p></td><td><p>decreasing</p></td><td><p>0.973</p></td><td><p>-0.016</p></td></tr><tr><td><p>Rabia</p></td><td><p>Summer</p></td><td><p>no trend</p></td><td><p>0.001</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>Summer</p></td><td><p>no trend</p></td><td><p>0.049</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>Summer</p></td><td><p>decreasing</p></td><td><p>0.05</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>Summer</p></td><td><p>no trend</p></td><td><p>0.061</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>Summer</p></td><td><p>no trend</p></td><td><p>0.076</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>Summer</p></td><td><p>no trend</p></td><td><p>0.118</p></td><td><p>0</p></td></tr><tr><td><p>Makhmur</p></td><td><p>Summer</p></td><td><p>no trend</p></td><td><p>0.197</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>Winter</p></td><td><p>decreasing</p></td><td><p>0.153</p></td><td><p>-1.615</p></td></tr><tr><td><p>Mosul</p></td><td><p>Winter</p></td><td><p>decreasing</p></td><td><p>0.163</p></td><td><p>-1.729</p></td></tr><tr><td><p>Makhmur</p></td><td><p>Winter</p></td><td><p>decreasing</p></td><td><p>0.344</p></td><td><p>-0.933</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>Winter</p></td><td><p>decreasing</p></td><td><p>0.362</p></td><td><p>-1.267</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>Winter</p></td><td><p>increasing</p></td><td><p>0.575</p></td><td><p>0.333</p></td></tr></tbody></table></table-wrap><p>Table S2. Continued.</p><p>Table S3. Analysis of the Monthly Trend of Rainfall in the Study Area for the Period (1994-2024).</p><table-wrap id="table-13"><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Month</p></th><th><p>Trend</p></th><th><p>p-value</p></th><th><p>Sen’s Slope (mm/year)</p></th></tr></thead><tbody><tr><td><p>Baaj</p></td><td><p>1</p></td><td><p>decreasing</p></td><td><p>0.261</p></td><td><p>-0.688</p></td></tr><tr><td><p>Baaj</p></td><td><p>2</p></td><td><p>decreasing</p></td><td><p>0.276</p></td><td><p>-0.5</p></td></tr><tr><td><p>Baaj</p></td><td><p>3</p></td><td><p>no trend</p></td><td><p>0.932</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>4</p></td><td><p>decreasing</p></td><td><p>0.76</p></td><td><p>-0.2</p></td></tr><tr><td><p>Baaj</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.143</p></td><td><p>0.462</p></td></tr><tr><td><p>Baaj</p></td><td><p>6</p></td><td><p>no variation</p></td><td><p>1</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>7</p></td><td><p>no variation</p></td><td><p>1</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>8</p></td><td><p>no trend</p></td><td><p>0.118</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>9</p></td><td><p>no trend</p></td><td><p>0.083</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.357</p></td><td><p>-0.111</p></td></tr><tr><td><p>Baaj</p></td><td><p>11</p></td><td><p>no trend</p></td><td><p>0.892</p></td><td><p>0</p></td></tr><tr><td><p>Baaj</p></td><td><p>12</p></td><td><p>decreasing</p></td><td><p>0.486</p></td><td><p>-0.353</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>1</p></td><td><p>increasing</p></td><td><p>0.747</p></td><td><p>0.295</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>2</p></td><td><p>increasing</p></td><td><p>0.586</p></td><td><p>0.438</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>3</p></td><td><p>increasing</p></td><td><p>0.575</p></td><td><p>0.357</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>4</p></td><td><p>increasing</p></td><td><p>0.262</p></td><td><p>0.535</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.083</p></td><td><p>0.421</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>6</p></td><td><p>no trend</p></td><td><p>0.118</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>7</p></td><td><p>no trend</p></td><td><p>0.219</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>8</p></td><td><p>no variation</p></td><td><p>1</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>9</p></td><td><p>no trend</p></td><td><p>0.115</p></td><td><p>0</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.099</p></td><td><p>-0.167</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>11</p></td><td><p>increasing</p></td><td><p>0.138</p></td><td><p>0.412</p></td></tr><tr><td><p>Tal Abta</p></td><td><p>12</p></td><td><p>increasing</p></td><td><p>0.838</p></td><td><p>0.057</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>1</p></td><td><p>increasing</p></td><td><p>0.762</p></td><td><p>0.273</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>2</p></td><td><p>decreasing</p></td><td><p>0.264</p></td><td><p>-0.514</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>3</p></td><td><p>decreasing</p></td><td><p>0.787</p></td><td><p>-0.35</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>4</p></td><td><p>increasing</p></td><td><p>0.198</p></td><td><p>0.887</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.114</p></td><td><p>0.342</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>6</p></td><td><p>no trend</p></td><td><p>0.176</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>7</p></td><td><p>no trend</p></td><td><p>0.12</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>8</p></td><td><p>no trend</p></td><td><p>0.205</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>9</p></td><td><p>no trend</p></td><td><p>0.06</p></td><td><p>0</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.332</p></td><td><p>-0.111</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>11</p></td><td><p>increasing</p></td><td><p>0.711</p></td><td><p>0.228</p></td></tr><tr><td><p>Tal Afar</p></td><td><p>12</p></td><td><p>decreasing</p></td><td><p>0.683</p></td><td><p>-0.309</p></td></tr><tr><td><p>Rabia</p></td><td><p>1</p></td><td><p>increasing</p></td><td><p>0.262</p></td><td><p>0.7</p></td></tr><tr><td><p>Rabia</p></td><td><p>2</p></td><td><p>decreasing</p></td><td><p>0.418</p></td><td><p>-0.479</p></td></tr><tr><td><p>Rabia</p></td><td><p>3</p></td><td><p>increasing</p></td><td><p>0.812</p></td><td><p>0.15</p></td></tr><tr><td><p>Rabia</p></td><td><p>4</p></td><td><p>increasing</p></td><td><p>0.734</p></td><td><p>0.2</p></td></tr><tr><td><p>Rabia</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.103</p></td><td><p>0.594</p></td></tr><tr><td><p>Rabia</p></td><td><p>6</p></td><td><p>no trend</p></td><td><p>0.003</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>7</p></td><td><p>no trend</p></td><td><p>0.005</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>8</p></td><td><p>no trend</p></td><td><p>0.264</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>9</p></td><td><p>no trend</p></td><td><p>0.474</p></td><td><p>0</p></td></tr><tr><td><p>Rabia</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.696</p></td><td><p>-0.096</p></td></tr><tr><td><p>Rabia</p></td><td><p>11</p></td><td><p>increasing</p></td><td><p>0.163</p></td><td><p>0.733</p></td></tr><tr><td><p>Rabia</p></td><td><p>12</p></td><td><p>decreasing</p></td><td><p>0.671</p></td><td><p>-0.317</p></td></tr><tr><td><p>Sinjar</p></td><td><p>1</p></td><td><p>increasing</p></td><td><p>0.541</p></td><td><p>0.575</p></td></tr><tr><td><p>Sinjar</p></td><td><p>2</p></td><td><p>no trend</p></td><td><p>0.986</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>3</p></td><td><p>increasing</p></td><td><p>0.786</p></td><td><p>0.27</p></td></tr><tr><td><p>Sinjar</p></td><td><p>4</p></td><td><p>increasing</p></td><td><p>0.049</p></td><td><p>1.21</p></td></tr><tr><td><p>Sinjar</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.008</p></td><td><p>1</p></td></tr><tr><td><p>Sinjar</p></td><td><p>6</p></td><td><p>no trend</p></td><td><p>0.131</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>7</p></td><td><p>no trend</p></td><td><p>0.134</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>8</p></td><td><p>no trend</p></td><td><p>0.779</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>9</p></td><td><p>no trend</p></td><td><p>0.013</p></td><td><p>0</p></td></tr><tr><td><p>Sinjar</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.946</p></td><td><p>-0.004</p></td></tr><tr><td><p>Sinjar</p></td><td><p>11</p></td><td><p>increasing</p></td><td><p>0.415</p></td><td><p>0.514</p></td></tr><tr><td><p>Sinjar</p></td><td><p>12</p></td><td><p>decreasing</p></td><td><p>0.622</p></td><td><p>-0.525</p></td></tr><tr><td><p>Makhmur</p></td><td><p>1</p></td><td><p>decreasing</p></td><td><p>0.734</p></td><td><p>-0.158</p></td></tr></tbody></table></table-wrap><p>Table S3. Continued.</p><table-wrap id="table-14"><table frame="box" rules="all"><thead><tr><th><p>Station</p></th><th><p>Month</p></th><th><p>Trend</p></th><th><p>p-value</p></th><th><p>Sen’s Slope (mm/year)</p></th></tr></thead><tbody><tr><td><p>Makhmur</p></td><td><p>2</p></td><td><p>decreasing</p></td><td><p>0.518</p></td><td><p>-0.3</p></td></tr><tr><td><p>Makhmur</p></td><td><p>3</p></td><td><p>increasing</p></td><td><p>0.973</p></td><td><p>0.038</p></td></tr><tr><td><p>Makhmur</p></td><td><p>4</p></td><td><p>increasing</p></td><td><p>0.634</p></td><td><p>0.246</p></td></tr><tr><td><p>Makhmur</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.045</p></td><td><p>0.338</p></td></tr><tr><td><p>Makhmur</p></td><td><p>6</p></td><td><p>no trend</p></td><td><p>0.197</p></td><td><p>0</p></td></tr><tr><td><p>Makhmur</p></td><td><p>7</p></td><td><p>no variation</p></td><td><p>1</p></td><td><p>0</p></td></tr><tr><td><p>Makhmur</p></td><td><p>8</p></td><td><p>no variation</p></td><td><p>1</p></td><td><p>0</p></td></tr><tr><td><p>Makhmur</p></td><td><p>9</p></td><td><p>no variation</p></td><td><p>1</p></td><td><p>0</p></td></tr><tr><td><p>Makhmur</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.434</p></td><td><p>-0.14</p></td></tr><tr><td><p>Makhmur</p></td><td><p>11</p></td><td><p>increasing</p></td><td><p>0.236</p></td><td><p>0.442</p></td></tr><tr><td><p>Makhmur</p></td><td><p>12</p></td><td><p>decreasing</p></td><td><p>0.878</p></td><td><p>-0.075</p></td></tr><tr><td><p>Mosul</p></td><td><p>1</p></td><td><p>decreasing</p></td><td><p>0.61</p></td><td><p>-0.45</p></td></tr><tr><td><p>Mosul</p></td><td><p>2</p></td><td><p>decreasing</p></td><td><p>0.438</p></td><td><p>-0.6</p></td></tr><tr><td><p>Mosul</p></td><td><p>3</p></td><td><p>decreasing</p></td><td><p>0.21</p></td><td><p>-0.769</p></td></tr><tr><td><p>Mosul</p></td><td><p>4</p></td><td><p>decreasing</p></td><td><p>0.84</p></td><td><p>-0.062</p></td></tr><tr><td><p>Mosul</p></td><td><p>5</p></td><td><p>increasing</p></td><td><p>0.174</p></td><td><p>0.229</p></td></tr><tr><td><p>Mosul</p></td><td><p>6</p></td><td><p>no trend</p></td><td><p>0.437</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>7</p></td><td><p>no trend</p></td><td><p>0.029</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>8</p></td><td><p>no trend</p></td><td><p>0.718</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>9</p></td><td><p>no trend</p></td><td><p>0.723</p></td><td><p>0</p></td></tr><tr><td><p>Mosul</p></td><td><p>10</p></td><td><p>decreasing</p></td><td><p>0.563</p></td><td><p>-0.067</p></td></tr><tr><td><p>Mosul</p></td><td><p>11</p></td><td><p>increasing</p></td><td><p>0.589</p></td><td><p>0.286</p></td></tr><tr><td><p>Mosul</p></td><td><p>12</p></td><td><p>decreasing</p></td><td><p>0.292</p></td><td><p>-0.883</p></td></tr></tbody></table></table-wrap></sec></body><back><ack><title>Acknowledgements</title><p>The authors would like to express their gratitude to mentors, data providers, and institutions for their guidance and support in completing this manuscript.</p></ack><sec sec-type="author-contributions"><title>Author Contributions</title><p><bold>Conceptualization</bold>: Nafea, K. R., &amp; Al-Dujaili, A. M. J.; <bold>methodology</bold>: Nafea, K. R., &amp; Al-Dujaili, A. M. J.; <bold>investigation</bold>: Nafea, K. R., &amp; Al-Dujaili, A. M. J.; <bold>writing—original draft preparation</bold>: Nafea, K. R., &amp; Al-Dujaili, A. M. J.; <bold>writing—review and editing</bold>: Nafea, K. R., &amp; Al-Dujaili, A. M. J.; <bold>visualization</bold>: Nafea, K. R., &amp; Al-Dujaili, A. M. J.. All authors have read and agreed to the published version of the manuscript.</p></sec><sec sec-type="conflict-of-interest"><title>Conflict of Interest</title><p>All authors declare that they have no conflicts of interest.</p></sec><sec sec-type="data-availability"><title>Data Availability</title><p>Data is available upon Request.</p></sec><sec sec-type="funding"><title>Funding</title><p>This research received no external funding.</p></sec><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Abdaki</surname><given-names>M. A</given-names></name><name><surname>Al-Azzar</surname><given-names>A. Z</given-names></name><name><surname>Al-Obaidi</surname><given-names>O</given-names></name><name><surname>Al-Tiyawi</surname><given-names>A. N</given-names></name></person-group><article-title>Predicting Rainfall in Nineveh Governorate in Northern Iraq using a Machine Learning Time-series Forecasting Algorithm</article-title><source>Arab J Geosci</source><year>2023</year><volume>16</volume><elocation-id>11779</elocation-id><pub-id pub-id-type="doi">10.1007/s12517-023-11779-2</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Al-Azzawi</surname><given-names>A. A</given-names></name></person-group><source>Analysis of the Spatial and Temporal Variability of Rainfall in Iraq using GIS and Remote Sensing Techniques</source><year>2017</year></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Al-Hashimi</surname><given-names>M. M</given-names></name><name><surname>Hayawi</surname><given-names>H. A. A</given-names></name></person-group><article-title>Nonlinear Model for Precipitation Forecasting in Northern Iraq using Machine Learning Algorithms</article-title><source>Int J Math Comput Sci</source><year>2024</year><volume>19</volume><issue>1</issue><fpage>171</fpage><lpage>179</lpage><page-range>171–179</page-range></element-citation></ref><ref id="bib4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Al-Hussein</surname><given-names>A. A. M</given-names></name><name><surname>Khalil</surname><given-names>S. A., Salman F. H</given-names></name><name><surname>Mahmood</surname><given-names>B. F</given-names></name></person-group><article-title>Evaluation of accuracy for satellites rainfall datasets compared in ground stations: a case study of Duhok governorate, Northern Iraq</article-title><source>Sustain Water Resour Manag</source><year>2024</year><pub-id pub-id-type="doi">10.1007/s40899-024-01158-4</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Al-Mousawi</surname><given-names>A. S, Abu Rahil, A. H. M</given-names></name></person-group><article-title>[Title of the book], 1st edn</article-title><source>Al-Mizan Printing Press, Najaf Al-Ashraf</source><year>2013</year></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Al-Ozeer</surname><given-names>A. Z</given-names></name><name><surname>Abdaki</surname><given-names>M. A</given-names></name><name><surname>Al-Iraqi</surname><given-names>A. R</given-names></name><name><surname>Al-Samman</surname><given-names>S. H</given-names></name><name><surname>Al-Hammadi</surname><given-names>N. A</given-names></name></person-group><article-title>Estimation of mean areal rainfall and missing data by using GIS in Nineveh, northern Iraq</article-title><source>Iraqi Geol J</source><year>2020</year><volume>53</volume><issue>1E</issue><fpage>93</fpage><lpage>103</lpage><page-range>93–103</page-range><pub-id pub-id-type="doi">10.46717/igj.53.1E.7Ry-2020-07.07</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="webpage"><person-group person-group-type="author"><name><surname>Géron</surname><given-names>A</given-names></name></person-group><article-title>Hands-on Machine Learning with Scikit-learn, Keras, and Tensorflow: Concepts, Tools, and Techniques to Build Intelligent Systems, 2nd edn</article-title><source>O’Reilly Media</source><year>2019</year><ext-link ext-link-type="uri" xlink:href="https://www.oreilly.com/library/view/hands-on-machine-learning/9781492032632">https://www.oreilly.com/library/view/hands-on-machine-learning/9781492032632</ext-link></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bahrom</surname><given-names>S</given-names></name><name><surname>Abu</surname><given-names>N</given-names></name><name><surname>Abd Rahman</surname><given-names>N. H</given-names></name><name><surname>Zainal</surname><given-names>N. A</given-names></name></person-group><article-title>Forecasting of Rainfall in Malaysia using Time Series Analysis</article-title><source>Environ Sci Pollut Res. Retrieved From</source><year>2026</year><pub-id pub-id-type="doi">10.1007/s11356-026-37668-1</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s11356-026-37668-1">https://doi.org/10.1007/s11356-026-37668-1</ext-link></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Baig</surname><given-names>F</given-names></name><name><surname>Ali</surname><given-names>L</given-names></name><name><surname>Faiz</surname><given-names>M. A</given-names></name><name><surname>Chen</surname><given-names>H</given-names></name><name><surname>Sherif</surname><given-names>M</given-names></name></person-group><article-title>How Accurate are the Machine Learning Models in Improving Monthly Rainfall Prediction in Hyperarid Environment?</article-title><source>J Hydrol</source><year>2024</year><volume>633</volume><elocation-id>131040</elocation-id><pub-id pub-id-type="doi">10.1016/j.jhydrol.2024.131040</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Benesty</surname><given-names>J</given-names></name><name><surname>Chen</surname><given-names>J</given-names></name><name><surname>Huang</surname><given-names>Y</given-names></name><name><surname>Cohen</surname><given-names>I</given-names></name></person-group><article-title>Pearson correlation coefficient</article-title><source>In: Noise reduction in speech processing. Springer</source><year>2009</year></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Breiman</surname><given-names>L</given-names></name></person-group><article-title>Random forests</article-title><source>Machine Learning</source><year>2001</year><volume>45</volume><issue>1</issue><elocation-id>5–32.doi.org/</elocation-id><pub-id pub-id-type="doi">10.1023/A:1010933404324</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen T</surname><given-names>Guestrin C</given-names></name></person-group><article-title>Xgboost: a Scalable Tree Boosting System</article-title><source>In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, 785–794</source><year>2016</year><pub-id pub-id-type="doi">10.1145/2939672.2939785</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Datta</surname><given-names>P</given-names></name><name><surname>Das</surname><given-names>S</given-names></name></person-group><article-title>Analysis of Long-term Precipitation Changes in West Bengal, India: an Approach to Detect monotonic Trends Influenced by Autocorrelations</article-title><source>Dyn Atmos Oceans</source><year>2019</year><volume>88</volume><elocation-id>101118</elocation-id><pub-id pub-id-type="doi">10.1016/j.dynatmoce.2019.101118</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>El Hafyani</surname><given-names>M, E. l</given-names></name><name><surname>Himdi</surname><given-names>K., E,. l</given-names></name><name><surname>Adlouni</surname><given-names>S. E</given-names></name></person-group><article-title>Improving Monthly Precipitation Prediction Accuracy using Machine Learning Models: a Multi-view Stacking Learning Technique</article-title><source>Front Water</source><year>2024</year><volume>6</volume><elocation-id>1378598</elocation-id><pub-id pub-id-type="doi">10.3389/frwa.2024.1378598</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Elshaboury</surname><given-names>N</given-names></name><name><surname>Abdelkader</surname><given-names>E</given-names></name><name><surname>Attia</surname><given-names>A</given-names></name><name><surname>Marzouk</surname><given-names>M</given-names></name></person-group><article-title>Rainfall Forecasting in Arid Regions using an Ensemble of Artificial Neural Networks</article-title><source>J Phys Conf Ser</source><year>2021</year><volume>1900</volume><elocation-id>012015</elocation-id><pub-id pub-id-type="doi">10.1088/1742-6596/1900/1/012015</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Farouk</surname><given-names>I. E</given-names></name><name><surname>Ashour</surname><given-names>M. A</given-names></name></person-group><article-title>Tourism Geography: Development, Foundations, Approaches, and Applications</article-title><source>Anglo-Egyptian Bookshop, Cairo</source><year>2005</year></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fereshtehpour</surname><given-names>M, Sabbaghian, R. J</given-names></name><name><surname>Farrokhi</surname><given-names>A</given-names></name><name><surname>Jovein</surname><given-names>E. B</given-names></name><name><surname>Sarindizaj</surname><given-names>E. E</given-names></name></person-group><article-title>Evaluation of Factors Governing the use of Floating Solar System: A Study on Iran’s Important Water Infrastructures</article-title><source>Renew Energy</source><year>2020</year><volume>171</volume><fpage>1171</fpage><lpage>1187</lpage><page-range>1171–1187</page-range><pub-id pub-id-type="doi">10.1016/j.renene.2020.12.005</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ghosh</surname><given-names>S, Gourisaria, M. K</given-names></name><name><surname>Sahoo</surname><given-names>B</given-names></name><name><surname>Das</surname><given-names>H</given-names></name></person-group><article-title>A Pragmatic Ensemble Learning Approach for Rainfall Prediction</article-title><source>Discov Internet Things, 3l</source><year>2023</year><volume>13</volume><pub-id pub-id-type="doi">10.1007/s43926-023-00044-3</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gu</surname><given-names>J</given-names></name><name><surname>Liu</surname><given-names>S</given-names></name><name><surname>Zhou</surname><given-names>Z</given-names></name><name><surname>Chalov</surname><given-names>S. R</given-names></name><name><surname>Zhuang</surname><given-names>Q</given-names></name></person-group><article-title>A stacking Ensemble Learning Model for Monthly Rainfall Prediction</article-title><source>Water</source><year>2022</year><volume>14</volume><issue>3</issue><elocation-id>492</elocation-id><pub-id pub-id-type="doi">10.3390/w14030492</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hamed</surname><given-names>K. H</given-names></name></person-group><article-title>Trend Detection in Hydrologic Data: the Mann–Kendall Trend Test Under the Scaling Hypothesis</article-title><source>J Hydrol</source><year>2008</year><volume>349</volume><issue>3–4</issue><fpage>350</fpage><lpage>363</lpage><page-range>350–363</page-range><pub-id pub-id-type="doi">10.1016/j.jhydrol.2007.11.009</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="webpage"><person-group person-group-type="author"><name><surname>Han</surname><given-names>J</given-names></name><name><surname>Kamber</surname><given-names>M</given-names></name><name><surname>Pei</surname><given-names>J</given-names></name></person-group><article-title>Data Mining: Concepts and Techniques, 3rd edn</article-title><source>Elsevier</source><year>2012</year><ext-link ext-link-type="uri" xlink:href="https://www.sciencedirect.com/book/9780123814791/data-mining-concepts-and-techniques">https://www.sciencedirect.com/book/9780123814791/data-mining-concepts-and-techniques</ext-link></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Harris</surname><given-names>C. R</given-names></name><name><surname>Millman</surname><given-names>K. J</given-names></name><name><surname>van der Walt</surname><given-names>S. J</given-names></name><name><surname>Gommers</surname><given-names>R</given-names></name><name><surname>Virtanen</surname><given-names>P</given-names></name></person-group><article-title>Array programming with NumPy</article-title><source>Nature</source><year>2020</year><volume>585</volume><fpage>357</fpage><lpage>362</lpage><page-range>357–362</page-range><pub-id pub-id-type="doi">10.1038/s41586-020-2649-2</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hastie</surname><given-names>T</given-names></name><name><surname>Tibshirani</surname><given-names>R</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name></person-group><article-title>The elements of statistical learning: data mining, inference, and prediction, 2nd edn</article-title><source>Springer. Retrieved From</source><year>2009</year><pub-id pub-id-type="doi">10.1007/978-0-387-84858-7</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-0-387-84858-7">https://doi.org/10.1007/978-0-387-84858-7</ext-link></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hunter</surname><given-names>J. D</given-names></name></person-group><article-title>Matplotlib: a 2D Graphics Environment</article-title><source>Comput Sci Eng</source><year>2007</year><volume>9</volume><issue>3</issue><fpage>90</fpage><lpage>95</lpage><page-range>90–95</page-range></element-citation></ref><ref id="bib25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Jumadi</surname><given-names>J</given-names></name><name><surname>Danardono</surname><given-names>D</given-names></name><name><surname>Roziaty</surname><given-names>E</given-names></name><name><surname>Ulinuha</surname><given-names>A</given-names></name><name><surname>Supari</surname><given-names>S</given-names></name><name><surname>Choy</surname><given-names>L. K</given-names></name><name><surname>Sattar</surname><given-names>F</given-names></name><name><surname>Nawaz</surname><given-names>M</given-names></name></person-group><article-title>AI-driven ensemble learning for spatio-temporal rainfall prediction in the Bengawan Solo River watershed, Indonesia</article-title><source>Sustainability</source><year>2025</year><volume>17</volume><issue>20</issue><elocation-id>9281</elocation-id><pub-id pub-id-type="doi">10.3390/su17209281</pub-id></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kannan</surname><given-names>S</given-names></name><name><surname>Ghosh</surname><given-names>S</given-names></name></person-group><article-title>Prediction of Daily Rainfall State in a River Basin using Statistical Downscaling from GCM Output</article-title><source>Stoch Environ Res Risk Assess</source><year>2010</year><volume>25</volume><issue>4</issue><fpage>457</fpage><lpage>474</lpage><page-range>457–474</page-range><pub-id pub-id-type="doi">10.1007/s00477-010-0415-y</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Kendall</surname><given-names>M. G</given-names></name></person-group><article-title>Rank correlation methods, 4th edn</article-title><source>Charles Griffin, London</source><year>1975</year></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Khan</surname><given-names>M. M. H</given-names></name><name><surname>Mustafa</surname><given-names>U., Shams. S</given-names></name><name><surname>Hossain</surname><given-names>M. S</given-names></name></person-group><article-title>Short-term and Long-term Rainfall Forecasting Using ARIMA Model</article-title><source>Int J Environ Sci Dev</source><year>2023</year><volume>14</volume><issue>5</issue><fpage>292</fpage><lpage>298</lpage><page-range>292–298</page-range><pub-id pub-id-type="doi">10.18178/ijesd.2023.14.5.1447</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname><given-names>J. W</given-names></name><name><surname>Pachepsky</surname><given-names>Y. A</given-names></name></person-group><article-title>Reconstructing missing daily precipitation data using regression trees and artificial neural networks for SWAT streamflow simulation</article-title><source>J Hydrol</source><year>2010</year><volume>394</volume><issue>3–4</issue><fpage>305</fpage><lpage>314</lpage><page-range>305–314</page-range><pub-id pub-id-type="doi">10.1016/j.jhydrol.2010.09.005</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kõlõc</surname><given-names>Z</given-names></name></person-group><article-title>The Importance of Water and Conscious Use of Water</article-title><source>Int J Hydrol</source><year>2020</year><volume>4</volume><issue>5</issue><fpage>239</fpage><lpage>241</lpage><page-range>239–241</page-range><pub-id pub-id-type="doi">10.15406/ijh.2020.04.00250</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kratzert</surname><given-names>F</given-names></name><name><surname>Klotz</surname><given-names>D</given-names></name><name><surname>Brenner</surname><given-names>C</given-names></name><name><surname>Schulz</surname><given-names>K</given-names></name><name><surname>Herrnegger</surname><given-names>M</given-names></name></person-group><article-title>Rainfall–Runoff Modeling Using Long Short-term Memory (LSTM) Networks</article-title><source>Hydrol Earth Syst Sci</source><year>2018</year><volume>22</volume><fpage>6005</fpage><lpage>6022</lpage><page-range>6005–6022</page-range><pub-id pub-id-type="doi">10.5194/hess-22-6005-2018</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kuhn</surname><given-names>M</given-names></name><name><surname>Johnson</surname><given-names>K</given-names></name></person-group><article-title>Applied Predictive Modeling</article-title><source>Springer</source><year>2013</year><volume>26</volume><elocation-id>13</elocation-id><pub-id pub-id-type="doi">10.1007/978-1-4614-6849-3</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kundu</surname><given-names>S</given-names></name><name><surname>Biswas</surname><given-names>S. K</given-names></name><name><surname>Tripathi</surname><given-names>D</given-names></name><name><surname>Karmakar</surname><given-names>R</given-names></name><name><surname>Majumdar</surname><given-names>S</given-names></name><name><surname>Mandal</surname><given-names>S</given-names></name></person-group><article-title>Forecasting Using Ensemble Learning Techniques</article-title><source>E-Prime Adv Electr Eng Electron Energy</source><year>2023</year><volume>6</volume><elocation-id>100296</elocation-id><pub-id pub-id-type="doi">10.1016/j.prime.2023.100296</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Latif</surname><given-names>S. H</given-names></name><name><surname>Koo</surname><given-names>N. A. B</given-names></name><name><surname>Ng</surname><given-names>J. L</given-names></name><name><surname>Chaplot</surname><given-names>B</given-names></name><name><surname>Huang</surname><given-names>Y. F</given-names></name><name><surname>El-Shafie</surname><given-names>A</given-names></name><name><surname>Ahmed</surname><given-names>A. N</given-names></name></person-group><article-title>Assessing Rainfall Prediction Models: Exploring the Advantages of Machine Learning and Remote Sensing Approaches</article-title><source>Alex Eng J</source><year>2023</year><volume>82</volume><fpage>16</fpage><lpage>25</lpage><page-range>16–25</page-range><pub-id pub-id-type="doi">10.1016/j.aej.2023.09.060</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Manaf</surname><given-names>M</given-names></name><name><surname>Ali</surname><given-names>Z</given-names></name><name><surname>Scholz</surname><given-names>M</given-names></name></person-group><article-title>Integrating Random Forest-Based Regression Kriging for Analyzing Spatial Variability of Rainfall in Arid and Semi-arid Regions</article-title><source>Sci Rep</source><year>2026</year><volume>16</volume><elocation-id>5298</elocation-id><pub-id pub-id-type="doi">10.1038/s41598-026-36074-4</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mann</surname><given-names>H. B</given-names></name></person-group><article-title>Nonparametric tests against trend</article-title><source>Econometrica</source><year>1945</year><volume>13</volume><issue>3</issue><fpage>245</fpage><lpage>259</lpage><page-range>245–259</page-range><pub-id pub-id-type="doi">10.2307/1907187</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="webpage"><person-group person-group-type="author"><collab>MileHacker</collab></person-group><article-title>Best Time to Visit Mosul: Weather, Seasons, and Climate</article-title><year>2019</year><ext-link ext-link-type="uri" xlink:href="https://www.milehacker.com/travel/iraq/nineveh/mosul/best-time-to-visit-mosul-weather-seasons-climate/">https://www.milehacker.com/travel/iraq/nineveh/mosul/best-time-to-visit-mosul-weather-seasons-climate/</ext-link></element-citation></ref><ref id="bib38"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Musa</surname><given-names>M, Atiyah, K. S</given-names></name></person-group><article-title>Extract the effective rain in Nineveh Governorate</article-title><source>J Tikrit Univ Humanit</source><year>2022</year><volume>29</volume><issue>5</issue><fpage>117</fpage><lpage>150</lpage><page-range>117–150</page-range><pub-id pub-id-type="doi">10.25130/jtuh.29.5.2022.07</pub-id></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nirranjana</surname><given-names>R</given-names></name><name><surname>Aishwarya</surname><given-names>R</given-names></name><name><surname>Tejshree</surname><given-names>S</given-names></name><name><surname>Gayathri</surname><given-names>K. S</given-names></name><name><surname>Natarajan</surname><given-names>S</given-names></name><name><surname>Thirunavukkarasu</surname><given-names>P</given-names></name></person-group><article-title>Rainfall forecasting model for Amaravathi basin using machine learning approach</article-title><source>J Inst Eng India Ser A</source><year>2025</year><volume>106</volume><issue>4</issue><fpage>1067</fpage><lpage>1080</lpage><page-range>1067–1080</page-range><pub-id pub-id-type="doi">10.1007/s40030-025-00914-9</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Parmar</surname><given-names>A</given-names></name><name><surname>Mistree</surname><given-names>K</given-names></name><name><surname>Sompura</surname><given-names>M</given-names></name></person-group><article-title>Machine learning techniques for rainfall prediction: a review</article-title><source>In: International conference on innovations in information embedded and communication systems. Retrieved From</source><year>2017</year><pub-id pub-id-type="doi">10.1109/ICIIECS.2017.8276023</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ICIIECS.2017.8276023">https://doi.org/10.1109/ICIIECS.2017.8276023</ext-link></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Pedregosa</surname><given-names>F</given-names></name><name><surname>Varoquaux</surname><given-names>G</given-names></name><name><surname>Gramfort</surname><given-names>A</given-names></name><name><surname>Michel</surname><given-names>V</given-names></name><name><surname>Thirion</surname><given-names>B</given-names></name></person-group><article-title>Scikit-learn: machine learning in Python</article-title><source>J Mach Learn Res</source><year>2011</year><volume>12</volume><fpage>2825</fpage><lpage>2830</lpage><page-range>2825–2830</page-range></element-citation></ref><ref id="bib42"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rahi A</surname><given-names>Al-Madhhachi AAT, Al-Hussaini SN</given-names></name></person-group><article-title>Assessment of surface water resources of eastern Iraq</article-title><source>Hydrology</source><year>2019</year><volume>6</volume><issue>3</issue><elocation-id>57</elocation-id><pub-id pub-id-type="doi">10.3390/hydrology6030057</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="webpage"><person-group person-group-type="author"><name><surname>Reback</surname><given-names>J</given-names></name><name><surname>McKinney</surname><given-names>W</given-names></name></person-group><article-title>Pandas: Python data analysis library</article-title><year>2020</year><ext-link ext-link-type="uri" xlink:href="https://pandas.pydata.org/docs/">https://pandas.pydata.org/docs/</ext-link></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Saber</surname><given-names>M</given-names></name><name><surname>Boulmaiz</surname><given-names>T</given-names></name><name><surname>Guermoui</surname><given-names>M</given-names></name><name><surname>Abdrabo</surname><given-names>K. I</given-names></name><name><surname>Kantoush</surname><given-names>S. A</given-names></name><name><surname>Sumi</surname><given-names>T</given-names></name><name><surname>Boutaghane</surname><given-names>H</given-names></name><name><surname>Nohara</surname><given-names>D., Mabrouk E</given-names></name></person-group><article-title>Examining LightGBM and CatBoost models for wadi flash flood susceptibility prediction</article-title><source>Geocarto Int</source><year>2022</year><volume>37</volume><issue>25</issue><fpage>7462</fpage><lpage>7487</lpage><page-range>7462–7487</page-range><pub-id pub-id-type="doi">10.1080/10106049.2021.1974959</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Salman</surname><given-names>S. A</given-names></name><name><surname>Shahid</surname><given-names>S</given-names></name><name><surname>Ismail</surname><given-names>T</given-names></name><name><surname>Ahmed</surname><given-names>K</given-names></name><name><surname>Chung</surname><given-names>E. S</given-names></name><name><surname>Wang</surname><given-names>X. J</given-names></name></person-group><article-title>Characteristics of annual and seasonal trends of rainfall and temperature in Iraq</article-title><source>Asia-Pac J Atmos Sci 55:429–438</source><year>2019</year><pub-id pub-id-type="doi">10.1007/s13143-018-0073-4</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s13143-018-0073-4">https://doi.org/10.1007/s13143-018-0073-4</ext-link></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sen</surname><given-names>P. K</given-names></name></person-group><article-title>Estimates of the regression coefficient based on Kendall’s tau</article-title><source>J Am Stat Assoc</source><year>1968</year><volume>63</volume><issue>324</issue><fpage>1379</fpage><lpage>1389</lpage><page-range>1379–1389</page-range><pub-id pub-id-type="doi">10.1080/01621459.1968.10480934</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Sharma</surname><given-names>A. K</given-names></name><name><surname>Ahmad</surname><given-names>R</given-names></name><name><surname>Chen</surname><given-names>R</given-names></name></person-group><article-title>Predicting the default borrowers in P2P platform using machine learning models</article-title><source>In: Artificial intelligence and sustainable computing for smart city, 267–281. Springer International Publishing</source><year>2021</year></element-citation></ref><ref id="bib48"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Shneishil</surname><given-names>B. S</given-names></name></person-group><article-title>Rainfall prediction using statistical modeling and artificial intelligence in arid and semiarid environments of northwestern Iraq: an applied case study</article-title><source>Ramah J Res Stud</source><year>2025</year></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Spearman</surname><given-names>C</given-names></name></person-group><article-title>The proof and measurement of association between two things</article-title><source>Am J Psychol</source><year>1904</year><volume>15</volume><issue>1</issue><fpage>72</fpage><lpage>101</lpage><page-range>72–101</page-range><pub-id pub-id-type="doi">10.2307/1412159</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tabari</surname><given-names>H</given-names></name><name><surname>AghaKouchak</surname><given-names>A</given-names></name><name><surname>Willems</surname><given-names>P</given-names></name></person-group><article-title>A perturbation approach for assessing trends in precipitation extremes across Europe</article-title><source>J Hydrol 519, 2019–2033</source><year>2018</year><pub-id pub-id-type="doi">10.1016/j.jhydrol.2014.08.047</pub-id></element-citation></ref><ref id="bib51"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tahseen</surname><given-names>D</given-names></name><name><surname>Ali</surname><given-names>R</given-names></name></person-group><article-title>Advancing an innovative machine learning model for monthly rainfall forecasting in a hot-summer Mediterranean climate region, Erbil, Iraq</article-title><source>Iraqi Geol J</source><year>2025</year><volume>58</volume><issue>2D</issue><fpage>1</fpage><lpage>20</lpage><page-range>1–20</page-range><pub-id pub-id-type="doi">10.46717/igj.2025.58.2D.1</pub-id></element-citation></ref><ref id="bib52"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Uddin</surname><given-names>M. T. M</given-names></name><name><surname>Rahman</surname><given-names>M. F</given-names></name><name><surname>Rahib</surname><given-names>M. A</given-names></name><name><surname>Arun</surname><given-names>N</given-names></name><name><surname>Venkatesh</surname><given-names>J</given-names></name></person-group><article-title>Rainfall prediction using machine learning</article-title><source>Int J Res Anal Rev</source><year>2025</year><volume>12</volume><elocation-id>(1)</elocation-id></element-citation></ref><ref id="bib53"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Voss</surname><given-names>K. A</given-names></name><name><surname>Famiglietti</surname><given-names>J. S</given-names></name><name><surname>Lo</surname><given-names>M</given-names></name><name><surname>De</surname><given-names>Linage, C</given-names></name><name><surname>Rodell</surname><given-names>M</given-names></name><name><surname>Swenson</surname><given-names>S. C</given-names></name></person-group><article-title>Groundwater depletion in the Middle East from GRACE with implications for transboundary water management in the Tigris–Euphrates–Western Iran region</article-title><source>Water Resour Res 49(2), 904–914</source><year>2013</year><pub-id pub-id-type="doi">10.1002/wrcr.20078</pub-id></element-citation></ref><ref id="bib54"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>Y</given-names></name><name><surname>Xu</surname><given-names>Y</given-names></name><name><surname>Tabari</surname><given-names>H</given-names></name><name><surname>Wang</surname><given-names>J</given-names></name><name><surname>Wang</surname><given-names>Q</given-names></name><name><surname>Song</surname><given-names>S</given-names></name><name><surname>Hu</surname><given-names>Z</given-names></name></person-group><article-title>Innovative Trend Analysis of Annual and Seasonal Rainfall in the Yangtze River Delta, Eastern China</article-title><source>Atmos Res</source><year>2020</year><volume>231</volume><elocation-id>104673</elocation-id><pub-id pub-id-type="doi">10.1016/j.atmosres.2019.104673</pub-id></element-citation></ref><ref id="bib55"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wilks</surname><given-names>D. S</given-names></name></person-group><article-title>Statistical methods in the atmospheric sciences, 3rd edn</article-title><source>Academic Press. Retrieved From</source><year>2011</year><pub-id pub-id-type="doi">10.1016/B978-0-12-385022-5.00021-X</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/B978-0-12-385022-5.00021-X">https://doi.org/10.1016/B978-0-12-385022-5.00021-X</ext-link></element-citation></ref><ref id="bib56"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wolpert</surname><given-names>D. H</given-names></name></person-group><article-title>Stacked generalization</article-title><source>Neural Netw</source><year>1992</year><volume>5</volume><issue>2</issue><fpage>241</fpage><lpage>259</lpage><page-range>241–259</page-range><pub-id pub-id-type="doi">10.1016/S0893-6080(05)80023-1</pub-id></element-citation></ref><ref id="bib57"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yue</surname><given-names>S</given-names></name><name><surname>Wang</surname><given-names>C. Y</given-names></name></person-group><article-title>The Mann–Kendall test modified by effective sample size to detect trend in serially correlated hydrological series</article-title><source>Water Resour Manag</source><year>2004</year><volume>18</volume><fpage>201</fpage><lpage>218</lpage><page-range>201–218</page-range><pub-id pub-id-type="doi">10.1023/B:WARM.0000043140.61082.60</pub-id></element-citation></ref><ref id="bib58"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zelenakova</surname><given-names>M</given-names></name><name><surname>Abd-Elhamid</surname><given-names>H</given-names></name><name><surname>Krajnikova</surname><given-names>K</given-names></name><name><surname>Smetankova</surname><given-names>J</given-names></name><name><surname>Purcz</surname><given-names>P</given-names></name></person-group><article-title>Spatial and temporal variability of rainfall trends in response to climate change: a case study of Syria</article-title><source>Water</source><year>2022</year><volume>14</volume><issue>10</issue><elocation-id>1670</elocation-id><pub-id pub-id-type="doi">10.3390/w14101670</pub-id></element-citation></ref></ref-list></back></article>
