1 Introduction

Trend changes in climate are the most important topic in climatic research of the last few decades and are still one of the main challenges nowadays. Moreover, large regions in the world are still poorly gauged due to accessibility difficulties, especially in the semiarid regions. Global warming, and therefore changes in annual precipitation, has attracted the attention of the researchers in different regions of the world. One of the most significant consequences of the identified global warming would be an increase or decreasing in the magnitude and frequency of annual precipitation (Croitoru et al. 2013; Santos and Morais 2013). Changes in annual precipitation have been identified in many studies conducted at local, regional or global scales (Gocic and Trajkovic 2013; Hamlaoui-Moulai et al. 2013; Silva et al. 2013).

The knowledge of the climatic behavior especially in semiarid regions is required to optimize the management of water resources. In this study, the climate variability is directly related to water resources that are of a high socioeconomic and environmental significance. To optimize the hydraulic constructions, one needs to know the climatic behavior of the concerned region the role of which is very important in the water resource management in short, medium and long term.

A comprehensive understanding of precipitation and its distribution in time and space is essential for the correct and cost-effective design of many engineering structures. Information on the distribution of rainfall is important in a variety of applications, such as design of rain gauge networks, hydrological forecasting and watershed modeling. Factors that affect rainfall distribution include wind speed and direction, air temperature, humidity, air pressure, elevation, slope, topographic barriers and orientation, continentality and the direction and frequency of jet streams (Celleri et al. 2007). In recent years, various studies have been done for detecting possible climate trends and changes across the world, analyzing changes in temperature, precipitation and runoff (Yunling and Yiping 2005; Zarghami et al. 2011; Tramblay et al. 2012; Yang et al. 2014).

The rainfall regime in Portugal is highly seasonal, being clearly Mediterranean with a rainy season in the autumn and winter (November–March) and an extremely dry summer. The river flows are also very irregular, with severe droughts contrasting with surprisingly high flood discharges. Such patterns are the least pronounced in the northwest and most pronounced in the southeast (Ramos and Reis 2002). More recently, some studies have put into evidence that besides the North Atlantic Oscillation, there are other large-scale climatic modes, namely the Scandinavian pattern and the eastern Atlantic pattern, that also contribute significantly to the Portugal and Spain rainfall regime (e.g., Comas-Bru and McDermott 2014; Kutiel and Trigo 2014). However, the climate variability has not been greatly investigated in southern Portugal. Furthermore, it should be noted that some of these patterns do not impinge the same impact on climate throughout long periods. In particular, the correlation between North Atlantic Oscillation and rainfall in western Portugal is not constant over time (e.g., Trigo et al. 2004; Vicente-Serrano and López-Moreno 2008). The modification of the natural hydrological regime of the Guadiana River in the last four decades has caused problems of water scarcity near the Portuguese–Spanish border. These changes are caused by a combination of the increase in water mobilization and the increase in the volume of water used for agriculture in Spain (Brandão and Rodrigues 2000).

Several works have dealt with changes in various aspects of the rainfall regime over Portugal and Spain, including average annual and monthly precipitation (de Lima et al. 2010, 2013). Moreover, a number of other publications focused in changes of daily extreme precipitation, either with predefined thresholds (e.g., Costa and Soares 2009) or using percentiles (e.g., Gallego et al. 2011).

The effects of climate change on river flow are complex and are presently receiving research scrutiny. In a comprehensive study of global river flow, Milly et al. (2005) project a 10–40 % increase in stream river flow in selected regions of Africa, South America and Eurasia by 2050. Model results from the same study predict a 10–30 % decrease in river flow in selected regions of Africa and the Middle East as a result of global climate change. Therefore, there is a prevailing notion that as climatic warming continues there will be an intensification of the hydrological cycle that can lead to more severe storms, floods and droughts (Rose 2009).

The Portuguese southern rivers have specific discharges 6–7 times lower than those of the northwest. The rivers of the south are mostly intermittent and show great irregularity: The flow in wetter years may be 100–240 times higher than that in the driest years. During the last decades, they suffer severe droughts that last about 6 months and very large flood peaks that are 200–300 times the average annual discharge (Ramos 1994). However, few studies in southern Portugal have analyzed the variability of precipitation and river flow for a period greater than 40 years. Thus, the purpose of this present study is to analyze the space–time rainfall and river flow variability in the Cobres River basin. Given the extreme variability noted in the southern portion of Portugal, this paper examines the space–time variability of rainfall and tendencies of river flow in the Cobres River basin, which drains for Guadiana river, the main water course of southern Portugal.

