Introduction

Climate change is a major environmental problem affecting all countries. In recent years, increased temperatures have caused changes in sea levels, destruction of ecosystems, shrinkage of mountain glaciers, reduction of ice cover1 and altered ocean circulation patterns2. Moreover, climatic variability is associated with the El Niño Southern Oscillation and natural disasters3.

Numerous studies have shown variations in climate and associated changes in temperature in Africa4,5,6,7. Africa lies in tropical and subtropical latitudes; the temperatures are considerably high throughout the year and vary from day to night. In more than a third of the continent, the annual temperature range is less than 6 °C. Temperatures are relatively constant from year to year except in the highest latitudes. A cold season arose at the poleward extremes of the north of the Sahara and areas of southern Africa6. The continent of Africa has been warmer than 100 years ago. Global warming was about 0.5 °C over the 20 century8.

Several studies have investigated the trends of temperature in Africa. During 1960 to 1990, on average the maximum temperatures increased by 0.11 °C per decade and 0.12 °C per decade for non-urban and urban stations, respectively9. The average surface minimum and maximum air temperatures of 71 stations from 1939 to 1992, over eastern Africa were varied, mostly for the stations close to a large water feature10.

The climates of Africa range from humid equatorial regions to seasonally arid tropical regions and subtropical. The climates have differing degrees of temporal variability, with regard to rainfall. Assessing and estimating the spatial and temporal variation in temperature is crucial for climate science and for designing environmental programs8. This study considers night time observations to reduce the scale mismatch issue between point ground measurements and the MODIS footprint. A series of satellite pixels of Africa can be used to provide the data of temperature changes of the region, both days and nights. During the night, the earth’s surface is quite homogeneous surface. During the day, surface temperatures under shadows are lower than surface temperatures in direct sunlight, the temperature differences of about 20 °C11. Therefore, with this view and importance, this study investigated the trends and patterns of night land surface temperatures over eight day periods from 2000–2014 in Africa using appropriate statistical methods.

Materials and Methods

Data management and study areas

The study area is between latitudes 35° north and south and longitudes 20° west to 50° east, covering the entire African continent. This study used Moderate Resolution Imaging Spectroradiometer (MODIS) data which observed by NASA’s satellite. MODIS measures climate variables such as land surface temperature on and above the Earth’s surface by decoding solar reflectance images viewed by an Earth-orbiting satellite.

