1 Introduction

Climate changes and variability pose numerous hazards to socio-economic activities in East Africa [1]. According to the [2], the main drivers of climate change and Global Warming (GW) are anthropogenic activity and natural processes. The interplay between components of climate systems is complex [3]. Therefore, accurately measuring and projecting climate trends using General Circulation Models (GCMs), Regional Climate Models (RCMs), or downscaled products is crucial for the scientific community [4]. The temporal and spatial fluctuations in daily rainfall attributes across East Africa are influenced by the complex terrain, as well as local and global factors [5, 6]. Multiple studies conducted in the region have shown that the March–April–May (MAM) and June-July–August-September (JJAS) seasons are inadequately simulated by the majority of GCMs and RCMs, compared to the October–November–December (OND) season. The frequency and intensity of droughts in the twentieth and twenty-first centuries have been exacerbated by year-to-year fluctuations in rainfall [7,8,9,10]. Furthermore, these droughts have been intensified by delayed onset of the rainy season, which ends earlier than usual and lasts for a shorter period of time time [11].

Climate change is projected to intensify the frequency of as well as wet and dry spells. This can lead to a decrease in agricultural yields due to water-related stress [12, 13]. Wet and dry days, as well as wet and dry spells, refer to consecutive days with or without rain, with a threshold of 1 mm. These periods can last from a few weeks to several months, and if they continue for a long time, they can result in meteorological droughts or floods, which can have significant impacts on agriculture, water supply, and the environment [14]. The timing and duration of rainy days and dry spells are crucial for rain-fed agriculture and food security security [15]. These changes are caused by more intense daily rainfall and a decrease in the number of days with rainfall [16]. As a result of water scarcity caused by these changes, food production and availability are reduced reduced [17]. Intense rainfall events also affect the hydrological cycle by increasing runoff and soil saturation [17].

Climate models, such as the Coupled Model Intercomparison Project, Phase 5 (CMIP5) [18] and CMIP6 [19], provide insights into the historical and future characteristics of wet and dry days and spells. Studies utilizing these models have revealed variations in wet and dry signals across different regions in the tropics [20]. For example [21], found a decline in consecutive wet days in CMIP5 over the Greater Horn of Africa at global warming levels of 1.5 °C and 2 °C, while [22] reported an increase in the number of dry days and a decrease in the number of wet days over East Africa [20]. Also indicated that fewer rainy days and longer dry periods based on CMIP5 and CMIP6 simulations could expand arid climatic zones. CMIP6 is also used to investigate extreme events such as extreme precipitation events [23] and prolonged droughts, as well as assess the impact of these extremes on various sectors [24]. Model evaluation within CMIP6 involves comparing different climate models to understand variability and uncertainty, as well as identifying strengths and weaknesses in simulating wet and dry spells [25, 26]. Additionally, certain CMIP6 models are used to investigate atmospheric and oceanic conditions that influence wet and dry spells, as well as the role of large-scale climate phenomena such as El Niño-Southern Oscillation (ENSO)) [27]. Many CMIP6 models project an increase in the frequency and intensity of both wet and dry spells due to climate change [28]. However, changes in wet and dry spells vary greatly by region, with some areas experiencing more significant changes than others [29, 30]. The variability among CMIP6 simulations and projections is considerable, highlighting the importance of using multiple models to understand the range of possible outcomes [31].

Although several studies have used CMIP6 simulations and projections to examine current and future climate trends in East Africa, there is a knowledge gap regarding the projected number of wet days, wet spells, dry days and dry spells. Most research in the region has focused on extreme events, using indices established by the Expert Team on Climate Change Detection Indices (ETCCDI), which are widely used in the region and other areas. Notable studies on extreme events in East Africa include [32] and [20], which focus on the characteristics of wet and dry seasons. Additionally [10], study rainfall variability, [33] examine drought patterns [6], investigate the rainfall annual cycle, and [22] compare earlier CMIPs products with CMIP6. All these studies have shown changes and variability in the patterns of extreme rainfall events in the CMIP5 and CMIP6 over the East Africa region.

Most of the studies mentioned above focused on total rainfall, wet and dry spells on an annual basis. However, to our knowledge, no study has described the projected changes in annual and seasonal rainfall totals, rainfall intensity, wet/dry days, and wet/dry spells over the IGAD region. The present study aims to fill this gap by analyzing the latest dataset from CMIP6 model simulations and projections over the IGAD region. Furthermore, to the best of our knowledge, no study has analyzed the CMIP6 datasets to examine the percentage of change (%) in annual and seasonal rainfall totals, rainfall intensity, wet/dry days, and wet/dry spells over the IGAD region in the twenty-first century using the Shared Socio-Economic Pathways (SSP1–2.6, SSP2–4.5, and SSP5–8.5). This information will be vital for decision-makers and policymakers in promoting sustainable regional development through effective adaptation and mitigation approaches that enhance the resilience of communities and key socioeconomic sectors in the IGAD region. The paper is organized as follows: Sect. 2 provides comprehensive information on the datasets and methodologies used, Sect. 3 presents the analysis findings, Sect. 4 offers a detailed discussion of the results, and Sect. 5 focuses on the summary and conclusion.

2 Data and methods

2.1 Data

2.1.1 CMIP6 historical simulations and projection

