1 Introduction

Increasing concentrations of atmospheric carbon-dioxide \((\hbox {CO}_{2})\) over the recent past has been singled out as the main cause of global warming (Shifteh Some’e et al. 2012; Stocker et al. 2013). The fifth assessment report (AR5) of the intergovernmental panel on climate change (IPCC) shows a close positive association between \(\hbox {CO}_{2}\) concentration and global temperature rise (Stocker et al. 2013). It is reported that the first decade of the 21st century has been the warmest ever, coinciding with the strongest El Niño in 100 years (Stocker et al. 2013; Hansen et al. 2016; Rahman and Lateh 2017). Also climate change projections have revealed a global temperature rise of about \(2{^{\circ }}\hbox {C}\) in the near future and \(4{-}6{^{\circ }}\hbox {C}\) in the long run (Pachauri and Reisinger 2007). These climatic changes could lead to a shift in meteorological variables such as rainfall and temperature (Yue and Hashino 2003; Costa and Soares 2009b; Hänsel et al. 2016). Besides, these anticipated changes are not uniformly spread globally, with different regions experiencing impacts at varying degrees. It is further projected that arid and semi-arid regions could experience higher than global average warming levels (Modarres and da Silva 2007; Khan et al. 2016). Hence, there is need to shift focus towards semi-arid locations where adaptation measures to these extreme weather conditions are a big challenge. Studies on long-term changes in rainfall and temperature are necessary for sustainable land and water resources planning and management especially under climate variability and change (Shahid 2010; Tabari and Talaee 2011). Therefore, for any meaningful study on climate variability and change, these meteorological variables may not be ignored. Of recent, interest has increased in investigating long-term trends in rainfall and temperature in quest of tracing the climate change signal (Menzel et al. 2006; Giorgi and Lionello 2008; Kenabatho et al. 2012).

Several studies have since been conducted globally and regionally to investigate climate variability by analyzing trends in rainfall and temperature time series. Such of these investigations have been conducted in semi-arid locations in Iran by Shifteh Some’e et al. (2012) and Tabari and Talaee (2011). Results from their studies indicate both increasing and decreasing trends in meteorological variables for a period of 1966–2006, with significant trends mainly observed during winter period. In Nigeria, Akinsanola and Ogunjobi (2015) reported decreasing trends in both annual and winter seasonal rainfall while using the Mann–Kendal (MK) test statistic. In Portugal, Costa and Soares (2009a) reported high rainfall variability by examining trends in aridity and standardized precipitation index (SPI). Their study found high climatic uncertainty in the south of the country. In Turkey, Partal and Kahya (2006) applied the MK test and Sen’s Slope estimator to study the direction and magnitude of trends in meteorological variables. Their study identified the months of January, February and September to be exhibiting decreasing trends especially in the south and west of Turkey for the period from 1929 to 1993. Climatic changes for a period of 1980–2010 were investigated in Serbia by Gocic and Trajkovic (2013) using the MK trend analysis and Sen’s Slope estimator. The results indicated increasing trends in both annual and seasonal temperature with no significant trends in rainfall.

Climate variability has also been closely linked with El Niño Southern Oscillation (ENSO) that is attributed to hydro-climatic extremes in form of droughts and floods. ENSO is the main source of climate variability in the Equatorial Pacific (Morán-Tejeda et al. 2016). This climate variability has tele-connections with the Indian and Atlantic Oceans (Nicholson et al. 2001; Nyenzi and Lefale 2006). Influences of ENSO on the local climate may not be ignored since a number of studies over southern Africa have reported its close association with rainfall patterns and onset of droughts (Nicholson et al. 2001; Usman and Reason 2004; Edossa et al. 2014). This study, thus proposes to investigate the association between ENSO and the local climate.

To investigate the temporal and spatial extent of climate variability and change, Botswana, which is located in the mid-latitudes and classified as semi-arid, is selected as a study area. Botswana’s economy is heavily dependent on the climatic regime since majority of her water resources are derived from rainfall stored in surface reservoirs (Statistics Botswana 2009). Also 80% of the dwellers in the study area are engaged in rain fed agriculture, which is heavily moderated by the local climate (Batisani 2012; Statistics Botswana 2015). It is therefore necessary to investigate climate variability and change in Botswana since any negative impacts may propagate to other sectors of the economy. Some attempts have been made to study climate variability and change in Botswana by Parida and Moalafhi (2008) and Batisani and Yarnal (2010), who both reported decreasing rainfall and increasing incidences of drought over the study area. However, these studies only analysed rainfall as the only precursor of climate variability and change. With reported global warming, temperature will require inclusion if any conclusive climate change studies are to be conducted. Besides, it is prudent to periodically monitor climate variability and change using location specific meteorological data in order to achieve sustainable management of water and agricultural resources since the climatic regime could change depending on prevailing circumstances. It is on these premises that this study investigates climate variability and change in Botswana. The variability will be studied by investigating homogeneity and trends in rainfall, minimum and maximum temperature from 14 synoptic stations spread across the study area. Also the study intends to determine the degree of association between local climatic variables and ENSO. The analysis is proposed to be conducted for both annual and seasonal scales.

Table 1 Station locations and length of meteorological variable record.

2 Data and methods

2.1 Data

Data used in this study comprises locally observed monthly rainfall, maximum and minimum temperature. The second dataset is from large-scale climatic predictors in the form of sea surface temperatures (SSTs) and southern oscillation index (SOI) elements of ENSO activities in the equatorial Pacific.

2.1.1 Local meteorological data

