Introduction

The global average temperature was expected to increase +0.74−+0.18 °C between 1906 and 2005 (IPCC 2007). International Panel on Climate Change report also expresses that impact of temperature change in the future is more severe and thus there’ll be a shortage in the freshwater availability as a result of climate change. This has additionally detected that decrease in the annual runoff and water availability will project up to 10–30 % in the middle of the twenty-first century (IPCC 2007). Therefore, the increasing efforts have gained to research the effect of climate change on surface temperature and precipitation in all over the world (Zhang et al. 2000, 2014; Partal and Kahya 2006; Al Buhairi 2010; Rahman and Begum 2013). These researchers show that climate change is a global phenomenon, but its impacts vary from region to region on the globe surface. Although, Iraq is also considered as one of the vulnerable regions to climate change in Asia, a limited number of studies appear to be available. Zeid and El-Fadel (2002) used simulations of climate change predictions to evaluate its effect on water resources in Middle East. Although they did not consider predicted precipitation to decrease, they found that temperature increases of 0.6–2.1 °C would impact the water balance and reduce available resources. Bilal et al. (2013) used monthly maximum, minimum, and mean temperature data spanning from 1941 to 2000 to detect trend in Baghdad city, Iraq. They utilized linear regression method as well as Mann–Kendall test. They found warming trends for annual maximum and mean temperature though cooling trends for annual minimum temperature but they are not statistically significant. They also emphasized that there was a strong increasing tendency for temperature in the late 1990s during the summer season. Jasem (2012) studied trend characteristics of rainfall for four stations in Iraq during 1941–2000 by using t test. The results show that there was only one significant increasing trend in Rutba station during autumn season. Regarding to annual rainfall data, he detected positive trend in both Basra and Rutba stations while he found negative trend in both Baghdad and Mosul stations. The other studies related with climate change effects in Middle East can be summarized as follows: Partal and Kahya (2006) used the Mann–Kendall and Sen’s T tests to reveal trends in the long-term annual and monthly precipitation series. Their results showed that the trends of precipitation were downward across Turkey and both tests obtained more or less similar conclusions. Al Buhairi (2010) analyzed trends in the mean annual, seasonal, and monthly surface temperature in Taiz city, Yemen, during the period 1979–2006. Their results indicated that a statistically significant increasing trend in practically all the months and seasons existed. Tabari and Talaee (2011) examined the trends of the monthly, seasonal, and annual Tmax and Tmin time series during 1966–2005 in Iran for 19 meteorological stations. They found that 85 % of the stations have positive trends while 15 % of the stations have negative trends in the study region. As a conclusion, these studies claim that Middle East region may face more aridity due to increasing temperature and decreasing precipitation in future.

The utilizing tests for revealing of significant trends in the time series of hydro-climatological variables may be sorted as parametric and non-parametric (Shadmani et al. 2012). Parametric trend test is stronger than non-parametric test provided that data are independent and normally distributed. However, non-parametric trend tests can allow incorporating outliers in the data and needing solely that the data be independent. Moreover, they are insensitive to the sort of data distribution (Shadmani et al. 2012). Taking all the good features of the non-parametric test, these tests have been used to reveal of trends in many studies (i.e., Yue et al. 2002; Kahya and Kalayci 2004; Partal and Kahya 2006; Yenigun et al. 2008).

The main objective of this study including detection of climate change is to investigate the temporal and spatial trends of precipitation and temperature via satisfyingly large and long data series in Iraq. The Mann–Kendall and Spearman’s Rho test statistics for annual and seasonal Kendall and Sen’s T tests for monthly precipitation and temperature series are calculated and plotted on maps to display any spatial trend patterns. The Sen’s and seasonal Kendall slope estimator are also used to estimate linear trend magnitudes for annual and monthly data. We confirmed, as in previous studies, that the study region vulnerable to increasing and decreasing trend in temperature and precipitation, respectively. We should mention that the detecting decrease (increase) in precipitation (temperature) may be result in desertification, heat island, global warming, and other signals that exist.