The night time land surface temperatures were stored as integers. MODIS is used to capture pictures of the Earth overtime at the same location. It records satellite pixels for every eight days and provided them publicly between 2000 to 2014. These pixels can be converted into temperatures from their color index. The temperatures are divided by 50 to obtain degrees Kelvin12, and subtracting 273.15 to obtain the equivalent degrees Celsius. Zeroes relate to missing data due to insufficient measurement quality. This can occur when water vapor and/or cloud are in the line of sight. The data has 668 records corresponding to the days when the satellite recorded images for this region. The period between each such observation is slightly less than eight days because each year has 46 observations for the same region. The series of satellite pixels of Africa can be used to provide the data of temperature changes of the region. The night temperature data for 15 years were obtained from the website (http://daac.ornl.gov/cgi-bin/MODIS/GLBVIZ_1_Glb/modis_subset_order_global_ col5.pl) for 99 point locations of 5° by 5° latitude-longitude grid-boxes (81 square kilometers per point location) in Africa. Thus, there were 99 point locations for the analysis as shown in Figure 1.

Figure 1
figure 1

Map of the study area showing 99 locations of satellite image by NASA satellite (5 latitude by 5 longitude).

Statistical methods

The variation in temperatures for every eight day period was removed by subtracting the average temperature in each period and adding back the overall mean of the 99 locations. It takes the form:

$${y}_{ij}=({x}_{ij}-{\bar{x}}_{\cdot j})+{\bar{x}}_{\cdot \cdot },$$
(1)

where yij is the seasonally adjusted night land surface temperatures for every eight day period at year i for period j, xij is the night land surface temperatures for every eight day period at year i for period j, \({\bar{x}}_{\cdot j}\) is the average of period j over 15 years and \({\bar{x}}_{\cdot \cdot }\) is the overall mean.

A linear regression method13 is arguable one of the most widely used parametric test in trend detention in climate science. The application of linear regression in trend analysis includes sea surface temperature trends14 and rainfall trends15 was applied to the seasonally adjusted night surface temperature changes in an eight day period for each of the 99 locations in Africa. The model takes the form:

$${y}_{ijk}={m}_{k}+{a}_{ik}+{b}_{jk},$$
(2)

for i = 1, 2, 3,…, 15, j = 1, 2, 3,…, 46 and k = 1, 2, 3,…, 99 where yijk denotes the seasonally adjusted night surface temperature of the eight day period in the year i for period j and at location area k, mk is a constant for location area k, and the terms aik and bjk are estimated coefficients for year i and period j, respectively.

The night land surface temperatures in the 99 locations were grouped into regions to account for the correlation between adjoining regions using factor analysis16. Factor analysis is arguably one of the mostly used method to reduce a set of correlated variables into a smaller set of uncorrelated variables by combining variance in highly mutually correlated subgroups, preferably with minimal loss of information14,15. The model with p factors takes the form:

$${y}_{kj}={\mu }_{k}+\mathop{\sum }\limits_{p=1}^{m}{\lambda }_{kp}{\varphi }_{kp},$$
(3)

where k = 1, 2, 3,…, 99, j = 1, 2, 3,…,46 and p = 1, 2, 3,…, m and ykj is the average land surface temperature in an eight day period at location k for period j; µk is the average across 46 months for the location k; λkp is the factor loadings at kth location on pth factor; and, ϕkp is pth common factor for location k.

This information was expressed as the proportion of variance in the data accounted for by the factor analysis. A set of loadings gives measures of the extent to which each of the original variables correlates with each factor. The loadings (usually between −1 and 1) were controlled using Promax rotation, to make these loadings as close to 0 or 1 as possible. The loading factors of more than 0.33 were used as the criteria to classify regions in each factor17. A spline function is a piecewise cubic polynomial with continuous second derivatives, and is smoothest among all functions in the sense that it has minimal integrated squared second derivative. It is fitted using linear least squares regression. The end of every year is followed by the beginning of the next year and so the model is a smooth periodic function within the annual connection points for the whole 15 year period. The connection points are known as knots. The most appropriate model is a cubic spline with boundary conditions ensuring smooth periodicity. The formula for cubic spline function takes the form18,19:

$$S(t)=a+bt+\mathop{\sum }\limits_{r=1}^{q}{c}_{r}{(t-{t}_{r})}_{+}^{3},$$
(4)

where, S(t) is the spline function of the data, a, b and c are the constants. r is the locations of the knots starting from 1, q is the total number of knots, t denotes time, t1 < t2 < … < tq are specified knots and (tx)+ is tx for t > x and 0 otherwise. An advantage of the use of cubic spline function in modelling is its ability to handle a significant amount of missing data.

Graphical and statistical displays were created using R20.

Result and Discussion

The results of linear regression model provided temperature changes and their 95% confidence interval for 99 locations in Africa as displayed in Figure 2. Eighty-one locations showed a significant temperature increase, 12 locations show a significant decrease and 6 locations showed no change. The maximum increase in temperature was observed at latitude 15°N and longitude 10°E with an increment of 1.38 °C and the minimum increase was observed at latitude 10°S and longitude 15°E and also at latitude zero and longitude 30°E with an increment of 0.03 °C. The maximum decrease in temperature was found at latitude 15°S and longitude 15°E with the decrement of 0.76 °C, while the minimum decrease in temperature was found at latitude 20°S and longitude 30°E and also at latitude 15°S and longitude 25°E with a decrement of 0.03 °C, respectively. Assessment of the autocorrelation graphs did not show any significant serial correlation, which might revealed worse of fit of the models.

Figure 2
figure 2

Estimates and 95% confidence intervals for land surface temperature changes at night in Africa from 2000–2014.

The correlation between night temperatures at eight day intervals between pixels 1 km apart in the 99 locations ranged from 0.00004 to 0.89948. Factor analysis classified the temperatures into regions (factors) by considering the value of the factor loadings. Table 1 shows the factor loadings in ascending order within each factor and uniqueness value. Four factors were identified. Factor 1 consists of 26 locations, factor 2 consist of 22 locations, factor 3 consist of 17 locations and factor 4 consist of 16 locations. Seven locations (locations 38, 39, 43, 53, 56, 57 and 95) had mixed factors, while 18 locations were considered unique to others. Thus, region with uniqueness value above 0.78 and loading below 0.3 and negative loading were omitted from further analysis. Figure 3 displays a map of Africa and the four regions as identified by the factor model. The 99 locations are represented by the circles and coded from factor 1 to factor 4. Eleven locations are represented by an empty circle (darkest shade) representing high uniqueness regions and could not be classify into any region. This model accounted for 48.4% of the total variance in the night temperatures.

Table 1 Factor loading scores from factor analysis.
Figure 3
figure 3

Factor analysis classifying the 99 locations into 4 regions. Numbers in the circles represent the factor number.

After the 99 locations were categorized into larger regions using factor analysis, the time series plot was used to display the temperature pattern in the 4 factor regions. We found that most factors were not situated in the same region. For example, 25 locations representing factor 1 was found between latitudes 20°–35° north while only one location in factor 1 was found in latitudes 30° south. The same applies to factor 2 as well as 13 locations between latitudes 10°–30° north, one location in the equator and 8 locations between latitudes 10°–30° south.

All factors were displayed using time series plots as shown in Figure 4. Natural cubic spline functions were used to fit the temperature data in each factor. To fit the cubic spline to these data the knots were selected for the spline functions at seven times during each year for factors 1 and 2, and at three times per year for factors 3 and 4 (denoted by + symbols in the graphs). The plots of all factors display clear periodic variation patterns, with peaks at different months of the year. The pattern of temperature in factor 1 was similar to factor 2 and showed higher volatility, especially for factor 1 which had peaked in May and troughs in October in every year. Furthermore, factor 3 was similar to factor 4 and showed a lower variation of temperature, which might reflect climatic variation. In factor 1 and 2, 7 knots equally spaced in each year were found to be appropriate fit. However, in factor 3 and 4, 3 knots equally spaced in each year were found to be appropriate fit. The number of knots to fit the data could be dependent on the variation of the temperature. More variation of data will require the use of more knots for proper fit and less variation will require the use of fewer knots.

Figure 4
figure 4

Time series plots of night land surface temperatures for four regions in Africa. The + symbols represent cubic spline knots.

The findings of this study show evidence of temperature variation in the African continent from 2000 to 2014. Temperature changes in the north of Africa were higher than those in the south, These higher changes were mainly in the higher latitudes. This finding was consistent with previous studies21. Another study indicated that the northern part of Africa had night time warming in recent years10. Moreover, the land areas over the Sahara and semi-arid parts of southern Africa warmed by 1.6 °C up to 2050 s and the equatorial African countries warmed at a steady rate of about 1.4 °C per year22,23. The maximum temperatures over Zimbabwe for the period 1897 to 1993 showed a warming trend during all seasons24. The rising temperatures observed in the land areas over the Sahara, semi-arid parts of southern Africa and the equatorial African countries may be detrimental to the life of some crops. An increasing temperature may cause yield declines between 2.5% and 10% across a number of agronomic species throughout the 21st century25. Other investigations on the evaluations of temperature on crop yield have reported varying results, estimates of yield decline between 3.8% and 5%26.

Temperatures decreased was observed in southern Africa, parts of central Africa, and parts of eastern Africa. The trends of the drop in temperature were also consistent with a other studies10,24, the minimum temperatures over Zimbabwe for the period 1897 to 1993 had no trend or a slight decrease. South African maximum temperatures had decreased from 1940 to 198927. In our study eighteen locations in central Africa and eastern Africa had both increases and decreases in temperature. The temperatures in these locations are typical of equatorial regions and are influenced by a combination of the region’s high altitude and the rain shadow of the westerly monsoon winds.

Conclusions

Night land surface temperatures for every eight day periods data were studied from 2000 to 2014 for each of 99 locations of 5° by 5° latitude-longitude grid-boxes in Africa. Statistical methods comprising linear regression models, time series analysis, factor analysis, and cubic spline were used to investigate the features and classify temperature variability in this study. Analysis of night land surface temperatures for every eight day period found that the temperature increase in 81 locations, 12 locations showed decrease temperature and 6 locations showed no change. The temperature changes ranged from −0.76  °C to 1.38 °C. The maximum increase in temperature, approximately 1.38 °C, occurred in the desert area of the North of Africa. The minimum increase temperature, approximately 0.03 °C, occurred in the East of Africa. Factor analysis showed diverse patterns of temperature in the four factors. Natural cubic spline functions were fitted to display the variation pattern in each factor. Even though the observed 15 years temperature trends may not imply climate change, the observe trends and patterns is essential to various stakeholders particularly the agronomist in the planning of the various crop operations.

In this study, only night time observations were investigated in Africa which are considered a critical areas for global warming. Further studies could explore the daytime temperature. We have employed only temperature data without taking into account other factors affecting the variation of temperature. Consequently, different areas and the relationship between the temperature and the other climate factors should also be investigated. The study related land surface temperature changes to land use could also investigate. The techniques presented in this research can be extended to other studies such as rainfall, wind, and solar radiation.