Local meteorological data recorded at 14 synoptic stations as shown in figure 2, was obtained from the Department of Meteorological Services (DMS) of Botswana. The records were of varying length with the longest record being 1960–2014 and the shortest spanning 2000–2014. Details of the stations, annual rainfall coefficient of variations (Cvs) and data record length are presented in table 1. Stations are selected based on the availability of complete data that include rainfall, maximum and minimum temperature with < 5% missing values.

2.1.2 Sea surface temperatures and southern oscillation index

Records of SSTs from El Niño in region 3.4 were obtained from the climatic prediction center of NOAA (NOAA-NCEP 2016). The data record length corresponded to the locally observed meteorological records. Similarly, data on SOI was obtained from the national climate data center of NOAA (NOAA-NCDC 2016). Climatic data analysis is done at annual and seasonal scales. Annual and seasonal averages were obtained from climatic data arranged at monthly scale for the case of temperature time series, while annual and seasonal totals are used for rainfall time series. Seasons considered in this study are summer (October–March) and winter (May–August).

2.2 Methods

For analysis of long-term climate variability over the study area, a number of statistical procedures are employed in this study. The steps of analysis involve: (i) applying four absolute tests for homogeneity in the time series; (ii) applying the Mann–Kendall (MK) trend analysis test and Sen’s Slope estimator; (iii) detection of persistence and testing its effect on the MK trend statistics, and (iv) assessing the influence of ENSO on local climatic variables.

2.2.1 Tests for homogeneity

Data used in long-term climatological studies are required to be homogeneous in that, they should belong to the same population with mean of no temporal variation (Akinsanola and Ogunjobi 2015). Data is considered homogeneous if any changes are only attributed to natural occurrences. Homogeneity testing in this study involves a number of stages. The first stage comprises data quality checks to identify recording errors both visual and graphical techniques. The second stage involves applying of absolute homogeneity testing techniques that include the Standard Normal Homogeneity Test (SNHT; Alexandersson 1986), Pettit test (Pettit 1979), Buishand range test (Buishand 1982) and the Von Neumann ratio test (Von Neumann 1941). Wijngaard et al. (2003), in a comprehensive study of European climate systems, recommended no discarding of stations with suspected inhomogeneities, but rather classify them. Absolute tests were selected over relative tests due to the somewhat sparse and skewed towards the east (figure 2) meteorological network across the study area. Stations are categorized as ‘useful’, ‘doubtful’, or ‘suspect’ following a classification suggested by Wijngaard et al. (2003) and Hänsel et al. (2016). This classification was applied at 1% level of statistical significance. A station is classified as ‘useful’ if it is homogeneous in at least three of the tests, ‘doubtful’ if homogeneity is reported for two tests and ‘suspect’ when station fails in three or more of the tests (Wijngaard et al. 2003; Costa and Soares 2009b; Hänsel et al. 2016). For further studies of variability and trend analysis, complete data record is used for the stations classified as ‘useful’. If a station is labeled ‘doubtful’, the whole data record is used, but trend in the data is further scrutinized by comparing with trends before and after the suspected year of intervention. For stations classified as ‘suspect’, the record before the suspected year of intervention was excluded from the analysis. The null hypothesis for the four absolute tests assumes that the time series are homogeneous. For the alternative hypothesis, the SNHT, Pettit and Buishand tests suppose an intervention in the time series. These tests are able to locate the year of intervention and its statistical significance. The Von Neumann test under the alternative hypothesis assumes persistence in the time series. Formulations of the four tests are presented below.

Standard normal homogeneity test (SNHT). The SNHT as presented by Alexandersson (1986) and (Alexandersson and Moberg 1997) gives a statistic that compares the means of the first m series with the last (\(n{-}m\)) series of meteorological variable at an annual scale. If \(W_{i}\) denotes meteorological time series for \(i=1, 2, 3,{\ldots },n\), then the test statistic is given by

$$\begin{aligned} T\left( m \right) =m\overline{y_1}^{2}+\left( {n-m} \right) \overline{y_2}^{2}\quad \hbox {for } m=1,2,\ldots ,n\nonumber \\ \end{aligned}$$
(1)

where

$$\begin{aligned} \overline{y_1} =\frac{1}{m}\sum \limits _{i=1}^m \frac{\left( {W_i -\overline{W}} \right) }{\sigma } \end{aligned}$$
(2)

and

$$\begin{aligned} \overline{y_2} =\frac{1}{\left( {n-m} \right) }\sum \limits _{i=m+1}^n \frac{\left( {W_i -\overline{W}} \right) }{\sigma }, \end{aligned}$$
(3)

\(\overline{W}\) and \(\sigma \) are the expected value and standard deviation of the time series, respectively. A plot of T(m) against m reaches its maximum at the suspected year of intervention. The test statistic at the suspected point is given by

$$\begin{aligned} T_0 =\underbrace{Max}_{1\le m\le n} T\left( m \right) . \end{aligned}$$
(4)

The null hypothesis is rejected, if \(T_{0}\) exceeds a given threshold, which is a function of the sample size at a given level of significance. A table of critical \(T_{0}\) values is presented in Wijngaard et al. (2003).

Pettit test. This is a non-parametric rank based test presented by Pettit (1979) and applied in Akinsanola and Ogunjobi (2015) and Wijngaard et al. (2003). It states that if \(r_{1}, r_{2} ,{\ldots },r_{n}\) are ranks of a given meteorological variable \(W_{i}\), then the order statistic is given by

$$\begin{aligned} X_m =2\sum \limits _{i=1}^m r_i -m\left( {n+1} \right) \quad \hbox {for }m=1,2,\ldots ,n \end{aligned}$$
(5)

If intervention is suspected to occur at year K, the plot of \(X_{m}\) against time will exhibit a minimum or maximum at \(m = K\) and