The North Atlantic Oscillation (NAO) exerting a strong control on the climate of the Northern Hemisphere was also investigated in the study because there are lots of studies to put forward linkages between atmospheric circulations and precipitation conditions (e.g., Marshall et al. 2001). During negative NAO years, Iraq experiences wet and cold conditions and dry and hot conditions for the period of positive NAO years (Şarlak et al. 2009). However, our analyses show that NAO has no detectable influences on variation of climate data of this region.

Data and methodology

Iraq is located in south-west Asia at the crossroads of the Middle East. It covers an area of 435,052 km2, which lies between the latitudes of 29° 5′ and 37° 22′ North and the longitudes of 38° 45′ and 48° 45′ East.

Historical data of monthly total precipitation, maximum and minimum temperature data for the time period 1980–2011 were provided by the Iraqi Meteorological Organization and Seismology (IMOS). The study covers 28 meteorological stations, chosen according to their geographical distribution, data accuracy, and availability, across Iraq. A quality control process involving homogenization was applied to data series. Standard normal homogeneity (SNH) and Pettit tests were utilized for this aim. While 3 out of 28 precipitation series at All-Kaim, Kerbela, and Hilla stations were found to be inhomogeneous according to SNH test, the other series were found to be homogeneous from both of these tests at 5 % significance level. It was decided to utilize the original precipitation data of three stations. Figure 1 shows the spatial distribution and geographic conditions of stations in Iraq.

Fig. 1
figure 1

The spatial distribution and geographic conditions of the meteorological stations in Iraq

Trend analysis

There are many non-parametric tests performed in order to detect a climate trend. Some of them are used to detect trends of annual data while the others can be utilized to detect trends of seasonal data. Different non-parametric trend tests and time periods (such as monthly and annual) have been utilized to exhibit the effect of them on trend results in this region. All tests are conducted at 5 % significance level.

Mann–Kendall test (MK)

This technique is the widely used non-parametric tests for detection trends of climatological and hydrological time series. The World Meteorological Organization used and suggested it for detection and estimation trend of environmental data (Yenigun et al. 2008). In this test, the null hypothesis (Ho) is equivalent to non- significant trend in the time series and the alternative hypotheses (H1) are equivalent to the significant trend in the time series. The MK test statistic, S which has zero mean and a variance (Eq. 3) and the standardized test statistic Z MK are computed as follows (Hirsch and Slack 1984; Douglas et al. 2000):