This study used daily CMIP6 historical simulations and future projection scenarios for precipitation (referred to as rainfall in this study) from 1981 to 2014 for temporal analysis (timeseries), and 1985–2014 used as baseline and 2015–2100 (future scenarios), which divided into near future (2021–205) and far future (2071–2100). The projected shifts in wet/dry days and wet/dry spells were assessed using the Shared Socio-Economic Pathways (SSP) under SSP1-2.6, SSP2-4.5 and SSP5-8.5 as low, medium and business as usual emission scenarios. The SSP1-2.6 scenario represents a gradual transition towards global sustainability. The SSP2-2.5 scenario, on the other hand, does not include significant changes compared to the baseline period. Lastly, the SSP5-8.5 scenario assumes no significant climate change legislation, with everything operating as normal. The data utilized in this study were acquired from the CMIP6 website (https://esgf-node.llnl.gov/search/cmip6/). We specifically used the first member realization outputs (r1i1p1f1) from a variety of models in CMIP6 to ensure inter-comparison and consistency. The datasets used in this study include 23 models as well as Multi-Model Ensemble (MME or EnsMean) data from the top 10 CMIP6 models that performed the best. These models were selected based on their performance over the IGAD region of eastern Africa [34]. The full list of 23 CMIP6, validation processes, institution, country, and geographic resolution associated with each model found in study by [35]. The list of 10 CMIP6 models that performed the best and used in computing MME or EnsMean and patterns of projected changes in wet/dry days, wet/dry spells presented in Table 1.

Table 1 List of the top ten CMIP6 performances over the IGAD region that were used to calculate the Multi-Model Ensemble (EnsMean), together with the names, institutions, and spatial resolutions of the models

2.1.2 CHIRPS v2.0 datasets

The Climate Hazards Group (CHG) Infrared Precipitation with in-situ station (CHIRPS v2.0) [36] daily records from 1981 to 2014 for temporal analysis (timeseries), and 30 year period (1985–2014) used as baseline recommended by the World Meteorological Organization (WMO). CHIRPS v2.0 was chosen as the reference data because it outperformed other Satellite-based rainfall estimates (SRE) datasets in the IGAD region, as demonstrated by studies conducted by [37,38,39,40], and [41]. The CHIRPS product was developed with a spatial resolution of 0.05°, providing data at daily, pentadal, dekadal, and monthly time intervals. The data is freely accessible from the University of California at Santa Barbara (UCSB) portal for the historical and present (1981 to the present). The data has been validated and used by other researchers in the region in previous studies [37, 41,42,43]. To address the issues related to the resolution discrepancies between the CMIP6 models and CHIRPS, a total of 23 models and CHIRPS datasets were adjusted by scaling down their resolutions to a uniform ten-kilometer (0.1 deg) scale customized for IGAD region (Fig. 1). This rescaling process was carried out using the remapbil interpolation technique, uses bilinear interpolation for remapping (transforming) images or pixels [44]. Noting that remapbil interpolation has limitations compared to remapcon interpolation when used for conservative variables, such as precipitation. Remapcon interpolation works well for non-conservative variables, like temperature [68].

Fig. 1
figure 1

Topographic map showing the altitude variations within the IGAD region of Eastern Africa. The sky-blue areas that have the potential to be used for agricultural purposes used in temporal analysis. The digital elevation model (DEM) datasets were retrieved from shuttle radar topography Mission (SRTM) 90 m spatial resolution http://dds.cr.usgs.gov/srtm/

2.2 Methods

2.2.1 Criterion and threshold for rainfall intensity, wet days and dry spells

This study examined projected changes in wet/dry days and wet/dry spells using well-defined criteria and thresholds. The daily rainfall measurement of 1 mm, which used by [45] for dry days adopted as the threshold to identify wet or dry days. The term "number of wet days" typically refers to the count of days with at least a 1 mm threshold (above1mm), while the term "number of dry days" refers to the count of days without at least 1 mm (below1mm). The term "number of wet spells" refers to the count of distinct periods with 7 consecutive days with at least 1 mm, while the term "number of dry spells" refers to the count of distinct periods without 7 consecutive days with at least 1 mm. The 7 consecutive days with rain (without rain) is the threshold for wet spells (dry spells). In other words, the consecutive 7, 14, 21, and 28 days translated to 1, 2, 3, and 4 spells, respectively. An increase or decrease in wet days does not necessarily lead to an increase or decrease in dry spells, and an increase or decrease in dry spells is not necessarily associated with an increase or decrease in wet spells. Therefore, this study focuses on patterns of wet days, wet spells, dry days, and dry spells instead of just wet days and dry days or wet spells and dry spells. In addition, while 1 mm threshold used to compute rainfall intensity. The adoption of the 1 mm threshold is supported by the recommendation of the Expert Team on Climate Change Detection and Indices (ETCCDI) [46] for assessing extreme rainfall events. Several studies worldwide have also used the 1 mm threshold for various purposes, such as computing wet days and dry spells in Equatorial Eastern Africa [47], determining drought and flood thresholds [48], analyzing day days [49], simulating and projecting wet and dry spells in models [20, 50, 51], and studying onset and cessation[11]. These criteria and thresholds are particularly suitable for ensuring reliable and accurate food crop production, as food crops are crucial for food availability and security. The annual number of possible wet/dry days is 365/366 days (52 spells), while the seasonal number ranges from 90 to 91 days (13 spells) for DJF to 92 days (13 spells) for MAM and OND, and 122 days (17 spells) for JJAS season.

2.2.2 Statistical methods for wet/dry days and wet/dry spells

The simple arithmetic mean (SAM) and summation is used to calculate the Multi-model Mean Ensemble (MME or EnsMean), and total rainfall. SAM is utilized to minimize the model uncertainties [52] and to overestimate/underestimate observed climate patterns. Several studies have employed this method to compute the MME of model simulations [53, 54]. The SAM time series is derived from an ensemble of the top 10 best-performing CMIP6 historical simulations. In this study, SAM is generated by simply averaging the top ten best-performing CMIP6 GCMs historical simulations using Eq. 1. Due to inconsistencies in the CMIPs model, the patterns of changes in wet/dry days and wet/dry spells were computed separately for each of the 10 models before taking the ensemble, in order to avoid or reduce inconsistencies in the CMIP6. The full list of 23 CMIP6 institutions, countries, and geographic resolutions associated with each model, as well as the validation processes, and how the 10 best performance models used in this study were selected, can be found in the study by Omay et al. [36].

$$ {\varvec{SAM}}^{ - } = \user2{ }\frac{1}{{\varvec{N}}}\user2{ }\mathop \sum \limits_{{{\varvec{i}} = 1}}^{{\varvec{n}}} {\varvec{CMIP}}6_{{\varvec{i}}} \user2{ } $$
(1)

N is the total number of CMIP6 GCMs used in historical simulations, with n representing the 10 models listed in Table 1 above. The complete validation results and statistical indices used to select these 10 models can be found in[34]. Additionally, the SAM was utilized to compute the spatial mean patterns of wet and dry days, as well as wet and dry periods, for the near future (2021–2050) and the far future (2071–2100), in comparison to the reference period of 1985–2014 (baseline). The near and far future spatial means of wet and dry days, wet and dry spells, under SSP1-2.6, SSP2-4.5, and SSP5-8.5, were then subtracted from the baseline, as described in Eq. 2 below. This process provides a comprehensive understanding of the future changes relative to the baseline period.

$$ \user2{ }\nabla \overline{X} = \user2{ }\frac{1}{{\varvec{N}}}\user2{ }\left( {\mathop \sum \limits_{{{\varvec{j}} = 1}}^{{\varvec{n}}} {\varvec{X}}_{{\varvec{j}}} \user2{ }} \right) - \frac{1}{{\varvec{N}}}\left( {\mathop \sum \limits_{{{\varvec{i}} = 1}}^{{\varvec{n}}} {\varvec{X}}_{{\varvec{i}}} } \right)\user2{ } $$
(2)

where, (\({{\varvec{X}}}_{{\varvec{j}}}\)) represents the near future (2021–2050) and far future (2051–2080), and (\({{\varvec{X}}}_{{\varvec{i}}}\)) represents the baseline period (1981–2000) for wet/dry days and wet/dry spells. The magnitude of change in percentage (%) is then determined using Equation 3.

$$ {\mathbf{Rate}} {\mathbf{of}} {\mathbf{change}}\left( {\nabla {\mathbf{X}}\% } \right) = \left( {\frac{{\nabla {\mathbf{X}}}}{{{\varvec{X}}_{{\varvec{i}}} }}} \right)\user2{*}100 $$
(3)

The time series analysis (temporal analysis) of wet and dry days, as well as wet and dry spells, was computed for the El Gadaref state of Sudan, the Upper Nile state of South Sudan, the Arsi zone of Ethiopia, the Trans Nzoia County of Kenya, and the Arua district of Uganda. These sub-regions were selected based on their potential as the top five food baskets in the IGAD region. The extracted time series were used to illustrate the yearly cycle of wet days, demonstrating the level of agreement between the reference data (CHIRPS) and CMIP6 models. Boxplots, also known as box-and-whisker plots, were used to evaluate the fluctuations and differences in wet and dry days, as well as wet and dry spell patterns, under low and high emission scenarios (specifically SSP1-2.4 and SSP5-8.5). Python, Climate Data Operators (CDO), Climate Data Tool (CDT) [55], and ArcGIS 10.4 were the tools employed for displaying spatial and temporal patterns.

3 Results and discussions

3.1 Wet days and dry spells over the reference period (1985–2014)

Figures 2 and 3 show the average number of wet days and dry spells across the IGAD region during the reference period (1985–2014). These results are based on historical simulations of each of the 23 CMIP6 models. The figures include the ensemble mean (EnsMean) of these 23 models, as well as the ensemble mean of the top 10 performing models. The findings indicate that the highest number of wet days was simulated in various regions, including South Sudan, central, western, and northern Ethiopia, as well as central and northern Uganda. With the exception of CNRM-CM6-1-HR, all the other CMIP6 models analyzed in this study tended to overestimate the number of rainy days at the 1 mm threshold. During the JJAS period, models such as ACCESS-ESM1-5, CanESM5, INM-CM5-0, IPSL-CM6A-LR, MIROC6, and NorESM2-MM simulated between 110 and 122 wet days in the highlands of western Ethiopia, out of a total of 122 possible wet days, while the highest number of wet days based on CHIRPS v2.0 reference data did not exceed 90 days (Fig. 2b). On the annual timescale, the number of wet days recorded in the central and southern sections of South Sudan, Uganda, and western Ethiopia ranged from 120 to 180 days based on CHIRPS v2.0 reference data. However, the CMIP6 EnsMean model simulated a higher number of wet days, ranging from 200 to 250 days. This indicates an overestimation of the occurrence of wet days when considering a threshold of 1 mm (Fig. 2C). The arid and semi-arid areas in eastern and northern Kenya, districts in southern and central Somalia, zones in the southeastern sections of Ethiopia, as well as northern provinces in Sudan, experienced the fewest days of rainfall throughout all seasons. The progression of wet days in the MAM, JJAS, and OND seasons consistently corresponds with the wet and dry seasons in most parts of the East Africa region [20]. Furthermore, the majority of models inaccurately simulated higher levels of wet days in the coastal regions of Kenya. The average of the top 10 performing models aligns more closely with CHIRPS v2.0 than the average of all 23 models. These findings are consistent with [56] results, which showed that the ensemble of models generally provides a more accurate representation of precipitation and associated extremes compared to individual models. The simulated patterns of wet days in the CMIP6 models reveal the primary cause for the overestimated spatial distribution of rainfall totals throughout most of the IGAD region [35]. The variation in the number of wet days per season is influenced by different climate systems, such as the Arabian Peninsula climate system, which brings deeper monsoons and low-level cyclonic flow. This is particularly evident during the JJAS season in the northern sector of Eastern Africa, where convective moisture systems are transported and intensified [57, 58].

Fig. 2
figure 2

Spatial patterns of seasonal and annual wet days simulated by 23 CMIP6 historical run and ensemble mean (EnsMean) during JJAS season (A), EnsMean of 10 best performances during MAM, JJAS and OND seasons (B) and annual time-scale (C) relative to CHIRPS v2.0 reference datasets and 1985–2014 baseline

Fig. 3
figure 3

Spatial patterns of seasonal and annual dry spells simulated by 23 CMIP6 historical run and ensemble mean (EnsMean) during JJAS season (A), EnsMean of 10 best performances during MAM, JJAS and OND seasons (B) and annual time-scale (C) relative to CHIRPS v2.0 reference datasets and 1985–2014 baseline

Figure 3 demonstrates the ability of the 10 CMIP6 models and ensemble mean to accurately replicate the average minimum and maximum duration of dry spells in the IGAD region. According to most models, it is stimulated that the majority of counties in South Sudan, zones in western Ethiopia, and districts in central and northern Uganda will experience a maximum of one dry spell period (7 consecutive wet days). In the western and southwestern regions of South Sudan, most zones in western Ethiopia, and districts in northern Uganda, there will not be a continuous 7-day period without rainfall, with a minimum threshold of 1 mm. The JJAS season, which represents the primary rainy season in most areas of the IGAD region, has shorter periods of dry spells compared to the MAM and OND seasons. On the other hand, Kenya, Somalia, and southeastern Ethiopia have the longest periods of dry spells, while southwestern South Sudan, western Ethiopia, and central and northern Uganda have the shortest. It is worth noting that the CNRM-CM6-1-HR model indicates a higher occurrence of prolonged dry spells across most of Sudan. In terms of accuracy, dry spells were overestimated by 23 CMIP6 models and EnsMean during the JJAS season (Fig. 3A), EnsMean of the top 10 performances during the MAM, JJAS, and OND seasons (Fig. 3B), and on an annual time-scale (Fig. 3C) in comparison to CHIRPS v2.0. Generally, the IGAD region does not experience dry spells lasting more than 5 consecutive periods without rainfall. The regions with the longest periods of consecutive dry spells also exhibit a notable increase in rainfall variability according to the CMIP6 historical simulations [59].

Figure 4 presents the average monthly count of the number of wet days in five key rain-fed agriculture regions of Sudan, South Sudan, Ethiopia, Kenya, and Uganda. These regions play a crucial role in food production within the IGAD region. The purpose of conducting a monthly count of rainy days was to evaluate the accuracy and reliability of using a 1 mm threshold for rain gauge, satellite rainfall estimates, model simulations, and projection applications. The use of the 1 mm threshold recommended by ETCCDI [46] is to measure changes in extreme rainfall events, such as consecutive wet and dry days, wet and dry spells, and the identification of wet and dry seasons in CMIP5 and CMIP6 simulations [20]. All 10 models and EnsMean overestimated the number of wet days from January to December. This shows that the 1 mm threshold is not sufficient for accurately determining the number of rainy days (wet spells) due to the tendency of most models to overestimate such occurrences. All models consistently simulated that Arsi in Ethiopia and Arua in Uganda would receive rainfall every day in the months of June, July, August, and September. When compared to the CHIRPS v2.0 reference datasets, there was an average increase of 12–15 days was recorded as rainy days. This indicates that the majority of the 10 CMIP6 simulated extra 10–14 days compared to CHIRPS v2.0 during the peak of the rainy season from June to September. The patterns of the monthly cycle of the number of wet days from January to December were confirmed to be consistent with the study by[10], which demonstrated the ability of the CMIP6 model to duplicate the bimodal and unimodal rainfall patterns in East Africa. This is evidenced by the role played by the monthly distribution of wet day cycles in shaping the seasonal and annual total rainfall. Specifically, while the CHIRPS v2.0 average for wet days ranged from 12 to 15 days, the CMIP6 models simulated a range of 25–30 days. Therefore, using a rainy-day criterion of 1.5 to 2 mm may improve accuracy and better reconcile the differences between observed and simulated wet day patterns compared to using a 1 mm threshold. However, the ensemble model for the MAM season in the East Africa region underestimates various precipitation statistics, including the amount of precipitation on wet days (PRCPTOT), the frequency of extremely wet days (R95p), the intensity of precipitation on wet days (SDII), and the number of heavy precipitation days (R20mm). On the other hand, the findings from [22] show that the model overestimates the duration of consecutive dry days.

Fig. 4
figure 4

Annual cycle of simulated number of wet days over El Gadaref (Sudan), the Upper Nile (South Sudan), Arsi (Ethiopia), Trans Nzoia (Kenya), and Arua (Uganda). The analysis based on 10 bests performed CMIP6 models and EnsMean in black, CHIRPS v2.0 reference datasets(red) and 1985–2014 baseline

3.2 Projected changes in wet days and dry spells patterns in individual CMIP6 models

3.2.1 Projected changes in total rainfall and intensity

Figure 5 illustrates the spatial distribution of projected total rainfall across the IGAD region. The analysis considers two future periods: the near future (2021–2050) and the far future (2071–2100), compared to a baseline period (1985–2014). We examined three emission scenarios (SSP1-2.6, SSP2-4.5, and SSP5-8.5) for four seasons: MAM (top row), JJAS (second row), OND (third row), and Annual (ANN) in the bottom row. The first, third, and fifth columns display the near future, while the second, fourth, and sixth columns represent the far future. The findings indicate a projected decrease in total rainfall during the MAM season for the entire country of Sudan, as well as the northern and central parts of South Sudan and Ethiopia. On the other hand, western Kenya, Somalia, and Uganda are forecasted to experience an overall increase in rainfall across all seasons and scenarios throughout MAM (Fig. 5a–f). The JJAS season is expected to have a longer dry period in the ASALs of Kenya and southern Somalia, as well as in Sudan, South Sudan, Ethiopia, northern Somalia, and the western and Nyanza regions of Kenya (Fig. 5g–l). During the OND season, all three scenarios show an increase in total rainfall across the IGAD region, except for the northwestern areas of Sudan (Fig. 5m–r). Overall, the region is projected to experience an increase in total annual rainfall in both the near future (2021–2050) and the far future (2071–2100). The projected increase in rainfall patterns by end of century in agreement with study by [60], contrary to the study by [61] over East and Northern Africa, which projected a decrease in precipitation of up to 133 mm over North and East Africa. In the next subsections, the role played by changes in daily rainfall intensity, wet/dry days, and wet/dry spells in the increase/decrease in annual and seasonal projections presented.

Fig. 5
figure 5

Spatial pattern of projected changes (%) in total rainfall over the IGAD region based on CMIP6 EnsMean for the near future (2021–2050) and far future (2071–2100) relative to the baseline period (1985–2014). The near future presented in (first, third and fifth columns) and far future (second, fourth and sixth columns). The MAM season presented in (first row), JJAS (second row), OND (third row) and Annual (fourth row)

3.3 Projected changes in rainfall intensity

It is evident that changes in rainfall intensity directly correspond to changes in total rainfall patterns, as explained in the previous section (Fig. 5). The rainfall intensity (Fig. 6) indicates a decrease in rainfall intensity across all emission scenarios during the MAM season in Sudan, the central and northern parts of South Sudan, and Ethiopia. Similarly, Western Kenya, Somalia, and Uganda are projected to experience a decrease in rainfall intensity across all seasons and scenarios (SSP1-2.6, SSP2-4.5, SSP5-8.5) during MAM (Fig. 6a–f). Additionally, just like the total rainfall, the JJAS season is projected to have an increase in rainfall intensity over Sudan, South Sudan, Ethiopia, northern Somalia, and western Nyanza provinces in Kenya (Fig. 6g–l). On the other hand, the dry season in the ASALs of Kenya and southwestern Somalia is expected to see an increase. With the exception of the north-western parts of Sudan, the rainfall intensity for the OND season and annual patterns (Fig. 6m–r, s–x) is projected to increase in the region across all three scenarios in the near future (2021–2050) and the far future (2071–2100), which partly in agreement with studies by [32, 62], and [61].

Fig. 6
figure 6

The spatial distribution of projected rainfall intensity across the IGAD area for the near future (2021–2050) and far future (2071–2100) based on CMIP6 EnsMean compared to the baseline period (1985–2014). The near future presented in (first, third and fifth columns) and far future (second, fourth and sixth columns). The MAM season presented in (first row), JJAS (second row), OND (third row) and Annual (fourth row)

3.4 Projected changes in wet days and wet spells patterns

The projected number of wet days across the IGAD region shows that southern and central Uganda recorded the highest number of wet days (60–80 days) during the MAM season under the SSP1-2.6, SSP2-4.5, and SSP5-8.5 scenarios at the 1 mm threshold (Fig. 7a–f). The highlands of western Ethiopia are projected to experience more than 110–120 days out of a possible 122 wet days, followed by the majority of parts of South Sudan, northern Uganda, and western Kenya (90–110 days) during the JJAS season under all three scenarios (Fig. 7g–l). Coastal and southern parts of Kenya, southern and central Uganda, and southwestern Ethiopia are projected to experience the highest number of wet days (60–80 days) out of the 92 possible days during the OND season under all three scenarios (Fig. 7m–r). The regions with the highest and lowest number of wet and dry days are consistent with the findings of [47], particularly in Equatorial Eastern Africa. The highest number of wet days projected annually is over Uganda, South Sudan, and the highlands of western Ethiopia, while the lowest number of wet days is projected over central and northern Sudan, Djibouti, Eritrea, and northern Somalia (Fig. 7s–x). The areas with the highest and lowest number of wet days are the same regions projected to have high exposure to extreme rainfall events over East Africa [32]. During the DJF, MAM, and OND dry seasons, most parts of Sudan and Kenya are projected to experience the lowest number of wet days (0–20 days) out of 91, 122, and 92 days, respectively. Only the desert and semi-desert in the northern parts of Sudan are projected to experience less than 10 days across all seasons and scenarios. This desert spans an average of 63–179 km in central and northern Sudan [63]. The highest number of wet days over the highlands of western Ethiopia, most parts of Uganda and South Sudan, and western Kenya indicates a high probability of a conducive environment for rain-fed agriculture and food security. The arid and semi-arid regions in northern and northeastern Kenya, northern Sudan, most parts of Somalia, Djibouti, and Eritrea have a high chance of consecutive dry conditions, recurrent water scarcity situations, and food insecurity. In general, there is an overestimation of wet days by CMIP6 at the 1 mm threshold when comparing the projected number of wet days under all scenarios with the CHIRPs reference dataset presented in Fig. 2B, C.

Fig. 7
figure 7

The spatial distribution of projected changes in wet days occurrences over the IGAD region for the near future (2021–2050) and far future (2071–2100) compared to the reference period (1985–2014). The near future presented in (first, third and fifth columns) and far future (second, fourth and sixth columns). The MAM season presented in (first row), JJAS (second row), OND (third row) and Annual (fourth row)

The spatial patterns of wet spells are projected to change in different countries in the IGAD region. Under all scenarios and in the near and far future, it is projected that there will be fewer consecutive wet spells during the annual and MAM seasons in Sudan, South Sudan, northern Uganda, western and northern Ethiopia, Eritrea, and Djibouti (Fig. 8). However, the central and northern parts of Sudan are projected to experience an increase in wet spells due to an increase in the number of wet days during the JJAS, OND, and annual periods as reported in a study by [34]. In the southern and central parts of South Sudan, the main rainy season of JJAS is projected to decrease, which will have significant impacts on rain-fed agriculture. On a more positive note, Nyanza and western counties in Kenya, which are considered potential agricultural areas, are projected to receive more wet spells. This will create more favorable conditions for agriculture, food and cash crops productivity. Furthermore, an increase in wet spells, along with the projected increase in total rainfall patterns reported in Sect. 3.2, could lead to a decrease in the frequency and intensity of drought over most parts of East Africa in the far future (2071–2100) under SSP1-2.6, SSP2-4.5, and SSP5-8.5, as indicated in the study by [64]. Other studies, such as [20], have also shown an increase in wet days and spells in CMIP6 models, as well as projected increases in extreme temperature patterns and the association between extreme rainfall events and the frequency and severity of drought patterns in East Africa[54, 65].

Fig. 8
figure 8

The spatial distribution of projected changes(%) in wet spells occurrences over the IGAD region for the near future (2021–2050) and far future (2071–2100) compared to the baseline period (1985–2014). The near future presented in (first, third and fifth columns) and far future (second, fourth and sixth columns). The MAM season presented in (first row), JJAS (second row), OND (third row) and Annual (fourth row)

Figures 9 and 10 illustrate the temporal patterns of wet days and uncertainty in CMIP6 GCMs across five different food baskets in the IGAD region. The number of wet days is projected to increase during the MAM season in Upper Nile state, located in the northeastern part of South Sudan, Arsi zone in the center of Ethiopia, and Trans Nzoia county in western Kenya. Conversely, there will be a decrease in the number of wet days for SSP5-8.5 scenarios during the JJAS season. The results indicate that by the end of the century, the changes in wet days (increase/decrease) will be more significant for SSP5-8.5 emission scenarios compared to SSP1-2.6 emission scenarios. Notably, the magnitude of these changes is higher over Al Qadaref and Upper Nile. These findings suggest that if we continue with business as usual (less sustainable climate policies), there will be more wet days (and prolonged dry spells) in various parts of the IGAD in the future. The severity of the dry season (MAM) and wet season (JJAS) in Sudan will increase, while South Sudan will experience a decrease in the wet season during JJAS and OND seasons.

Fig. 9
figure 9

The projected temporal patterns of uncertainty in wet days during MAM season over El Gadaref (Sudan), the Upper Nile(South Sudan), Arsi (Ethiopia),Trans Nzoia ( Kenya), and Arua ( Uganda) for SSP1-2.6 and SSP5-8.5 for the period 1985 to 2100. The blue (red) line shows the EnsMean, blue and brown filled range correspond to the uncertainty bound of the 10-best performed CMIP6 models. The y-axis represents years under analysis from 1981 to 2100 and x-axis represent number of wet days and years

Fig. 10
figure 10

The projected temporal patterns of uncertainty in wet days during JJAS season over El Gadaref (Sudan), the Upper Nile (South Sudan), Arsi (Ethiopia), Trans Nzoia (Kenya), and Arua (Uganda) for SSP1-2.6 and SSP5-8.5 for the period 1985–2100. The blue (red) line shows the EnsMean, blue and brown filled range correspond to the uncertainty bound of the 10-best performed CMIP6 models. The y-axis represents years under analysis from 1981 to 2100 and x-axis represent number of wet days and years

The uncertainty in SSP1-2.6 and SSP5-8.5, as identified by 10 models, highlights the epistemic uncertainties in simulation and projections due to a lack of knowledge or information about a system, process, or phenomenon, as well as internal variations in model outputs resulting from the inherent dynamics and complexity of the modeled system [66]. It is crucial to consider the ensemble mean rather than individual models. This highlights the need to quantify uncertainty in CMIP6 GCMs, as there is no consensus among models regarding the future changes in rainfall [67]. Furthermore, when comparing the near future (2021–2050) to the far future (2071–2100), the level of uncertainty increases, particularly under the SSP585 scenario. The convective parameterization scheme in GCMs has been identified as the main source of this uncertainty [68].

The boxplots in Fig. 11 demonstrate the median (represented by a thick horizontal line) of wet day anomalies for the low SSP1-2.6 and SSP5-8.5 scenarios in five locations within the IGAD region. Interestingly, the median for the low emissions scenario is below 0, while the median for the high emissions scenario is above 0. This suggests that there is a higher climate sensitivity in CMIP6, which aligns with previous findings in other CMIP versions [20]. Additionally, the boxplots and whiskers also indicate that the variations in wet day patterns are more pronounced during the OND season compared to the MAM and JJAS seasons. These changes are likely influenced by projected anomalies in sea surface temperatures (SSTs) and episodes of the El Niño-Southern Oscillation (ENSO), which significantly affect East Africa during the OND season [69].

Fig. 11
figure 11

The Boxplots show standardized anomalies of wet days over El Gadaref (Sudan), the Upper Nile (South Sudan), Arsi (Ethiopia), Trans Nzoia (Kenya), and Arua (Uganda) for SSP1-2.6 and SSP5-8.5 for the period 1985–2100

It is worth noting that the most substantial decrease and fluctuation in consecutive wet days are expected to occur during the JJAS season under both SSP1-2.6 and SSP5-8.5 scenarios. This finding is consistent with the research of[70] and [21], which highlight that the most significant reductions in consecutive wet days in East Africa are observed at GW levels of 1.5 °C and 2 °C.

3.5 Projected changes in dry spells patterns

Figure 12 shows the spatial distribution of projected changes in the frequency of dry days in the IGAD region for the seasons MAM, JJAS, OND, and annually, considering three different emission scenarios. The EnsMean patterns reveal a significant and widespread decrease in the frequency of dry days in the future across all three seasons and scenarios. Projections suggest that countries such as Kenya, Uganda, Somalia, and southeastern Ethiopia will experience a reduction of between 5 and 15 percent in the total number of dry days during the MAM season. The desert and semi-arid regions in northern Sudan are also expected to see a decrease of 1–10% in dry days, indicating a decrease in the intensity of desert-like conditions in the future across all seasons. According to the SSP1-2.6 scenario, the rain belt region in Sudan, western and northern Ethiopia, and most parts of South Sudan are projected to experience an increase in dry days, particularly during MAM, in both the near and distant future. The OND season is expected to see an increase in the number of dry days throughout the entire IGAD region. These trends contradict the observed increase in the maximum number of continuous dry days (CDD) in the CORDEX-Africa experiment and the occurrence of drought in CMIP5 [71] in East Africa. Furthermore, the study conducted by [72] confirms increased rainfall in the highlands of Ethiopia, which aligns with the main driver identified by Gebrechorkos et al. (2023) for the projected rise in total precipitation across East Africa as projected by the CMIP6 model.

Fig. 12
figure 12

The spatial distribution of projected changes (%) in dry days occurrences over the IGAD region for the near future (2021–2050) and far future (2071–2100) compared to the reference period (1985–2014). The near future presented in (first, third and fifth columns) and far future (second, fourth and sixth columns). The MAM season presented in (first row), JJAS (second row), OND (third row) and Annual (fourth row)

3.6 Impacts of ensemble averaging of 10 CMIP6 models outputs

Ensemble averaging of CMIP6 outputs significantly enhances the reliability and usefulness of climate projections by reducing individual model biases, improving uncertainty quantification, and providing more robust regional climate projections (Lei et al. 2023). However, it may smooth out some extreme events and face challenges in fully representing model diversity (Jiang An and Yin 2024). Figure 13 presents the projected changes in the number of wet days during the JJAS season under SSP5-8.5 scenarios as a sample of results from total rainfall, rainfall intensity, dry days, wet spells, and dry spells.This was done to assess the inconsistencies between the 10 individual CMIP6 models used to compute the EnsMean and how wet and dry biases have been affected or hidden by the EnsMean. Although the 10 CMIP6 models selected to compute EnsMean are the best performers over the IGAD region, it is clear that there are significant inconsistencies between individual CMIP6 models and the ensemble mean. The EnsMean smooths out extremes (wet and dry) and provides a more general picture of changes in rainfall patterns. Some models have biases toward dry conditions, while others project wet biases. This happens because each CMIP6 model has its own representation of physical processes like convection, cloud formation, and land–atmosphere interactions. The GFDL-ESM4 model projects dry conditions over most parts of the IGAD region. Seven out of ten models (CMCC-CM2-HR4, EC-Earth3, HadGEM3-GC31-MM, INM-CM5-0, IPSL-CM6A-LR, MIROC6, and TaiESM1) project a 60–90% increase in total rainfall, rainfall intensity, wet days, and wet spells over central and northern Sudan during both the near future (2021–2050) and the far future (2071–2100). The dry season of JJAS over eastern and northeastern Kenya and southern parts of Somalia is projected to intensify based on five models (BCC-CSM2-MR, EC-Earth3, GFDL, IPSL-CM6A-LR, and NorESM2-MM) during both the near and far future. The projected decrease in total rainfall, wet days, and wet spells over South Sudan in the far future is driven mostly by the BCC-CSM2-MR, CMCC-CM2-HR4, EC-Earth3, GFDL-ESM4, NorESM2-MM, and TaiESM1 models. From the analysis of individual CMIP6 models and the EnsMean, it is clear that the impact of EnsMean averaging is significant. The EnsMean tends to smooth out the extremes (wet or dry biases), creating a result that may appear more accurate but does not reflect the extremes or variations projected by individual models. Some CMIP6 models exhibit a dry bias due to underestimating convection or misrepresenting cloud formation, leading to less rainfall in certain regions. Conversely, models with a wet bias may overestimate moisture availability or storm frequency, resulting in higher-than-expected precipitation (Jiang et al. 2024). This occurs because each climate model has its own representation of physical processes like convection, cloud formation, and land–atmosphere interactions (Duan et al. 2021).

Fig. 13
figure 13

The spatial distribution of projected changes (%) in wet day occurrences over the IGAD region for the near future (2021–2050) and far future (2071–2100) compared to the reference period (1985–2014). The analysis for the JJAS season is based on 10 CMIP6 individual Models under SSP5-8.5 scenario

4 Conclusions

This study utilized a 23-member CMIP6 and an MME or EnsMean composed of the top-performing 10 CMIP6 models in the IGAD region. The objective was to investigate projected changes in number of wet/dry days and wet/dry spells on an annual and seasonal basis. An analysis was conducted on projected changes for the near future (2021–2050) and far future (2071–2100) compared to the reference period (1985–2014) using three emission scenarios (SSP1-2.6, SSP2-4.5, and SSP5-8.5). When comparing the average number of wet/dry days and wet/dry spells in the CHIRPS v2.0 reference data with the CMIP6 model simulations during the baseline period, it is evident that the majority of the models overestimated both wet days and dry spells across the study region. This overestimation is attributed to the implementation of the 1 mm threshold for rainy days set by the ETCCDI. The ETCCDI's threshold leads to an overestimation of both the frequency of wet days (dry days) and the duration of dry spells (wet spells). Therefore, using a rainfall threshold of 1.5 or 2 mm may be more appropriate for analyzing daily rainfall attributes such as wet/dry days and spells, rainfall intensities, onset and cessation dates, and the duration of the growing season. The CMIP6 ensemble provides a more accurate representation of wet days and dry spells compared to individual models. This finding aligns with the conclusions of [73] and [74], who observed that ensemble means effectively reduce spatial uncertainty and inconsistency by reducing inter-model biases. A projected 10–20% increase in total rainfall over the IGAD region is driven by an increase in rainfall intensity and the number of wet days under all scenarios (SSP1-2.6, SSP2-4.5, SSP5-8.5) during the near (2021–2050) and far (2071–2100) future. In addition, the majority of the IGAD region, there has been a 20–30% increase in wet days and a corresponding 10–20% decrease in the duration of maximum dry spells. Under the SSP5-8.5 scenario, there is an overall decrease in the number of wet days during JJAS, while there is an overall increase in the anomalies of wet days during OND. Furthermore, the results indicate an increase in deviations from the average number of rainy days by the year 2100. Although the ensemble averaging of 10 CMIP6 outputs seems to increase the robustness of findings and reduce individual model-specific biases, uncertainty, and generate consensus projections, it comes with significant drawbacks. These drawbacks include the underestimation of extremes and the obscuring of the valuable diversity of individual model outputs. Additionally, there is a risk of overconfidence in the results, which can mislead policymakers or stakeholders into believing that the ensemble average represents a higher certainty than is warranted. Despite these limitations, ensemble averaging remains a key tool for climate research, adaptation planning, and policy formulation. The analysis highlights the importance of implementing more effective measures to reduce greenhouse gas emissions in order to limit the global temperature increase to 1.5 °C, as outlined in the Paris Agreement. This is evident from the observed changes in the frequency of rainy days and dry spells, which differ between the SSP1-2.6 and SSP5-8.5 scenarios. Additionally, this study did not examine the microscale and mesoscale processes and drivers, nor did it explore the dynamic mechanisms. Moreover, the majority of models exhibited an overestimation of wet days and dry spells patterns, emphasizing the need for further research to understand the additional factors that contributed to this overestimation.