$$\begin{aligned} X_K =\underbrace{Max}_{1\le m\le n}\left| {X_m } \right| . \end{aligned}$$
(6)

The significant values of \(X_{K}\) are provided in tables as a function of sample size at a given significant level.

Buishand test. The Buishand test as presented by Buishand (1982) utilizes adjusted partial sums given by

$$\begin{aligned}&\displaystyle S_0^*=0&\nonumber \\ {}&\displaystyle \hbox { and }&\nonumber \\&\displaystyle S_m^*= \sum \nolimits _{i=1}^m \left( {W_i -\overline{W}} \right) \quad \hbox {for }m=1,2,\ldots ,n.\quad&\end{aligned}$$
(7)

The null hypothesis is accepted, if the plot of \(S_m^*\) against time fluctuates around \(S_0^*\). Gradual rise or fall in the plot is an indication of suspected point of intervention corresponding to a particular year M. The test of significance is achieved through rescaled range R given by

$$\begin{aligned} R=\left( {\frac{\underbrace{Max}_{1\le m\le n}S_m^*-\underbrace{Min}_{1\le m\le n}S_m^*}{\sigma }} \right) . \end{aligned}$$
(8)

The critical values of \(R/\sqrt{n}\) are given in Buishand (1982). If the computed \(R/\sqrt{n}\) is greater than the tabulated value, then the null hypothesis is rejected.

Von Neumann test. The Von Neumann test is a complementary test to the three preceding homogeneity tests characterized by ratios of successive mean square difference to the variance of the time series (Von Neumann 1941; Wijngaard et al. 2003). It is given by

$$\begin{aligned} N=\frac{\mathop \sum \nolimits _{i=1}^{n-1} \left( {W_i -W_{i+1} } \right) ^{2}}{\mathop \sum \nolimits _{i=1}^n \left( {W_i -\overline{W}} \right) ^{2}}. \end{aligned}$$
(9)

The test gives no information on the point of intervention even though it exists. Significant values of N are tabulated in Von Neumann (1941).

2.2.2 Trend analysis of meteorological time series

Following classification of meteorological stations as ‘useful’, ‘doubtful’, and ‘suspect’ in section 2.1.1, analysis of trend is made. This study applies two non-parametric statistics, the Mann–Kendall to determine the direction of the trend and Sen’s Slope for the magnitude of the trend. The Sen’s Slope is also used to determine the percentage change in the variable for the period of analysis.

Mann–Kendall (MK) trend statistic. The MK statistic as presented by Mann (1945) and Kendall (1975), applied in Tabari et al. (2011) and Akinsanola and Ogunjobi (2015) and is given by:

$$\begin{aligned} S{=}\sum \limits _i^{n-1}\! \sum \limits _{k=i+1}^n \hbox {Sgn}\left( {W_k {-}W_i } \right) \hbox { for }k>i \end{aligned}$$
(10)

where Sgn is the sign function given by