$$ S={\displaystyle {\sum}_{i=2}^n{\displaystyle {\sum}_{j=1}^{i-1}\mathrm{sign}\left({x}_i-{x}_j\right)}} $$
(1)
$$ \mathrm{sign}\left({x}_i-{x}_j\right)=\left\{\begin{array}{rrr}\hfill 1,& \hfill \mathrm{if}\ \left({x}_i-{x}_j\right)>0,& \hfill \\ {}\hfill 0,& \hfill \mathrm{if}\ \left({x}_i-{x}_j\right)=0,& \hfill \\ {}\hfill -1,& \hfill \mathrm{if}\ \left({x}_i-{x}_j\right)<0.& \hfill \end{array}\right. $$
(2)
$$ V(S)=\frac{1}{18}\left[n\left(n-1\right)\left(2n+5\right)-{\displaystyle {\sum}_{p=1}^q{t}_p\left({t}_p-1\right)\left(2{t}_p+5\right)}\right] $$
(3)

where n is the time series length, x i and x j are the successive data values of the time series in the years i and j, t i is the number of ties for pth value, and q is the number of tied values.

$$ {Z}_{MK}=\left\{\begin{array}{cc}\hfill \frac{S-1}{\sqrt{Var(S)}}\hfill & \hfill \mathrm{if}\ S>0,\hfill \\ {}\hfill 0\hfill & \hfill \mathrm{if}\ S=0,\hfill \\ {}\hfill \frac{S+1}{\sqrt{Var(S)}}\hfill & \hfill \mathrm{if}\ S<0.\hfill \end{array}\right. $$
(4)

If the Z MK value is positive, it refers to increasing trends, likewise the negative value of Z MK refers to decreasing trends in the time series. The null hypothesis is rejected when ǀZ MKǀ > Z 1 − α/2. The critical value of standardized normal (Z 1 − α/2) can be obtained from the standardized normal table; the value of Z 1 − α/2 is 1.96 at the 5 % significant level.

Spearman’s rho test (SR)

This technique is the simplest test to reveal trends in the time series. In this test, if the correlation between time steps and climate data are significant at the selected confidence level, it means that trend exists in the time series (Yue et al. 2002). The SR test statistic, Rs and the standardized test statistic, Z SR are computed as:

$$ Rs=1-\frac{6{\displaystyle {\sum}_{i=1}^n{\left({R}_i-i\right)}^2}}{n\left({n}^2-1\right)} $$
(5)
$$ {Z}_{SR}=Rs\sqrt{\frac{n-2}{1-R{s}^2}} $$
(6)

where R i is the rank of the ith observation, x i in the time series. While the positive value of Z SR refers to increasing trends, the negative value of Z SR refers to decreasing trends in the time series. The null hypothesis is rejected at ǀ Z SR ǀ > t(n − 2, 1 − 1/2) in favor of statistically significant existence trend. t (n − 2,1 − α/2), which is 2.04 for n = 32 at the 5 % significant level, is a critical value of t acquired from the student t table.

Seasonal Kendall test (SK)

Hirsch et al. suggested this test in 1982. This test is a derivation of the MK test. The test composed of calculating the MK test statistic, S and also variance Var (S), separately for each month. The values of monthly statistics are summed, and then the standardized test statistic is calculated similar to MK test (Hirsch et al. 1982).

The homogeneity of seasonal or monthly data should be checked before performing seasonal trend tests. Since the presence of trend heterogeneity among months can lead to an unreliability of the results, the trend test results are going to be deceptive. Van Belle and Hughes provided homogeneity test in 1984. They took advantage of Chi-square statistic to derive their homogeneity test. The detailed description of the test can be found in Van Belle and Hughes (1984).

Sen’s T test (ST)

This test is an aligned rank method having procedures that first eliminates the season (block) impact from each datum, and then sums the data over seasons, eventually yield a statistic from these sums. It is distributed free, and not influenced by seasonal fluctuations (Sen 1968; Van Belle and Hughes 1984; Kahya and Kalayci 2004). Test statistic is:

$$ T={\left(\frac{12{K}^2}{n\left(n+1\right){{\displaystyle {\sum}_{i,j}\left({R}_{i,j}-{R}_{.j}\right)}}^2}\right)}^{1/2}\times \left({\displaystyle {\sum}_{i=1}^n\left(i-\frac{n+1}{2}\right)\left({R}_{i.}-\frac{nK+1}{2}\right.}\right) $$
(7)

when ǀTǀ is greater than Z α (=1.645 at 5 % significance level), the null hypothesis of no trend is rejected.

Sen’s slope estimator (SS)

This application involves in calculating slopes of all data pairs, Q i . These slopes are then used in order to estimate the median of these N values of Q i . The slope Q i is computed as:

$$ {Q}_i=\frac{x_i-{x}_j}{i-j} $$
(8)

where x i and x j are represented the data values during the time period i and j (i > j), respectively. SS is the value of Q i at the median of N. If N is odd, the SS is calculated as \( {Q}_{med}={Q}_{\frac{N+1}{2}} \), otherwise it is calculated by \( {Q}_{med}=\left[{Q}_{\frac{N}{2}}+{Q}_{\frac{N+2}{2}}\right]/2 \). Positive value of Q i refers to upward trends, whereas a negative value of Q i refers to downward trends in the time series (Sen 1968).

Seasonal Kendall slope estimator (SKS)

The Seasonal Kendall slope estimator is a derivation of SS. Hirsch et al. (1982) indicated that this test can also be used for data containing extreme outliers. The SK and ST tests can only verify whether or not there is a trend. However, SKS test is utilized to determine the slope magnitude. To calculate the SKS, the first step is to calculate the individual slope estimation for each season. The calculation of median of the entire N =N 1 + N 2 + .......... + N k individual slope estimates is similar to the SS method.

Results and discussions

Annual data

The existence of positive or negative serial correlation in time series can trigger to comment of trend results incorrectly. Von Storch and Navarra (1995) pointed out this effect on the results of trend analysis and proposed the pre-whitening approach to eliminate it before applying the tests. For this aim, first of all lag-1 serial correlation coefficient is computed for each data series to check the serial dependency. It is found that the lag-1 serial correlation effect on the precipitation data is not statistically significant at the 5 % level for all stations except for Nukhaib station. On the other hand, the serial correlation effect on Tmax and Tmin temperature data is statistically significant for all stations except for nine stations. Therefore, pre-whitening procedure was performed to time series belonging to these stations before applying non-parametric tests to eliminate the serial dependency.

The percentage of significant trends obtaining from MK and SR tests for total annual precipitation, Tmax and Tmin data spanning from 1980 to 2011 are given in Table 1. The MK trend results for total annual precipitation appear to quite consistent with the SR test for all stations excluding for Haditha station. SR test detected a statistically significant trend for this station; however, MK test could not detect statistically significant trend at the same level. Among the 28 stations, a percentage of stations containing negative statistically significant trend is 0.46 (0.5) based on MK (SR) test. One important result that can be deduced is the obvious decreasing trend in precipitation valid in all series presented here.

Table 1 The percentage of stations with significant trends obtaining from MK and SR tests for annual data (1980–2011)

Annual temperature trends showed warming (positive) for both Tmax and Tmin. Increasing Tmax trends were statistically significant in 17(19) out of 28 stations, while increasing Tmin trends were statistically significant in 16 (19) out of 28 stations based on MK (SR) test.

The MK and SR statistics are plotted on a map in order to show the spatial distribution of trends in annual total precipitation trends in Fig. 2, Tmax and Tmin trends in Fig. 3. Figure 2a–b reveals that some of the stations display significant negative trends suggesting decrease in annual total precipitation. In contrast, some of the stations show no statistically significant decreasing trend.

Fig. 2
figure 2

The spatial distribution of annual precipitation trends obtained from a MK and b SR

Fig. 3
figure 3

The spatial distribution of annual Tmax and Tmin trends obtained from a MK and b SR

As can be seen from Fig. 3, there are significant trends for Tmax in the majority of the north and south of the Iraq. The stations having statistically not significant trends for Tmax seem to be located on specific zone from west to east. This situation is more obvious in Tmax trends than Tmin trends. Actually, one can concluded that almost all parts of Iraq are under a warming trend though some of them are not statistically significant. Although the rate of warming in Tmin is greater than that of Tmax during the last half century in developed country because of urbanization (urban heat islands) and land use change (Tayanç et al. 2009), we could not detect this difference in this region, obviously.

According to SS test, the magnitude of the significant decreasing trends in total annual precipitation data series ranged from 1.3 to 6.23 mm year−1.The observed trends in Mosul, Arbil, Rabiah, Sinjar, and Khanaqin stations were more rapidly decreasing as compared with the other stations. In addition, the highest slope was calculated as 6.23 mm year−1 in Khanaqi station and presented in Fig.4a. We should note that all the stations located in Northern Iraq have the higher decreasing slopes than other region. As for Tmax (Tmin), the highest slope was calculated as 0.092 (0.082) °C/year in Najaf (Nukhaib) station located in southern part of the Iraq (can be seen in Fig.4b–c).

Fig. 4
figure 4

Sen’s slope estimator results for annual data series

The relationship between annual precipitation and temperature data with the NAO index from 1980 to 2011 was statistically examined to exhibit the impact of the one large-scale atmospheric pattern on climate variables in the Middle East region. Spearman’s correlation coefficient was used for this aim. The results are presented in Table 2. They indicated that the correlation between NAO and annual precipitation at all stations were found to be positive. However, all of them were weak and statistically insignificant. The correlations between annual Tmax (Tmin) and simultaneous NAO index were also calculated. As the results show, the strongest negative correlation between annual Tmax (Tmin) and NAO index was determined as 0.54 (0.53) at Samawa (Al-Kaim) station located at the southeast (west) part of Iraq. The correlation coefficient amount indicated that 29 % (28 %) of the annual Tmax (Tmin) variance can be explained by the NAO forcing. Indeed, the correlation between temperature and NAO index were in the range from 0.2 to 0.54, indicating that about 4–29 % of the variance in the pattern of temperature is associated with NAO forcing. The sign of the correlation coefficient is also meaningful. It was found that NAO index has a negative trend during this study period. It implies the tendency of wet and cold climate condition on this region (Şarlak et al. 2009). The negative correlation explains the reason of a few part of detecting hot climate condition because explaining variance of NAO forcing was found as maximum 29 %.

Table 2 The Spearman’s rho coefficients for precipitation and temperature with NAO index

Seasonal data

The SK, ST, and SKS tests were applied to study trends for monthly precipitation and temperature data series expressing in matrix form over the study period (1980–2011). SK, ST and SKS test values, a unique value representing the trend over the entire matrix, were calculated. Serial correlation and homogeneity of monthly trends were tested before performing these tests. Results of homogeneity of trends among months for each climate variables based on this test are summarized in Table 3. According to Table 3, all calculated χ 2 homogeneous values of stations for P and Tmax are less than χ 2 critical(=19.68), on the other hand χ 2 homogeneous values of four stations for Tmin are greater than critical value (Khanaquin, Anah, Najaf and Diwaniya). In general, if χ 2 homogeneous is less than χ 2 critical, the null hypothesis of homogeneous seasonal trends over time (implying that trends in all months have the same direction and magnitude) should be accepted (Kahya and Kalayci 2004). This implies that SK, and ST tests can be used to detect seasonal trends. Otherwise, the Mann–Kendall test is suggested to apply for each individual season. Since the seasonal trend results of four stations for Tmin obtained from SK and ST tests are questionable, these stations are excluded from the following analysis. The χ 2 trend in Table 3 refers to a common trend in all months. The trend is accepted as statistically significant if χ 2 trend statistic is greater than 3.84.

Table 3 Results of homogeneity of trends between months based on the Van Belle and Hughes

The percentage of stations with significant trends obtaining from SK and ST tests for monthly P, Tmax and Tmin are summarized in Table 4. It indicates that SK trend results for monthly precipitation data appear to analogical with the ST test for all stations except for Mosul, Anah, and Nukhaib stations. Among 28 stations, a total number of stations containing negative statistically significant trend is 14 (11) based on SK (ST) test. The other stations have also decreasing trend in monthly precipitation except for Samawa and Amara stations but they are not statistically significant. In fact, Amara station has decreasing (increasing) trend based on SK (ST) test. The spatial distribution of monthly total P trends according to SK and ST test are plotted on a map in Fig. 5.

Table 4 The percentage of stations with significant trends obtaining from SK and ST tests for seasonal data (1980–2011)
Fig. 5
figure 5

The spatial distribution of monthly precipitation trends obtained from a SK and b ST

Regarding to monthly temperature series, the results of significance trend showed similarity of 100 % between two tests. That means, significant trends were more common in temperature than precipitation. Although monthly temperature data have significant increasing trend in Tmax for all stations (Table 4), the statistically significant increasing trends were observed for all stations except for Salahuddin station in Tmin.

According to SKS estimator, all stations except for Azizyia showed a downward slope for monthly precipitation data. The magnitude of significant decreasing trends varied from 0.0133 to 0.543 mm year−1. Actually, Rabiah station located in the northern Iraq had a maximum downward trend with a slope of 0.543 mm year−1. As for Tmax (Tmin), the highest slope of the significant upward trend were observed as 0.1, 0.1 (0.87) °C year−1 in Najaf, Nasiriya (Nukhaib), while lowest slope of the significant upward trend were observed as 0.03 (0.024) °C year−1 in Rabiah (Samawa).

In this study, the impact of the NAO on seasonal precipitation, Tmax, and Tmin was also calculated during winter (December–Febraury), spring (March–May), summer (June–August), and fall (September–November) seasons. As shown in Table 2, the majority of the correlation coefficients between the winter (and fall) precipitation and the corresponding NAO index were positive. In fact, about 68 and 75 % of the stations have positive correlations in the winter and fall season, respectively. The positive correlation coefficient is statistically significant at Ramadi (Al-Khalias) for winter (fall) season. The correlation coefficient amount indicated that 16 % (12 %) of the winter (fall) variance can be explained by the NAO forcing. However, these amounts are too small to get conclusion that NAO influences the winter and fall precipitation in Iraq. On the other hand, the relationships between the spring precipitation and corresponding NAO phase are mostly characterized as a negative correlation in Iraq except for nine stations. The correlations between them are also very weak.

The correlations between the seasonal Tmax (Tmin) and the corresponding NAO index were generally found as negative. The negative correlations between the summer Tmax (Tmin) and the NAO index were found to be significant at all stations except for four (two) stations. The strongest negative correlations of 0.55 (0.63) were calculated at Nasiriya (Haditha) station. The correlation between summer Tmax (Tmin) and NAO index were in the range from 0.2 (0.1) to 0.55 (0.63), indicating that about 4 (1)–30 (40)% of the variance in the pattern of temperature is associated with NAO forcing as in annual one. From these results, it can be concluded that the impacts of NAO on temperature variability is stronger during summer than other seasons.

Conclusions

The trend for annual and monthly precipitation and temperature data series from 28 stations distributed in different regions of Iraq were temporally and spatially analyzed. The annual and monthly data series results showed that upward and downward trend for Tmax–Tmin and P, respectively. Therefore, these indicators displayed the climate change effect on the study area. We confirmed, as in previous studies, that the study region vulnerable to increasing and decreasing trend in temperature and precipitation, respectively. Although decreasing (increasing) precipitation (temperature) amounts can be related to trend of NAO, our analysis showed that NAO effect was not found to influence precipitation patterns in this region. However, this situation is not valid for temperature pattern. It was found that approximately 29 % of annual temperature variance was influenced by the NAO forcing. Moreover, it was found that 30 (40)% of summer Tmax(Tmin) variance was influenced by NAO event. The impact of NAO on precipitation and temperature in this study are consistent with some previous study conducted in other regions in Middle East such as Saudi Arabia, Iran and Kuwait. For example, Hafez and Almazroui (2013) found that the surface air temperature was significant negative correlated with the NAO, while the relationship between the precipitation and NAO were a positive correlation over Saudi Arabia during the period 1979–2011. In addition, Almazroui (2012) revealed that the statistically significant negative correlations for temperature was prominent over Saudi Arabia during the winter and summer, while insignificant correlation during the autumn. In Iran region, Masih et al. (2011) provided that the relationship between NAO index and precipitation was very weak, while they indicated negative significant correlations for temperature in the western part of Iran. Marcella and Eltahir (2008) emphasized insignificant correlation between Kuwait rainfall and NAO on a monthly or yearly time scale. These studies are meaningful to approve the results of the present study. Since our study shows that NAO has no detectable influences on climate of this region, heat island, desertification and greenhouse effect on variables should be considered to explain the existing climate pattern variance.

Finally, the obtained results clarify and give an indication about the temporal and spatial behavior of precipitation and temperature over the regions. We should emphasize that the increase in population together with the decreasing in precipitation and increasing in temperature can produce the stress on limited water resources in Iraq.