2 Materials and methods

2.1 Study area description

This study is carried for Cobres River basin situated in southern Portugal. The basin is semiarid, middle-sized with area of 1194 km2 and located in the Alentejo Province of southern Portugal (37°28′N–37°57′N, 8°10′W–7°51′W (Fig. 1), an area suffering from desertification (Bathurst et al. 1996). It is a region of relatively low relief, with the elevation varying from 103 to 308 m above sea level. The climate in this region is characteristically Mediterranean and Continental, with moderate winters and hot and dry summers, high daily temperature range, and a weak and irregular precipitation regime; mean annual precipitation of rain gauge stations in the region varies between 400 and 900 mm, with around 50–80 rainy days per year (Ramos and Reis 2002). The mean annual potential evapotranspiration (PET) is around 1300 mm. Figure 1 also shows the spatial distribution of soil types and stations in the study area.

Fig. 1
figure 1

Spatial distribution of soil types and stations in the study area

2.2 Space–time tendencies for rainfall and river flow

The nonparametric Mann–Kendall criterion, originally due to Mann (1945) and rephrased by Kendall (1975), was chosen to test randomness against trend because this procedure has the advantage of not assuming any special form for the data distribution function, while having a power nearly as high as their parametric competitors; for these reasons, it is highly recommended by the World Meteorological Organization (Mourato et al. 2010; Nalley et al. 2013).

Detection of trend is a complex subject because of characteristics of data, and the main idea of trend analysis is to detect whether values of data are increasing, decreasing or trendless over time (Kisi and Ay 2014). In this study, nonparametric tests have been applied for trend detection (Gocic and Trajkovic 2013). Parametric trend tests are more powerful than nonparametric ones, but they require data to be independent and normally distributed. On the other hand, nonparametric tests require only that the data are independent and can tolerate outliers in the data. In this study, daily data from eight rainfall and three river flow gauges for the period 1960–2000 (Table 1), obtained from the Sistema Nacional de Informação de Recursos Hídricos, available in http://www.snirh.pt, were used to study the seasonality and trends on an annual basis. The spatiotemporal trends of rainfall and river flow in the basin were analyzed by the normalized rainfall, Mann–Kendall (Mann 1945; Kendall 1975) and the Sen’s slope tests. Their efficiency and power were already demonstrated for similar applications (Hamlaoui-Moulai et al. 2013; Silva et al. 2013).

Table 1 Geographic characteristics of the rain gauges used in the study

2.3 Mann–Kendall test

The Mann–Kendall statistical test has been frequently used to quantify the significance of trends in hydrometeorological time series (Subash et al. 2011; Yue et al. 2002; Tabari and Marofi 2011; Duhan and Pandey 2013; Silva et al. 2013). The Mann–Kendall (Mann 1945; Kendall 1975) is calculated as:

$$S = \sum\limits_{i = 1}^{n - 1} {\sum\limits_{j = i + 1}^{n} {\text{sgn} \left( {x_{j} - x_{i} } \right)} }$$
(1)

where n is the number of data points, x i and x j are the data values in the time series i and j (j > i), respectively, and sgn(x j  − x i ) is the sign function as:

$${\text{sgn}}\left( {x_{j} - x_{i} } \right) = \left\{ {\begin{array}{*{20}l} { + 1} \hfill & {if\;x_{j} - x_{i} > 0} \hfill \\ 0 \hfill & {\;if\;x_{j} - x_{i} = 0} \hfill \\ { - 1} \hfill & {\;if\;x_{j} - x_{i} < 0} \hfill \\ \end{array} } \right.$$
(2)

The variance is computed as:

$$Var(S) = \frac{{n\left( {n - 1} \right)\left( {2n + 5} \right) - \sum\nolimits_{i = 1}^{P} {t_{i} \left( {t_{i} - 1} \right)\left( {2t_{i} + 5} \right)} }}{18}$$
(3)

where n is the number of data points, P is the number of tied groups, the summary sign (\(\sum\)) indicates the summation over all tied groups, and t i is the number of data values in the Pth group. If there are not the tied groups, this summary process can be ignored (Kisi and Ay 2014). A tied group is a set of sample data having the same value. In cases where the sample size n > 30, the standard normal test statistic Z S is computed using Eq. (4):

$$Z_{S} = \left\{ {\begin{array}{*{20}l} {\frac{{S - 1}}{{\sqrt {Var(S)} }},} \hfill & {\;if\;S > 0} \hfill \\ 0 \hfill & {if\;S = 0} \hfill \\ {\frac{{S + 1}}{{\sqrt {Var(S)} }},} \hfill & {if\;S < 0} \hfill \\ \end{array} } \right.$$
(4)

Positive values of Z S indicate increasing trends while negative Z S values show decreasing trends. Testing trends is done at the specific α significance level. When |Z S | > Z 1−α/2, the null hypothesis is rejected and a significant trend exists in the time series. Z 1−α/2 is obtained from the standard normal distribution table. In this study, significance levels α = 0.01 and α = 0.05 were used. At the 5 % significance level, the null hypothesis of no trend is rejected if |Z S | > 1.96 and rejected if |Z S | > 2.576 at the 1 % significance level.

2.4 Normalized rainfall

The normalized departure of any meteorological variable can be defined by (Junker et al. 2007):

$$N_{p} = \left( {X - \mu } \right)/\sigma$$
(5)

where N p is normalized variable, X is the value of the variable, μ is the mean monthly data of station and σ is the standard deviation for each station.

2.5 Sen’s slope estimator

Sen (1968) developed a nonparametric procedure for estimating the slope of trend in a sample of n pairs of data. The Sen’s method uses a linear model to estimate the slope of the trend, and the variance of the residuals should be constant in time calculated as:

$$Q_{i} = \frac{{X_{j} - X_{k} }}{j - K}\;for\;i = 1, \ldots ,n$$
(6)

where X j and X k are the data values at times j and k (j > k), respectively. If there is only one datum in each time period, then N = n(n  1)/2, where n is the number of time periods. If there are multiple observations in one or more time periods, then N < n(n − 1)/2. The n values of Q i are ranked from smallest to largest, and the median of slope or Sen’s slope estimator is computed as:

$$Q_{{\text{med}}} = \left\{ \begin{gathered} Q_{{\left[ {(n + 1)/2} \right]}} ,\quad \quad \quad \;\text{if}\;\text{n}\;\text{is}\;\text{odd} \hfill \\ \frac{{Q_{[n/2]} + Q_{[(n + 2)/2]} }}{2},\quad \text{if}\;\text{n}\;\text{is}\;\text{even} \hfill \\ \end{gathered} \right.$$
(7)

The Q med sign reflects data trend, while its value indicates the steepness of the trend. To determine whether the median slope is statistically different than zero, one should obtain the confidence interval of Q med at specific probability. The confidence interval about the time slope (Gilbert 1987) can be computed as follows:

$$C_{\alpha } = Z_{1 - \alpha /2} \sqrt {Var(S)}$$
(8)

where Var(S) is defined in Eq. (3) and Z 1−α/2 is obtained from the standard normal distribution table. In this study, the confidence interval was computed at two significance levels (α = 0.01 and α = 0.05). Then, M1 = (nC α )/2 and M2 = (n + C α )/2 are computed. The lower and upper limits of the confidence interval, Q min and Q max, are the M1th largest and the (M2 + 1)th largest of the n-ordered slope estimates (Gilbert 1987). The slope Q med is statistically different than zero if the two limits (Q min and Q max) have similar sign. Sen’s slope estimator has been widely used in hydrometeorological time series (El Nesr et al. 2010; Gocic and Trajkovic 2013).

These methods offer many advantages that have made them useful in analyzing atmospheric chemistry and climatological data. Missing values are allowed, and the data need not conform to any particular distribution.

3 Results and discussion

3.1 Rainfall trends

In this section, the results of the trend analysis using Mann–Kendall and Sen’s tests are presented. The rainfall data from eight rainfall stations are used, which had good quality datasets with reliable data and adequate record length. Figure 2 shows annual normalized rainfall for Cobres River basin between 1960 and 2000. It can be observed that only the annual normalized precipitation depth of 4 years (1963, 1969, 1989 and 1997) were above one; thus, those years are considered rainy for the region. The years 1973, 1980, 1981, 1982, 1994 and 1998 showed normalized precipitation depths below −1 and so can be classified as very dry years for the basin. The space–time rainfall variability obtained for Serpa, São Marcos da Ataboeira, Trindade and Aljustrel rain gauges was relatively high (i.e. relative standard deviations [(standard deviation/mean) × 100 %] were typically < 33 %). The results show modest temporal trends, but strong and coherent spatial trends in the rainfall data from Cobres River basin. In sum, the findings agree with work in other semiarid regions (Lazaro et al. 2001; Batisani and Yarnal 2010; Ramos and Durán 2014), which highlight intra- and interannual variability of rainfall. Although annual rainfall variations of about 100 mm would be considered low in some climate regions, such variations could mean the difference between a good harvest and complete crop failure in semiarid environments.

Fig. 2
figure 2

Annual normalized rainfall for Cobres River basin between 1960 and 2000

Figure 3 presents rainfall anomaly and mean annual rainfall for Cobres River basin between 1960 and 2000. The average annual rainfall within the study area is 549 mm, in which the highest value was 900 mm in 1989 and the lowest one was 338 mm in 1998. Observing the decades, separately, it appears that the smallest average rainfall depths occurred in 1960, 1963, 1989, 1996 and 1997, i.e., 750–900 mm. The large annual variability of precipitation observed in this study has been shown to be affected by a few large-scale patterns of atmospheric circulation variability particularly between 1960 and 2000 (e.g., Espírito Santo et al. 2013; Kutiel and Trigo 2014). These studies have pointed out the strong influence of the North Atlantic oscillation (NAO) upon the variability of precipitation in Portugal, especially as regards the winter rainfall, which dominates the precipitation regime of Portugal (e.g., Hurrell and van Loon 1997; Trigo and daCamara 2000; Trigo et al.2002, 2004; Fragoso and Gomes 2008). The present results show that rainfall has been not decreasing in the Cobres River basin, even showing high variability on annual bases. These results suggest that climate change is not affecting the decrease of rainfall, but only in variability spatiotemporal of rainfall in the basin.

Fig. 3
figure 3

Rainfall anomaly and mean annual rainfall for Cobres River basin between 1960 and 2000

Spatial distribution of weather stations with increasing, decreasing and no trends for the annual data series during the period 1960–2000 is presented in Fig. 4. The tests of Sen and Mann–Kendall were also applied to the data series of annual rainfalls of the eight selected stations. One rain gauge did not show any significant trend (São Marcos da Ataboeira). Only two rain gauges, Salvada in the northeastern zone and Almodovar in the southeastern zone of the studied domain, present a significant increasing trend at 5 % significance level (Fig. 4). These stations are located at isolated points within the basin. Thus, this result does not indicate any specific regional behavior. The test revealed that the other series present important positive or negative variations, indicating the alternating presence of very rainy and very dry periods. The intersection point between both curves (forward and backward) within the confidence interval indicates approximately the change point that corresponds to the break date.

Fig. 4
figure 4

Trends in annual total rainfall during 1960–2000 detected by the Mann–Kendall test

Figure 5 shows annual time series and trend statistics of annual total rainfall during 1960–2000. The results show that an abrupt change (decrease of rainfall) within the time series is mainly observed from the end of the 1980s up to the beginning of the 2000s. For five rain gauges, the beginning of the trend was detected between 1980 and 1995 so that two stations lead to a very significant decreasing trend between periods studied; the other ones appear to be stationary. The analysis shows that Castro Verde and Aljustrel were rain gauges with higher Q med ranged between −3.686 and −6.452, respectively.

Fig. 5
figure 5

Annual time series and trend statistics of annual total rainfall during 1960–2000

Table 2 shows the results of Sen’s slope estimator (Q med) and Mann–Kendall (Z s ) of the eight stations, with statistically significant (1, 5 and 10 % levels) increasing or decreasing trends according to the Mann–Kendall test in annual and seasonal precipitation series. According to these results by Sen’s slope estimator, the significant decreasing trend in annual precipitation series was detected at the Castro Verde, Serpa, Trindade, Aldeia dos Palheiros and Aljustrel rain gauges, while other stations had positive or no trends. For Mann–Kendall test, the significant increasing trend in annual precipitation series was detected at the Almodovar and Salvada, and no trend at the São Marcos da Ataboeira, while other stations had negative trends.

Table 2 Results of the statistical tests for seasonal and annual rainfall over the period 1960–2000

Figure 6a, b shows the spatial analysis of precipitation series on annual and seasonal basis for entire time period 1960–1980 (Fig. 6a) and after the change point 1980–2000 (Fig. 6b). Indeed, the results can deduce the existence of a rainfall deficit in the central and northwestern zones from the beginning of the 1960s and is accentuated during the 1960s and 1980s by its extension to the whole region (Fig. 6a). It is clear that over the considered region, there has been a slight decrease in rainfall, particularly after 1980s. After 1980s, the results show the existence of a rainfall deficit in the central and northeastern zones (Fig. 6b). Trends can be detected using Sen’s and Mann–Kendall’s tests. However, these tests cannot detect more than one break date. This represents the drawback of these tests while investigating rainfall time series which could have multiple increasing and decreasing trends and/or breaks, especially for long series. In addition, a limitation is due to the difficulty in interpreting the results at a regional scale, mainly when the number of used stations is not very large.

Fig. 6
figure 6

Spatial distribution of precipitation during a 1960–1980, and b from 1980 to 2000

As expected, spatially, the trends for the 40 years of the study period are even clearer than the temporal variation. The interpolated linear slopes for the annual rainfall from 1980 to 2000 indicated lowest values of rainfall in the basin when compared with prior period (1960–1980). Figure 7a, b presents the spatial distribution of Mann–Kendall test for period between 1960 and 2000 (Fig. 7a), and results of Sen’s slope test for period between 1960 and 2000 (Fig. 7b).

Fig. 7
figure 7

Spatial distribution of a Mann–Kendall test for period between 1960 and 2000, and b results of Sen’s slope test for period between 1960 and 2000

As shown, the significant decreasing trends in annual rainfall in the basin were detected from the period, with decreasing for the annual data series for rain gauges located in the central and northwestern parts of Cobres River basin. The results show a negative slope almost all over the entire study area. Only small regions in the north, central and south showed near-zero or positive slopes in booth statistic tests. The slopes decreased from west to east in basin, inferred that annual precipitation trends were decreased from western to eastern in basin. The rainfall had the significant decreasing trends in the northern part of basin. Since the precipitation patterns are critical for the economic activities in the study area, it would be important to perform spatial patterns for entire time period and after the change point. The decrease in slope after the change point is larger (which decreased up to −40 mm).

3.2 River flow trends

For better understanding of the river flow regime, the descriptive statistics of the annual river discharge time series at the selected stations were computed (Table 3). The analyses indicated that Pulo do Lobo and Monte da Ponte stations with the average annual river discharge of 2709.36 and 294.42 m3 had the highest annual water yields. In contrast, Entradas station had the lowest annual water yields. Moreover, the monthly river discharge time series of Pulo do Lobo and Entradas stations with coefficient of variations (CV) of 76.81 and 73.23 %, respectively, showed the highest temporal variability. The lowest CV of 59.37 % was found at Monte da Ponte station. The results of CV showed high annual variability of the river discharge at the stations over the study period, mainly in the Pulo do Lobo station with standard deviation and mean deviation equal 2053.94 and 1777.19 m3, respectively.

Table 3 Descriptive statistics of the annual river discharge series at the study stations

The magnitude of the values of Pulo do Lobo station is due to great area of drainage, having a large volume of river flow discharge and propitious to rainfall and river flow variability in the basin, because as rainfall is one of the key drivers of river flow, the decreasing flows may be largely due to decreased rainfall totals. According to Abghari et al. (2013), the observed increasing trend of air temperature in region might be another reason for the decreasing trends in river flow during low-flow periods, although temporal variations of discharge have been found to be much more strongly related to precipitation changes than to temperature changes (Espírito Santo et al. 2013). The increase of temperature affects the time of evaporation in the study area and advances the timing of evaporation causing increase in summer flows and subsequent decrease in spring and early winter flows. However, there are not so many stations that have centennial-long reliable daily records, particularly in Southern Europe (Kutiel and Trigo 2014), that can be used to study the spatiotemporal variability of precipitation and river flow. In many cases, when long records are available, they may suffer from inhomogeneity due to various reasons such as: (a) change in station location, (b) change of measuring devices and (c) change in the environmental conditions around the station due urbanization (Pingale et al. 2014). In other cases, they may be missing data for a certain period which may alter some of the analyses (WMO 2007).

Kahya and Kalayci (2004) found that the presence of trends in Turkish river flow patterns may be attributed to the observed decreases in rainfall and, to some extent, to increases in temperature. In addition to the climatic parameters, the perception of river flow change is driven by humans impacting the timing of flows through flow regulation and by the various diversions and net consumption (i.e., more irrigation water consumptions by the farmers) that can alter the recorded flow patterns over time (Hu et al. 2011). However, the temporal behavior of the rainfall (inter- and intra-annual) is usually more variable than those of other meteorological parameters (such as temperature or pressure), and therefore, longer records are required to present accurately the rainfall regime in a certain location. Furthermore, it is much more difficult to detect any long-term changes in the rainfall regime as compared, for example, to changes in the air temperature regime (Kutiel and Trigo 2014).

The Mann–Kendall test and Sen’s slope estimator were applied to the time series for the three river flow gauges. Among the stations, neither of them had significant serial correlation. The time series with significant serial correlation at the significance level of 0.05 are subjected to prewhitening procedure before applying the trend tests. The results of the trend tests on the annual river discharge series are (a) Entradas = 1.37, (b) Monte da Ponte = −0.09 and (c) Pulo do Lobo = −1.07. Trends are considered statistically significant at the 0.05 level when identified by the two statistical methods, viz. Mann–Kendall and Sen. As the results indicate, all of the annual discharge series were characterized with a negative trend, except for Entradas station, suggesting a possible future water resource scarcity.

Annual river discharge variation at Entradas, Monte da Ponte and Pulo do Lobo stations during the last 40 years is plotted in Figs. 8, 9, 10, which show the decreasing tendency of annual river discharge at the Monte da Ponte (Z S  = −0.09) and Pulo do Lobo (Z S  = −1.07) stations, and increasing tendency of annual river discharge at the Entradas station (Z S  = 1.37). As shown, annual mean river flow at Monte da Ponte station declined by 18.9 % from 420 m3 in 1958 to 341 m3 in 1990. At Pulo do Lobo station, annual flow declined by 46.6 % from 8127 m3 in 1946 to 4344 m3 in 2000. Elevations of basin and relief around are by far the most important geological control upon rainfall, and, consequently, of river flow within the region.

Fig. 8
figure 8

Annual average river flow for Pulo do Lobo between 1960 and 1989

Fig. 9
figure 9

Annual average river flow for Monte da Ponte between 1960 and 1988

Fig. 10
figure 10

Annual average river flow for Entradas between 1972 and 1990

The standard deviation values for annual river flow varied between 60 and 80 % within the study area and were greater than twice the standard deviation value of rainfall. The important implication for water resource management in the Cobres River basin is that a relatively great amount of variation with respect to river flow results from a much larger relative variation with respect to rainfall. As the results indicate, all of the annual discharge series were characterized with a negative trend, except at Entradas station, suggesting again a possible future water resource scarcity in the downstream of the basin.

The results of these trend analyses clearly indicate that although there have been persistent oscillations from normal rainfall and river flow within the basin, there has been no consistently negative long-term temporal trends. The results of similar Mann–Kendall tests also indicate that there is a statistically significant trend with respect to successive 40-year sets of rainfall variance and time within the study area. There has been ample variation on the mean values in the river flow. In short, these results indicate that annual mean river flow in the Cobres River basin have become more variable in recent decades. Both rainfall and river flow vary greatly from year to year within the basin and it is not uncommon for rainfall to be well above average 1 year followed by a well below average rainfall and river flow year.

4 Conclusions

A regional approach was used for this study for the purpose of better discriminating spatial and temporal trends. This paper presents trends computed for the 40-year period of annual river discharge and monthly rainfall obtained from 11 stations (eight rain gauges and three river flow stations) in the southern Portugal. Two nonparametric trend tests, viz. Sen and Mann–Kendall, were used for the trend analysis. Statistically significant downward trends in annual river discharge were found at Monte da Ponte and Pulo do Lobo stations. Cobres River basin is a large basin located in southeastern Portugal with specific characteristics.

These results can be used for the design of rain gauge networks, hydrological forecasting and for other applications in the Cobres River basin. The average annual rainfall within this study area is 548.56 mm, and the average river flow is 1011 m3. The results showed that the rainfall/river flow varied widely temporally and spatially. Rainfall is highly temporally variable, and there is a decrease in the annual rainfall amount for the period studied.

In general, the results of using Mann–Kendall and Sen’s slope estimator statistical tests pointed out the agreement of performance which exists in the detection of the trend for the meteorological variables. The use of these methods allowed us to evidence regions with coherent precipitation variability and to show that the investigated area is under the influence of rainfall: A central zone that is always affected by the rainfall deficit. The nonparametric statistical tests applied to series of annual rainfall reveal a decreasing trend in most of the investigated stations. This is in good agreement with the results obtained in many trend analysis studies.