$$\begin{aligned} \hbox {Sgn}\left( {x_{j} -x_{i} } \right) =\left\{ {{\begin{array}{ll} +1 &{}\quad \hbox { if }\left( {W_k -W_i } \right) >0 \\ \phantom {+}0&{}\quad \hbox { if }\left( {W_k -W_i } \right) =0 \\ -1&{}\quad \hbox { if }\left( {W_k -W_i } \right) <0 \\ \end{array} }} \right. .\qquad \end{aligned}$$
(12)

The statistical significance of the trend is tested using the Z-statistic which is obtained from

$$\begin{aligned} Z_w =\left\{ {{\begin{array}{ll} \frac{S-1}{\sqrt{\mathrm{Var}\left( S \right) }}&{}\hbox { if}\, S>0 \\ 0&{} \hbox { if}\,S=0 \\ \frac{S+1}{\sqrt{\mathrm{Var}\left( S \right) }}&{}\hbox { if}\,S<0 \\ \end{array} }} \right. \end{aligned}$$
(13)

where \(\hbox {Var}(S)\) is the variance of the S statistic obtained from equation 10. The \(\hbox {Var}(S)\) is computed from

$$\begin{aligned}&\hbox {Var}\left( S \right) \nonumber \\ {}&\quad =\frac{n\left( {n-1} \right) \left( {2n+5} \right) -\mathop \sum \nolimits _{i=1}^q p_i \left( {p_i -1} \right) \left( {2p_i +5} \right) }{18} \end{aligned}$$
(14)

where q and \(p_{i}\) are the total number of tied groups and ties of extend i, respectively. Positive values of \(Z_{w}\) designate upward trends, while negative values otherwise. The null hypothesis assumes that no trend exists in the time series and the alternative hypothesis assumes trend exists. The significance of the trend is tested by comparing the resulting p-value with a significant value \(\alpha \). When the computed p-value is greater than \(\alpha \), the null hypothesis is accepted. For this study, \(\alpha = 0.05\) is used. The MK test has successfully been applied in a number of hydro-climatic studies (Shifteh Some’e et al. 2012; Gocic and Trajkovic 2013; Sabzevari et al. 2015).

Trend slope magnitude estimation. The Sen’s Slope method is used to test the magnitude of the MK trend. This method examines whether the regression slope between ordered pairs is significantly different from zero. The slope is estimated from the procedure proposed by Thiel (1950) and Sen (1968). The slope of N ordered pairs of data points is given by

$$\begin{aligned} Q_i =\frac{\left( {W_k -W_i } \right) }{k-i}\quad \hbox {for i}=1, 2,{\ldots }, N. \end{aligned}$$
(15)

The median slope of \(Q_{i}\) arranged in ascending order gives the Sen’s Slope and computed from

$$\begin{aligned} Q_{\mathrm{med}} =\left\{ {{\begin{array}{ll} Q_{\frac{\left( {N+1} \right) }{2}} ,&{}\quad \hbox {if }N\hbox { is odd} \\ \frac{Q_{\left( {\frac{N}{2}} \right) } +Q_{\frac{\left[ {N+2} \right] }{2}} }{2},&{}\quad \hbox {if }N\hbox { is even} \\ \end{array} }} \right. . \end{aligned}$$
(16)

For trend comparison among different meteorological locations, the percentage change in slope is preferred as proposed by Yue and Hashino (2003) and applied in Akinsanola and Ogunjobi (2015) is given by

$$\begin{aligned} \Delta S=\frac{Q_\mathrm{med} \times T}{\overline{W}}\times 100. \end{aligned}$$
(17)

For regionalization, the total change over the study area is obtained from

$$\begin{aligned} \Delta S_R =\frac{1}{b} \sum \limits _{i=1}^b \Delta S \end{aligned}$$
(18)

where \(\Delta S\) is the percentage change over a period of record T, b is the total number of stations over the study area and \(\Delta S_R \) is the regionalized change in a given meteorological variable.

2.2.3 Detection of persistence

Parametric trend tests of climatological data series require that it is serially independent and random in nature (Tabari et al. 2011; Gocic and Trajkovic 2013). An auto-correlation is applied to detect non-randomness in data. Presence of persistence in the time series increases chances of accepting the null hypothesis even when trend exists (Yue et al. 2002; Tabari and Talaee 2011). For meteorological time series that exhibits significant serial correlation at \(\alpha = 0.05\), the effective sample size (ESS) method suggested by Lettenmaier (1976) and used in Tabari and Talaee (2011) and Akinsanola and Ogunjobi (2015) to correct the influence of the serial correlation on the Mann–Kendall test is applied.

The auto-correlation lag-1 is used in this study, since the main interest is to examine the possibility of none randomness in the data series. Possibility of statistically significant correlations in sample data series \(W_1 +W_2 +W_3 +\cdots +W_n\) is tested using the following procedures as stated in Gocic and Trajkovic (2013)

  • The lag-1 serial correlation coefficient of sample data \(W_{i}\) is computed as applied in Croakin and Tobias (2006)

    $$\begin{aligned} r_1 =\frac{\frac{1}{n-1}\mathop \sum \nolimits _{i=1}^{n-1} \left( {W_i -\overline{W} } \right) \left( {W_{i+1}-\overline{W} } \right) }{\frac{1}{n}\mathop \sum \nolimits _{i=1}^n {\left( {W_i -\overline{W}} \right) }^{2}} \end{aligned}$$
    (19)
  • If the computed \(r_{1}\) in (i) above is not significant at \(\alpha \) = 0.05, the variance of the Mann–Kendall is used as earlier determined in equation (14).

  • Should the calculated \(r_{1}\) be significant at \(\alpha \) = 0.05, the variance of the Mann–Kendall statistic is modified using ESS.

The modified variance \(\hbox {Var}^*(s)\) is given by

$$\begin{aligned} \hbox {Var}^{*}\left( s \right) =\hbox {var}\left( s \right) .\frac{n}{n^{*}} \end{aligned}$$
(20)

where n is the actual sample size of the time series and \(n^*\) is the ESS. The ratio of \(n/n^*\) is the correction factor. Matalas and Langbein (1962) and Akinsanola and Ogunjobi (2015) proposed a formula to determine \(n^*\) for the lag-1 serial correlation

$$\begin{aligned} n^{*}=\frac{n}{1+2\left( \frac{r_1 ^{n+1}-nr_1 ^{2}+\left( {n-1} \right) r_1 }{n\left( {r_1 -1} \right) ^{2}}\right) } \end{aligned}$$
(21)

by replacing the \(\hbox {Var}^*(s)\) with \(\hbox {Var}(s)\) in the Mann–Kendall’s equation, a modified test statistic \(Z_{w}\) is computed by

$$\begin{aligned} Z_w^*=Z_w \sqrt{\frac{n^{*}}{n}}. \end{aligned}$$
(22)

The null hypothesis being tested is that, the sequence was produced in a random manner.

2.3 Influence of ENSO on local climatic variables

El Niño southern oscillation (ENSO) defines climatic patterns in the Equatorial Pacific. ENSO is comprised of two components: El Niño and La Niña. El Niño is associated with warm SSTs in the Equatorial Pacific that coincide with negative SOI, whereas La Niña is closely linked to cool SSTs and positive SOI (Rojas et al. 2014). The degree of association between ENSO and local climatic variables is investigated using multivariate analysis. Monthly SSTs and SOI data are averaged at annual and seasonal scales using the same criteria as that of meteorological variables. Correlations between SSTs and climatic variables on one hand and SOI, on the other hand, are performed.

Fig. 1
figure 1

p-values from four homogeneity tests on annual rainfall time series.

Table 2 P-values from four homogeneity tests and probable year of intervention for maximum temperature.

3 Results

Results from the four absolute homogeneity tests, trend analysis test, tests for persistence and influence of ENSO on local climate are presented in this section. The results are for both annual and seasonal (summer and winter) timescales.

Table 3 P-values from four homogeneity tests and probable year of intervention for minimum temperature.

3.1 Tests for homogeneity

3.1.1 Annual rainfall time series

Figure 1 presents homogeneity test results on annual rainfall totals. The p-values are compared with a value of \(\alpha = 0.01\). The results reveal that the p-values at all stations in the study area are above the significant value and hence homogeneous. They are all classified as ‘useful’ to be used for further trend and variability analysis.

3.1.2 Annual maximum temperature time series

P-values from homogeneity tests of maximum temperature series are presented in table 2. Results reveal that majority of the stations are homogeneous except for three stations that failed three out of the four tests and hence classified as ‘suspect’. These stations include Francistown, in the east; Maun in the north and Shakawe, in the northwest. At all the stations, the suspected year of intervention is 1980/81.

3.1.3 Annual minimum temperature time series

Results from tests of homogeneity in minimum temperature are presented in table 3. These results reveal that at 50% of the stations minimum temperature series are homogeneous. At SSKA, the minimum temperature series failed two tests and hence classified as ‘doubtful’. The change year reported at this station is 1986/87. Forty-three percent of the stations failed in at least three of the tests and are classified as suspect. These stations are Ghanzi with a change year of 1984/85, Kasane with a change at 1992/93 and Mahalapye at 1981/82. The Other stations are Maun at 1983/84, Tsabong at 1996/97 and Tshane at 1988/89.

3.2 Mann–Kendall (MK) trend analysis and percentage change

Trend statistics in annual, summer and winter trends for rainfall, maximum and minimum temperature are presented in tables 46. The period of trend analysis is indicated especially for stations classified as ‘doubtful’ or ‘suspect’, where all the data record length were not used in the analysis.

Table 4 MK trend and Sen’s Slope estimator results for rainfall.
Table 5 MK trend and Sen’s Slope estimator results for maximum temperature.
Table 6 MK trend and Sen’s Slope estimator results for minimum temperature.

3.2.1 Rainfall trends and percentage changes

Trends in annual rainfall. Results from the MK trends and Sen’s Slope estimator are presented in table 4. Both increasing and decreasing trends are experienced over the study area though none was significant at \(\alpha = 0.05\). Increasing trends are observed at Francistown, Ghanzi, Mahalapye, Sowa Pan and Tsabong. The highest percentage increase in rainfall during the study period was 23.6% at Francistown. No trend in annual rainfall is reported at Jwaneng. However 57% of the stations indicate decreasing trends though not significant. The highest decrease in rainfall of 33.5% is observed at Pandamatenga. The regionalized annual percentage change over the study area indicates a 5.8% decrease in rainfall. This indicates overall rainfall has decreased across the study area during the period of analysis.

Fig. 2
figure 2

Rainfall MK-Z trends (a) summer and (b) winter.

Summer rainfall trends. The summer rainfall exhibits the same trend direction as the annual rainfall with increasing trends reported at Francistown, Ghanzi, Mahalapye and Tsabong. The highest increase in seasonal rainfall of 23.1% is recorded at Francistown. 71.4% of the stations show decreasing rainfall trends though none is significant at \(\alpha = 0.05\). Selibe-Phikwe presented with the highest percentage increase of 35.9%. The study area generally experienced 7.4% decrease in summer rainfall during the period of study. Spatial distribution of summer rainfall in figure 2(a) indicates decreasing trends in the northern, central and southern locations with a north to south decreasing gradient. There is marginally increasing trends in the west at Ghanzi and southwest at Tshane. Increasing trends are also observed in the east at Francistown.

Winter rainfall trends. Winter rainfall also presents both increasing and decreasing trends. Increasing trends are reported at Kasane and SSKA, though none was significant. No trend is observed at Tshane during the period of analysis. Decreasing trends are reported in 78.6% of the stations over the study area with significantly decreasing trends at Letlhakane and Selibe-Phikwe. The percentage decrease at these locations was 59.9 and 96.6%, respectively. The regionalized decrease in winter rainfall over the study area is reported at 18.1%. Spatial representation in figure 2(b) indicates a general decrease in winter rainfall with progression from east to west. The highest decrease is concentrated in the central region around Letlhakane. The northeast at Kasane and south at SSKA, increasing trends are observed with no particular gradient to describe the patterns.

Fig. 3
figure 3

Maximum temperature MK-Z trends (a) annual and (b) summer.

3.2.2 Trends in maximum temperature and percentage changes

Results showing trends in annual, summer and winter periods are presented in table 5.

Trends in annual maximum temperature. Results from annual maximum temperature time series show decreasing trends at some locations such as Kasane, Letlhakane, Maun, Selebi-Phikwe and SSKA. None of the identified trends were significant with the highest percentage decrease of 2.5% recorded at Kasane. Sowa Pan recorded no trend in these temperature series. At 57% of the stations, increasing trends were recorded with significant trends at Mahalapye and a percentage increase of 3.8% is registered. Regionalized trends indicate that annual maximum temperature has increased by 0.3% over the period of analysis. Spatial analysis in figure 3(a) indicates that western locations progressing to southwest are experiencing warming trends. Cooling trends are observed in the northeast and south around SSKA. A northeast to southwest warming gradient is evident from the spatial patterns.

Trends in summer maximum temperature. This climatic variable shows both increasing and decreasing trends. Decreasing trends are observed in 57% of the stations, but only significant at Kasane with a percentage increase of 3.1%. There are no reported significantly increasing trends over the study area for summer season maximum temperature. The highest percentage increase recorded for summer maximum temperature is 3.7% at Mahalapye. Overall percentage change shows a reduction by 0.15% over the study period.

Fig. 4
figure 4

Minimum temperature MK-Z trends (a) summer and (b) winter.

Spatial presentation in figure 3(b) shows the northern and eastern locations present with warming trends. The northeastern locations around Kasane and Pandamatenga show decreasing trends in maximum temperature. The southern locations are generally present with marginal cooling trends. No particular gradient can be established from the spatial patterns which show isolated warming around Maun, Francistown and Mahalapye.

Winter maximum temperature. Decreasing trends in winter maximum temperature are reported at Kasane, SSKA and Tshane though none is significant. The highest percentage decrease of 3.3% is recorded at SSKA. 78.6% of the stations recorded generally increasing trends with significant trends registered at Ghanzi and Tsabong. The reported increase at these stations is 3.5% at Ghanzi and 5.0% at Tsabong. Overall regional trend indicates an increase of 1.5% in winter maximum temperature over the study period.

3.2.3 Trends in minimum temperature and percentage changes

Results from investigations of long-term trends in minimum temperature at annual and seasonal scales are presented in table 6.

Trends in annual minimum temperature. Similarly both increasing and decreasing trends are reported in minimum temperature time series at annual scale over the study area. Decreasing trends are observed at Jwaneng, Kasane, Mahalapye and Shakawe though none are significant. The highest decrease of 4.5% is recorded at Shakawe. 71.4% of the stations recorded increasing trends with significant trends registered at Ghanzi, Maun, Pandamatenga and Tsabong. The highest increase of 9.8% is recorded at Tsabong. Regionalized trend indicates an overall increase in annual minimum temperature of 1.7% across the study area during the period of analysis.

Trends in summer minimum temperature. Summer temperature showed only increasing trends across the study area at all the stations. Significant increase was recorded at Ghanzi, Maun, Pandamatenga and Tsabong. The trends follow similar patterns as those of annual minimum temperature. The highest recorded change in increasing minimum temperature was 7.7% at Tsabong in the southwest. The regionalized temperature change over the study area indicates increase of 2.7% during the period of analysis. Spatial representation in figure 4(a) shows increased warming at most locations with large parts in the north, west and east all presenting with warming trends. Marginal trends are observed in the south at SSKA and Jwaneng. A clear warming gradient from east to west is observed from the spatial distribution of summer minimum temperature trends.

Fig. 5
figure 5

Serial correlation effect on annual rainfall time series.

Fig. 6
figure 6

Serial correlation on effect annual (a) maximum and (b) minimum temperature series.

Trends in winter minimum temperature. Winter minimum temperature trends equally present with both increasing and decreasing trends. No significantly decreasing trends are registered over the study area. The highest change in decreasing trends is 9.7% registered at Kasane. 57% of the stations showed increasing trends in winter minimum temperature. Significantly increasing trends are registered at Ghanzi, Maun, Pandamatenga and Tsabong. The highest change in increasing trends was 43% at Tsabong. Regionally, the trends in minimum temperature are increasing with overall change of 6.5% during the period of analysis.

Spatial presentation in figure 4(b) indicates warming trends across the study area except for locations in the northeast and northwest at Kasane and Shakawe, respectively. Southern locations of SSKA, Jwaneng and Mahalapye are also showing tendencies of cooling trends. Central, east to west and southwest are showing increasing trends in winter minimum temperature. There are warming gradients observed at three fronts, a gradient is observed from southeast towards the west. Another gradient originates from the northeast, progresses southwards to the west. The final gradient originates from the north progressing southwest. Warming trends are generally concentrated in the west to southwest.

3.3 Detection of persistence in meteorological time series

The lag-1 serial correlation of for annual rainfall, maximum and minimum temperature are presented in this section. For the rainfall time series, all the lag-1 serial correlations were non-significant at \(\alpha {=} 0.05\). Positive serial correlations were obtained at Tsabong, Mahalapye, Selibe-Phikwe and Jwaneng. Stations with their lag-1 correlations are plotted in figure 5. Maximum temperatures recorded mainly positive correlations with the only negative correlation registered at Pandamatenga and Selibe-Phikwe. Stations presented with mostly none significant lag-1 serial correlations in maximum temperature accept at Shakawe as shown in figure 6(a). The minimum temperature recorded positive correlations at all stations except Pandamentanga. Most of the lag-1 correlations were significant at \(\alpha = 0.05\) except for Pandamatenga, Selibe-Phikwe, Jwaneng, Ghanzi and Sowa Pan. The distribution of these stations is shown in figure 6(b).

Fig. 7
figure 7

Proportions of stations with significant correlation between ENSO and local climatic variables.

3.4 Influence of ENSO on local climatic variables

Positive correlations resulted from the analysis of rainfall and southern oscillation index (SOI) at both annual and seasonal scales. Significant correlations at annual scale were recorded at 50% of the stations. During analysis of summer rainfall time series, 43% of the stations reported significant positive correlations. Winter rainfall registered weak correlations and none are significant.

Negative correlations were observed between rainfall and sea surface temperatures (SSTs) for annual and seasonal time series. Significant negative correlations for both annual and summer series are reported in 43% of the stations. Winter rainfall time series did not register any significant correlation with SOI in the study area. Correlations between maximum temperature and SOI in annual and seasonal time series were negative at all the stations used in this study. For annual series, significant negative correlations are recorded in 86% of the stations. The number of stations with significant correlations increased in summer to 93%. During the winter season, most stations did not record significant correlations except at Maun.

Fig. 8
figure 8

Maximum temperature normalized at Mahalapye and Nino 3.4 SST time series (a) annual and (b) summer.

Correlations between maximum temperature and SSTs returned positive correlations for both annual and seasonal series. Significant correlations are registered at 78.5% of the stations in annual series. From analysis of summer time series, the association is significant at all stations in the study area. Associations with winter maximum time series are not significant most of the time except at Kasane and Mahalapye. Correlations between minimum temperature and SOI over the study area reveal weakly negative associations at annual and winter time scales. The annual minimum temperature associations with SOI are significant at Francistown, Jwaneng and Mahalapye. Associations with winter minimum temperature are significant only at Tsabong. Summer correlations are also significant at 43% of the stations. Investigations of association between minimum temperature and SSTs reveal significant association at 36% of the stations at annual scale. During summer season, the number of stations with significant correlations increased to 64%. Winter season correlations are generally not significant except at Tsabong in southwest. Distribution of stations with significant correlations is presented in figure 7. To further illustrate the influence of ENSO on the local climate, relationships between maximum temperature anomalies and SST from Nino 3.4 are presented in figure 8. The relations are found to be strongest particularly during the years of 1972/73, 1982/83, 1997/98 and 2007/08 for both cases of annual and summer season time series.

4 Discussions

4.1 Tests for homogeneity

The four absolute homogeneity tests demonstrated their ability in detecting inconsistencies and breaks in meteorological time series. The results from these tests have enabled categorization of meteorological stations as ‘useful’, ‘doubtful’ and ‘suspect’. This is particularly helpful for future climatic studies over the region as station classified as suspect may be excluded from further trend analysis. Results indicated that rainfall time series are fully homogeneous. Similarly, 78.6% of the stations for maximum temperature and 50% for minimum temperature time series were found homogeneous. These results of homogenous rainfall series are consistent with findings of Wijngaard et al. (2003) and Hänsel et al. (2016), who indicated difficulties in identifying breaks in rainfall time series with high variability, which is the case for semi-arid climates (Modarres and da Silva 2007). It was easier to detect breaks in temperature time series due to their lower variability as compared to rainfall series. However, in the absence of metadata it was difficult to conclusively state if the reported interventions or lack of them are as a result of climatic changes or inhomogeneities in the time series. For the foregoing reason it was not possible to discard any station, but consciously examine the data before and after the suspected year of intervention. In those stations classified as ‘suspect’, only those series after the intervention were used in trend analysis.

El Niño years of 1986/87, 1991/92, 1997/98 and 2004/05 at the same time La Niña years of 1983/84 and 1984/85 were also identified as years of intervention in the temperature time series. This revelation may further strengthen the assertion that inter-annual variability over southern Africa is influenced by ENSO activities in the Equatorial Pacific that has been reported in Nicholson et al. (2001), Usman and Reason (2004) and Edossa et al. (2014). The rest of the intervention years are either immediately before or after a given El Niño or La Niña event.

4.2 Mann–Kendall trend analysis and percentage change

4.2.1 Trends in rainfall time series

From the results, it was evident that summer seasonal rainfall patterns were similar to annual series. This could be attributed to the fact that summer rainfall contributes more than 90% of the total annual rainfall received over the study area (Batisani and Yarnal 2010). Decreasing trends in annual and summer rainfall could pose a threat to Botswana’s water and agricultural resources. This is envisaged because most of the negative trends are reported in Shakawe, Maun and Kasane located in the Okavango basin, a Ramsar heritage site that moderates local climate (Byakatonda et al. 2016). The other locations SSKA, and Selibe-Phikwe lies in the Limpopo basin that hosts majority of surface dams that supply most of the water needs for both industrial and irrigation. Spatial trends in annual and summer rainfall indicate decreasing amounts from northeast at Kasane to central around Letlhakane progressing southward to SSKA. Winter rainfall patterns are unrelated with annual and summer rainfall with locations showing significantly decreasing trends at Letlhakane and Selibe-Phikwe. Winter rainfall may not be relied upon since it accounts for less than 10% of annual rainfall. Overall there is a decrease in rainfall amounts over the study area of 5.8, 7.4 and 18.1% during annual, summer and winter, respectively.

4.2.2 Trends in maximum temperature time series

Annual trends indicate that locations bordering Kalahari Desert such as Shakawe, Ghanzi, and Tsabong are experiencing warming trends. The northern locations of Maun, Kasane and Pandamatenga are showing cooling trends, which could favour agricultural activities in these locations due to reduced evapotranspiration rates. Mahalapye located in the Limpopo basin is experiencing warming trends which could increase evaporation rates from surface reservoirs.

Summer maximum temperature also indicates warming trends for the locations bordering the Kalahari Desert. The Okavango and Limpopo basins are still at threat with warming trends at Mahalapye. High evaporation rates during summer could be more severe since most of the moisture supply is available during this season.

Winter maximum temperature is exhibiting similar patterns during annual and summer season trends with western locations experiencing warming trends during the winter season. Overall there is a regionalized increase in annual and winter maximum temperature of 0.3 and 1.5%, respectively.

4.2.3 Trends in minimum temperature time series

Annual and winter minimum temperature patterns showed similar direction with the south and northern locations exhibiting decreasing trends. Locations near the Kalahari Desert progressing to central through to northeast at Pandamatenga are all experiencing warming trends. There is a generally warming climate over the study area with a change of 1.7 and 6.5% during annual and winter periods, respectively. Warming during winter may not pose much threat since there is little moisture to be evaporated.

During the summer season, majority of the study area becomes warmer with an east to west increasing gradient towards the Kalahari Desert. Summer being an important season in Botswana characterized by rains, reported warming may be an indicator that effects of global warming reported in Pachauri and Reisinger (2007) and Stocker et al. (2013) are already being felt in the study area.

Decreasing trends in rainfall and increasing temperature across the study area could be a sign of increasing aridity. It has been reported earlier that as the climate becomes drier, it is associated with high climate variability due to limited moisture supply and high evaporation rates (Modarres and da Silva 2007; Reza et al. 2011; Recha et al. 2012; Omoyo et al. 2015). Rainfall is already highly variable as indicated by coefficients of variation (CVs) of more than 25% across the study area. This could be an indication that Botswana’s climate is becoming more variable.

4.3 Detection of persistence

Rainfall time series, which were reported to be homogeneous, also appear to be independent. The maximum temperature series are also independent except at Shakawe. Minimum temperature shows a number of stations with significantly dependent time series. The distribution of the stations in the study area has no specific spatial pattern. Those stations whose series were found to be dependent, the effective sample size technique was applied to adjust the Z-statistic obtained from the MK trend analysis.

4.4 Influence of ENSO on local climatic variables

Significant positive correlations between rainfall and SOI and negative correlations between rainfall and SSTs demonstrate the association of local rainfall with ENSO events. Earlier studies by Kenabatho et al. (2012) had indicated negative correlations between rainfall and local temperature. Coupled with highly positive correlations between local temperature and SSTs, it is evident that ENSO events influence rainfall patterns over the study area. Winter correlations are relatively weaker than those at annual and summer scales, which could be pointing to the fact that ENSO has more influence on the local climate during summer season. Similar studies on the influences of ENSO on local climate in other semi-arid environments such as Iran reported similar order of magnitudes in correlations with opposite signs (Nazemosadat et al. 2006; Tabari and Talaee 2011). This could be attributed to the location of Iran in northern hemisphere as compared to Botswana.

Temperature time series presents with negative correlations with SOI and positive with SSTs, a similar association between SSTs and SOI. Correlations were higher with maximum temperature as compared to minimum temperature. This could imply that maximum temperature has more influence on local climate than minimum temperature. In this case maximum temperature can act as a potential indicator of ENSO impacts on local climate.

To further illustrate the close interaction between maximum temperature and ENSO signal, figure 8 indicates that relationship between SSTs and maximum temperature became stronger during El Niño years of 1972/73, 1982/83, 1997/98 and La Niña year of 2007/08. During the El Niño years, positive anomalies, which are responsible for droughts conditions over southern Africa are evident and during the La Niña years, negative anomalies are observed on the plot accounting for wet conditions over the region.

The ENSO phenomenon has been known to propagate climate variability due to uncertainties associated with these events (Kandji et al. 2006; Dai 2013; Morán-Tejeda et al. 2016). During El Niño events, rains in the southern Africa region dip to below long-term mean leading to severe and prolonged droughts (Nicholson et al. 2001; Usman and Reason 2004), whereas during the La Niña episodes, flood causing heavy rains that lead to destruction of infrastructure are recorded as above normal. These fluctuations resulting from anomalies in SSTs coupled with local feedbacks have increased climate variability and global aridity (Dai 2011a; Huang et al. 2016). With high correlations reported and close relationships observed during the period of study, this could be another pointer towards high variable climate across the study area. The local feedbacks are mainly linked with warming of the Indian Ocean in telecommunication with positive SST anomalies in the Equatorial Pacific, especially during austral summer (Nicholson et al. 2001; Jury 2002). It is during the summer season that more than 90% of the stations showed significant correlations with ENSO. The plots in figure 8 have demonstrated close relationships between ENSO and local climatic variables during years for which extreme events were recorded in the southern African region. One of such events is the severe El Niño drought of 1982/83 with SST anomalies raising above \(6{^{\circ }}\) that affected economies of regional member states (Dai 2011b; Jury 2013). Another event is the La Niña heavy rains of 1999/2000, which caused devastating floods in Mozambique with pests and disease outbreak in Botswana that resulted in 50% crop yield decline in that year (Kandji et al. 2006). This study has demonstrated that local climate is still influenced by the large climatic predictors associated with high climate variability.

5 Conclusions and summary

Climate variability and change in Botswana was investigated through annual and seasonal time series of rainfall, maximum and minimum temperature for a period 1960–2014. Four absolute homogeneity tests were used to check any possible inhomogeneities and interventions in the time series. The Mann–Kendall and Sen’s Slope estimator were used to detect trends and absolute changes over the period of study at 14 synoptic stations. The association of local climatic variables with ENSO was also investigated through multivariate correlation analysis. The following summary has been deduced from the study.

  • The rainfall time series are fully homogeneous across the study period at all the stations. 78.6% of the stations for maximum temperature and 50% of the stations for minimum temperature were homogeneous, classifying as ‘useful’. Due to absence of metadata, it was not possible to conclude if the presence of homogeneous time series or lack of them was as a result of inhomogeneities or normal climate regime shift. Most of the years of intervention identified also either coincided with El Niño/La Niña or closely followed and at times preceded ENSO episodes.

  • Trends in rainfall indicate a general decrease of 5.8, 7.4 and 18.1% during annual, summer and winter seasons over the study area, respectively. There is a regionalized warming trend of 0.3 and 1.5% in annual and winter maximum temperature, respectively. Minimum temperature also reported warming trends of 1.7 and 6.5% during annual and winter season in the study area. The decreasing trends in rainfall and warming trends across Botswana could lead to more climate variability.

  • The rainfall time series were completely random with only temperature series showing some persistence at some stations. Maximum temperature time series are found to be random except at Shakawe. 57% of the stations showed persistence tendencies in minimum temperature. The effective sample size technique was used to adjust the Z-statistic from the MK analysis for stations with persistence.

  • Significant positive correlations exist between rainfall and SOI, at the same time rainfall is negatively associated with SSTs. More significant positive associations are identified between SST and maximum temperature. The associations were particularly strong during the summer season with very close relationships established between local climatic variables and ENSO during El Niño years of 1972/73, 1982/83, 1997/98 and La Niña years of 2007/08. The significant correlations between local climate and ENSO could further be linking Botswana’s climate with high variability due to uncertainties that are associated with ENSO events.

    In general, the study reveals decreasing rainfall amounts and warming trends across the study area. The influence of ENSO on local climate has been established linking Botswana to high climate variability. Information generated by this study could be beneficial to agricultural and water resources planning and management especially in semi-arid environments, where adaptability to climate variability and change is still low.