Introduction

The discernible increase in the frequency and severity of climate extremes, attributed to global warming1,2,3, has resulted in catastrophic impacts for both human life and the ecological environment across various regions4,5. Among these adversities, heatwaves and extreme precipitation stand out as two of the most widespread and recurrent extreme events, inflicting significant harm on human societies and ecosystems6,7. Notably, floods and geological disasters in China affected 51.9 million people, resulting in direct economic losses totaling up to 239.3 billion in 20238. In summer 2022, heatwave events affected 38.3 million people9.

The concept of compound events, initially introduced in the IPCC Fifth Assessment Report, has been further defined and expanded in IPCC AR64,10. This includes compound events involving antecedent events, multivariate events, time compound events, and spatial compound events4. It is recognized that the impacts of spatial and/or temporal compound events often far exceed those of single events and their cumulative effects11,12. Consequently, there is a high focus on understanding the changes and characteristics of sequential extreme precipitation–heatwave compound events (SEPHCE), which are crucial for preventing and mitigating natural disasters, ensuring economic development, and securing human well-being13. This focus is not only pertinent in the present but also constitutes a crucial element in addressing the challenges posed by climate change in the future14.

Since the 1950s, high-temperature events and extreme precipitation have risen worldwide6,7. Over recent decades, climate change-induced hazards, such as floods and heatwaves, have increased fivefold, resulting in over two million deaths and economic cost losses exceeding $3.64 trillion7,15,16,17,18. As interest in this field continues to grow, an expanding community of scholars are delving into the dynamics and attributions of compound events. On example is the flood-heatwave event that struck western Japan in summer 2018, resulting in a tragic loss of thousands of lives within just 1 week19,20. Similarly, in the central United States, the occurrence of extreme precipitation following summer heatwaves frequently triggers floods, posing significant challenges to food security and ultimately threatening human livelihoods14.

Concurrently, research has explored the probability and evolving characteristics of compound heatwave and flood events21. Heavy rainfall is more likely to occur shortly after shorter and hotter heatwaves21. In contrast to the simultaneous occurrence of heatwaves and droughts, heatwaves and extreme precipitation events are typically isolated22. However, with the intensification of climate change, the probability of their convergence may intensify23,24.

While previous research has primarily focused on countries such as the United States and Japan, where the incidence of compound events is notably high25,26. The rapid urbanization witnessed in China since the 1970s has exacerbated the frequency, duration, and intensity of extreme weather and climate events27,28. To better assess and mitigate the impacts and risks that societal expansion into the environment may bring, it is imperative to thoroughly investigate and evaluate the occurrence and evolution of SEPHCE in China29. Such an endeavor will contribute to the formulation of effective response strategies, ensuring the sustainable development of society and the environment30.

In the examination of extreme weather characteristics, multiple indicators have been proposed31,32,33, including frequency, duration, and intensity16,21. Some researchers, utilizing the definition of daily maximum and minimum temperatures, have investigated the variations in the intensity, frequency, and duration of heatwaves in North America and Europe34. For European heatwaves, specific criteria such as temperatures exceeding the 90th percentile of maximum temperatures during the heatwave for at least 6 days were set, and a series of heatwave indices were systematically defined35,36. These indices describe the characteristics of heatwaves, including the total number of heatwave days in summer, the frequency of heatwave occurrences, the duration of heatwaves, and the average maximum amplitude of heatwaves.

However, with global warming, increasing reports of extreme weather arriving earlier and setting historical records have captured people’s attention37. This has prompted considerations of the societal collapse risks associated with the early onset of future extreme weather. Therefore, the study of the start and end times of historical SEPHCE periods has become particularly important. This represents an innovative attempt to calculate the characteristics of SEPHCE, aiming to provide timely predictions and warnings to reduce casualties and property damage. This forward-looking research contributes to a better understanding and preparation for potential future climate extremes.

Here we explore the historical evolution patterns and characteristics of SEPHCE in China. Utilizing data from 1929 meteorological stations, we identified SEPHCE in China from 1975 to 2020. A comprehensive analysis of SEPHCE includes aspects such as frequency, duration, start and end times, as well as the probability distribution of joint intensity. It is noteworthy that this study represents the first systematic and comprehensive assessment of SEPHCE against the backdrop of climate change. Through this research, we aim to provide support for the development of targeted and effective risk and climate adaptation strategies.

Results

Temporal and spatial trends of SEPHCE frequency in China

The frequency of SEPHCE exhibited a significant and consistent increase from 1975 to 2020, with varying rates observed at intervals of 1, 3, 5, and 7 days measured at 17, 67, 122, and 176 occurrences per decade, respectively (Supplementary Fig. 1). Between 1975 to 1992, SEPHCE frequencies remained relatively stable, with occurrences at intervals of 1, 3, 5, and 7 days fluctuating around 10, 53, 108, and 167, respectively. From 1993 to 2020, SEPHCE frequencies saw significantly upturn, with occurrences at intervals of 1, 3, 5, and 7 days reaching peak values of 149, 494, 826, and 1175, respectively, within a year (Fig. 1a), showing growth rates of 30, 107, 179, and 258 occurrences per decade, respectively. In Fig. 1b, the ratio of mean SEPHCE frequencies in the most 10 years compared to the previous 10 years initially increased gradually from 1.2 times to 1.8 times (1975–2014). In the last period (2015–2020), occurrences at intervals of 3, 5, and 7 days showed a slight decrease, while SEPHCE occurring with an 1-day interval continued to grow, reaching more than twice mean frequencies of the previous decade (1995–2014; Fig. 1b).

Fig. 1: Annual variations of SEPHCE (sequential extreme precipitation–heatwave compound events) frequencies in China from 1975 to 2020.
figure 1

a The annual SEPHCE frequencies; b the ratios of the mean SEPHCE frequencies in the latter 10 years to the former 10 years. Due to data limitations, the last mean ratio only takes into account the average from 2015 to 2020.

The annual SEPHCE frequency data were spatially interpolated into a grid with 0.1° resolution, covering mainland China. The spatial patterns of SEPHCE frequency in China between 1975 and 2020 revealed significant regional variations (Fig. 2a–d). SEPHCE at intervals of 3, 5, and 7 days displayed relatively consistent spatial distribution features, with higher frequencies predominantly concentrated in the southwestern and southern coastal regions of China, while lower frequencies were located in the northern regions (Fig. 2a–c). Specifically, SEPHCE at the 7-day interval were more frequent in the southwestern region, with up to 30 occurrences (Fig. 2a). The southeastern coastal region experienced between 12 and 18 occurrences, while other regions had fewer SEPHCE occurrences, ranging from 6 to 12 (Fig. 2a). In contrast, SEPHCE at 5-day and 3-day intervals occurred approximately 15 and 9 times, respectively, in southwestern China (Fig. 2b, c). For SEPHCE at an 1-day interval, the recorded occurrences ranged between 2 and 6 times in the southwestern region (Fig. 2d).

Fig. 2: Spatial patterns of SEPHCE (sequential extreme precipitation–heatwave compound events) frequency in China from 1975 to 2020.
figure 2

a Spatial patterns of SEPHCE frequency at the 7-day interval; b spatial patterns of SEPHCE frequency at the 5-day interval; c spatial patterns of SEPHCE frequency at the 3-day interval; d spatial patterns of SEPHCE frequency at the 1-day interval.

The spatial trends of SEPHCE frequency in China from 1975 to 2020 revealed distinctive spatial variations (Fig. 3). Overall, SEPHCE frequency exhibited a more rapid increase in the southwestern and southern coastal regions, while other regions exhibited a relatively slower rate of increase (Fig. 3). The spatial trends in SEPHCE frequency exhibited similar distribution patterns at both 7-day and 5-day intervals, mainly concentrated in the southwestern and southeastern coastal regions (Fig. 3a, b). In southwestern China, the growth rates of SEPHCE frequency at the 7-day and 5-day intervals ranged from 0.18 to 0.30 occurrences per decade and from 0.06 to 0.18 occurrences per decade, respectively (Fig. 3a, b). However, the growth trend in SEPHCE frequency at the 3-day and 1-day intervals was not statistically significant, with rates ranging from 0.06 to 0.12 occurrences per decade for the 3-day interval and below 0.06 occurrences per decade for the 1-day interval (Fig. 3c, d).

Fig. 3: Spatial trends of SEPHCE (sequential extreme precipitation–heatwave compound events) frequency in China from 1975 to 2020.
figure 3

a Spatial trends of SEPHCE frequency at the 7-day interval; b spatial trends of SEPHCE frequency at the 5-day interval; c spatial trends of SEPHCE frequency at the 3-day interval; d spatial trends of SEPHCE frequency at the 1-day interval. The black squares show the variation trend was statistically significant at the 1% significance level.

Temporal and spatial trends of SEPHCE duration in China

A continuous and rapid increase in SEPHCE duration across China from 1975 to 2020 was evident (Fig. 4). Specifically, the increasing rates at the intervals of 1, 3, 5, and 7 days were 113, 424, 765, and 1117 days per decade, respectively (Supplementary Fig. 2). SEPHCE duration remained relatively stable between 1975 and 1992 at intervals of 1, 3, 5, and 7 days, fluctuating with corresponding durations of 50, 258, 533, and 835 days, respectively (Fig. 4a). However, a significant acceleration in the growth rate of SEPHCE duration became evident from 1993 to 2020 (Fig. 4a). The most substantial increase in SEPHCE duration occurred at the 7-day interval, reaching a maximum of 7791 days across the entire region in 2018 (Fig. 4a). The ratio of mean SEPHCE durations during the most recent 10-year period, compared to the preceding 10 years, initially experiences a rapid increase before showing a subtle decline (Fig. 4b). The ratio for the first four decades (1975–2014) continued to increase, rising from 1.4 times to 2.0 times. In the last ratio (2015–2020), it still remained highest at the 1-day interval, reaching 2.3 times, despite a slight decrease in the ratio across all time intervals (Fig. 4b).

Fig. 4: Annual variations of SEPHCE (sequential extreme precipitation–heatwave compound events) duration in China from 1975 to 2020.
figure 4

a The annual SEPHCE duration; b the ratios of the mean SEPHCE duration in the latter 10 years to the former 10 years. Due to data limitations, the last mean ratio only takes into account the average from 2015 to 2020.

The SEPHCE duration in China from 1975 to 2020 exhibited distinct regional characteristics (Fig. 5). In general, SEPHCE duration was longer in the southwestern and southeastern coastal regions, while it was comparatively shorter in the northern areas (Fig. 5). With increasing time intervals, the duration extended, particularly in southwest China (Fig. 5). The spatial distribution of SEPHCE duration at the 5-day and 7-day intervals displayed similar patterns (Fig. 5a, b). In the south region, SEPHCE duration ranged from 80 to 160 days at the 7-day interval and from 60 to 120 days at the 5-day intervals (Fig. 5a, b). Conversely, SEPHCE duration was shorter in other regions, with a range of 6–80 days at the 7-day interval and 3–60 days at the 5-day interval (Fig. 5a, b). For the 3-day and 1-day intervals, longer SEPHCE durations were mainly concentrated in southwestern China, ranging from approximately 40 to 60 days at the 3-day interval and from 10 to 30 days at the 1-day interval (Fig. 5c, d).

Fig. 5: Spatial patterns of SEPHCE (sequential extreme precipitation–heatwave compound events) duration in China from 1975 to 2020.
figure 5

a Spatial patterns of SEPHCE duration at the 7-day interval; b spatial patterns of SEPHCE duration at the 5-day interval; c spatial patterns of SEPHCE duration at the 3-day interval; d spatial patterns of SEPHCE duration at the 1-day interval.

From 1975 to 2020, it was observed that regions in southwestern and southern coastal China experienced a notably faster increase in SEPHCE duration, while other regions exhibited a relatively slower growth rate (Fig. 6). Specifically, the growth rate of SEPHCE durations at the 7-day interval was the most pronounced, with an increase ranging from 1 to 2 days per decade (Fig. 6a). In contrast, the durations of SEPHCE at the 5-day and 3-day intervals exhibited a relatively slower growth, ranging from 0.5 to 1.5 days per decade and from 0.5 to 1 day per decade (Fig. 6b, c). However, the trends of SEPHCE duration at the 1-day interval were not significant, remaining below 0.5 days per decade (Fig. 6d).

Fig. 6: Spatial trends of SEPHCE (sequential extreme precipitation–heatwave compound events) duration in China from 1975 to 2020.
figure 6

a Spatial trends of SEPHCE duration at the 7-day interval; b spatial trends of SEPHCE duration at the 5-day interval; c spatial trends of SEPHCE duration at the 3-day interval; d spatial trends of SEPHCE duration at the 1-day interval. The black squares show the variation trend was statistically significant at the 1% significance level.

Annual variations in the starting and ending times of SEPHCE in China

Figure 7 illustrates the starting and ending times of SEPHCE fluctuations at various time intervals (1, 3, 5, and 7 days). Typically, SEPHCE began around the 3rd of May and concluded around 25th September (Fig. 7). Notably, there was a clear trend of advancing starting times and delaying ending times (Fig. 7a–d). The rate of advancement in the starting times significantly exceeded the rate of delay in the ending times (Fig. 7a–d). From 1975 to 2020, the advancement rate for the starting times was approximately 4.4 days per decade, while the delaying rate was approximately 3.3 days per decade (Fig. 7a–d). As the time interval decreases, this changing trend in the starting and ending times becomes more noticeable (Fig. 7a–d). Specifically, at the intervals of 1, 3, 5 and 7 days, the advancement rates for the SEPHCE starting times were approximately 9.3, 4.2, 2.5, and 1.7 days per decade, respectively (Fig. 7a–d). The delay rates for ending times under these intervals were approximately 6.2, 3.7, 1.8, and 1.6 days per decade, respectively (Fig. 7a–d). These findings highlight the changes in the timing of SEPHCE over the years, with start times advancing and end times delaying, and this effect becomes more pronounced as the time intervals decrease.

Fig. 7: Annual variations in the starting and ending times of SEPHCE (sequential extreme precipitation–heatwave compound events) in China from 1975 to 2020.
figure 7

a Annual variations of the starting and ending times of SEPHCE at the 7-day interval; b annual variations of the starting and ending times of SEPHCE at the 5-day interval; c annual variations of the starting and ending times of SEPHCE at the 3-day interval; d annual variations of the starting and ending times of SEPHCE at the 1-day interval. The orange line represents the starting time of SEPHCE for each year, while the green line represents the ending time of SEPHCE for each year, and the thin lines were their respective fitted curves.

Joint return period of extreme precipitation intensity and heatwave intensity in China

As both extreme precipitation intensity and heatwave intensity increase, the corresponding joint distribution probability also increases (Fig. 8a). However, unraveling the intricate linear relationship between the two proves to be complex. Here, the estimated value of the correlation parameter obtained by fitting the Gaussian Copula model (rhohat) is −0.049, indicating a weak negative correlation (Supplementary Fig. 3).

Fig. 8: The joint distribution and return periods of extreme precipitation intensity and heatwave intensity.
figure 8

a The three-dimensional plots depict the joint probability distribution of extreme precipitation intensity and heatwave intensity from 1975–2020; b the three-dimensional plot representing the joint return period distribution of extreme precipitation intensity and heatwave intensity, and c the contour plot of return periods for different years in China (2, 5, 10, 20, and 50 years).

In Fig. 8b, as both extreme precipitation intensity and heatwave intensity increase, the joint return period of disasters also rises. On this 3D surface, the x-axis represents extreme precipitation intensity, the y-axis represents heatwave intensity, and the z-axis represents the return period of events where extreme precipitation intensity, heatwave intensity, or both exceed or are equal to a specified intensity (Fig. 8b). Figure 8c illustrates that as extreme precipitation intensity and heatwave intensity increase, joint return periods also increase. Simultaneously, the isopleths gradually become less dense, indicating a gradual rise in extreme precipitation and heatwave intensity (Fig. 8c).

Discussion

Previous studies have often examined extreme precipitation and heatwaves in isolation, neglecting a comprehensive investigation into their compound characteristics. This study provides evidence for compound events, specifically SEPHCE in China. A distinctive trend emerges, revealing an earlier onset and delayed cessation of SEPHCE, with the earlier onset trend surpassing that of delayed cessation. Particularly noteworthy is the pronounced trend in the worst-case scenario of SEPHCE (within 1 day), where both earlier onset and delayed cessation are most evident. This suggests an increased likelihood of this once rare compound event due to global warming, imposing heightened pressure from SEPHCE. Urgent attention is required to address the potential disastrous impacts on ecosystems and societal breakdowns arising from the current climate change emergency30,38.

While our study focuses on mainland China, the framework proposed can be applied globally to examine SEPHCE occurrences, provided there are reliable long-term temperature and precipitation datasets. Our research findings unequivocally indicate a consistent upward trend in the frequency and duration of SEPHCE in China from 1975 to 2020, with a notable acceleration post-1993. This trend exhibits significant regional disparities, primarily concentrated in the southern China. These findings align with the observations of researchers such as Chen et al., who noted a 5–9 times increase in sequential flood–heatwave events in the past two decades, predominantly in the southeast and western China39. Notably, SEPHCE within shorter time intervals is relatively rare, with a smaller hotspot area. However, over the past decades, the frequency and duration of these short-interval SEPHCE have doubled every ten years, indicating a concerning and evolving trend that demands careful attention and further investigation.

Urban floods linked to extreme precipitation, flash floods in mountainous areas, and subsequent heatwaves pose serious threats to agriculture and human life21,40. Excessive precipitation may lead to disasters such as floods and landslides, causing infrastructure damage. When followed by a heatwave, crops may be affected, leading to reduced yields, and people may be at risk of heatstroke41. Especially in the southwestern region of China, with its complex terrain, relatively fragile ecosystems, and comparatively underdeveloped economy, it is more susceptible to the impact of SEPHCE, resulting in significant losses42. Therefore, it is essential for government to prioritize this issue and implement more urgent and effective measures to mitigate the unequal impacts of climate change on different regions while promoting sustainable development43.

The noticeable increase in SEPHCE is closely related to simultaneous rises in extreme precipitation and heatwaves44. They delve into the relative contributions of extreme precipitation and heatwaves to the increased occurrence of SEPHCE, finding that the increase in heatwaves leads to a more frequent simultaneous occurrence of these two independent extreme events44. The rise in heatwaves is mainly attributed to global warming, with IPCC AR6 noting an increasing attribution of global warming to external forcings from human activities4. Regarding regional variations, a detailed analysis of physical mechanisms suggests that tropical intraseasonal oscillations and meandering of subtropical may dynamically facilitate the consecutive occurrence of floods and heatwaves in southern China45,46. In the southeast coastal regions of China, strong summer typhoons provide another pathway for heatwaves following extreme precipitation, enhancing upper-level anticyclones and stabilizing the atmosphere through the delayed effect of non-adiabatic heating released by typhoons47,48,49,50. However, the seasonal distribution of precipitation is becoming increasingly uneven, potentially triggering a series of processes leading to the aggregation of extreme precipitation and heatwaves, transitioning rapidly from flash floods to drought, followed by drought-induced heatwaves51,52,53. While these potential physical connections are not currently robust and stable, further research is needed to gain a deeper understanding of these complex meteorological and climatic mechanisms.

Our research findings as both extreme precipitation intensity and heatwave intensity increase, the corresponding joint distribution probability also increases. However, unraveling the intricate linear relationship between the two proves to be complex21. The rise in temperature results in increased evaporation, causing a reduction in moisture and contributing to a rise in drought events40. Moreover, the enhanced atmospheric water-holding capacity, requiring more water vapor to saturate the air, leads to an increase in the frequency of extreme precipitation and the occurrence of extreme precipitation events21,54. Here, the estimated value of the correlation parameter obtained by fitting the Gaussian Copula model (rhohat) is −0.049, indicating a weak negative correlation, while there is also a possibility of a positive correlation. This explanation emphasizes the interaction between heatwaves and extreme precipitation, elucidating their relationship in terms of probability distribution.

Methods

Data

The observational datasets of daily maximum temperature, minimum temperature and precipitation data for 1975–2020 were sourced from the National Meteorological Information Center (NMIC), created by China Meteorological Administration (http://data.cma.cn/). This invaluable resource incorporates data information from a network of 2479 meteorological stations across mainland China. To detect SEPHCE, the primary study period was the extended summer months from May to September55. And we further enhanced data reliability through NMIC’s data quality control measures, including checks for climate extremes, internal consistency, temporal consistency, and spatial consistency. We interpolated the missing values, and the number of missing values was controlled to be below 5% during the study period, that is, there were fewer than 7 missing values during the study period every year44. Finally, there were still 1929 useful stations for this study.

The definition and of SEPHCE

The World Meteorological Organization notes that there was no universally accepted definition of heatwaves18. Various definitions, metrics, and indices have been proposed in the scientific literature and are adopted by meteorological departments and authoritative institutions. Some definitions are based on local criteria and absolute temperature thresholds, while others are calculated based on percentage standards relative to temperature44. However, variations in climatic characteristics across diverse regions and seasons can result in the definition based on absolute thresholds being deemed either “too high” or “too low”56. In contrast, the relative threshold is usually associated with the climatic conditions of specific regions and time frames57,58. Heatwaves identified using relative thresholds for high temperatures can capture unusually elevated temperatures in various seasons, offering a more precise characterization of local abnormal conditions49. Furthermore, some studies only consider daytime high temperatures to define heatwaves, it is vital to acknowledge that nighttime high temperatures also significantly impact human well-being21,59. The severest heatwaves occur when both daytime and nighttime temperatures are abnormally elevated60. Therefore, following the approach of Chen et al., we refined our definition of a heatwave event as a period lasting at least three consecutive days where the daily maximum and/or minimum temperature surpass the 90% percentile of the daily change threshold calculated within 15-day moving window (7 days before and after a specific day). This reference threshold is derived from a 30-year reference period (1975–2004), resulting in a dataset of 450 days with a 90th percentile, following the method of Della-Marta et al.61. Throughout our investigation, the mean threshold values for maximum and minimum temperature were 34.3 and 23.5 °C, respectively. Percentile-based thresholds, known for their reliability and widely applicability, have been extensively used in prior studies and can be applied universally on a global scale or to extended region such as the one under investigation24,44,56,62,63,64,65.

The Expert Team on Climate Change Detection and Indices employs various methods to define extreme precipitation66,67,68,69,70. The advantages lie in standardization, robustness, and a comparatively high signal-to-noise ratio, facilitating cross-mode and cross-regional comparisons71. Given China’s extensive geographical diversity across multiple climate zones, a relative threshold approach is applied to define extreme precipitation events72. To comprehensively capture precipitation extremes, we use a 95% threshold and daily precipitation as the criteria for extreme events73. Consequently, we refined an extreme precipitation event as a daily precipitation exceeding that of 95% of all rain days during a reference period74. The reference period for extreme precipitation coincides with that of heatwave, covering the summer period (May–September) from 1975 to 2004. Throughout the study period, the average rainfall threshold across all regions was 44.5 mm day−1, classifying it as heavy rain according to the precipitation categorization established by the China Meteorological Administration. This definition method was also widely adopted by numerous scholars21,75,76,77.

A SEPHCE is defined as the occurrence of extreme precipitation followed by a heatwave event within a specific time interval78. For our analysis, we examined various time intervals, including 7-day, 5-day, 3-day, and 1-day intervals21,44. Specifically, a SEPHCE at the 7-day interval indicates that a heatwave occurs seven days after the conclusion of extreme precipitation. In our analysis, we implemented a rule to address scenarios where a single extreme precipitation event is followed by multiple heatwave events or where multiple extreme precipitation events are followed by heatwaves. In such cases, we only consider the first extreme precipitation event and the first heatwave event21, simplifying the analysis and preventing redundancy or data overlap.

SEPHCE frequency denotes the total occurrences of SEPHCE nationwide from 1975 to 2020. Temporal trends in SEPHCE frequency are measured by counting the annual occurrences at 1929 stations. Additionally, we calculate the ratio of 10-year averages. The first ratio involves finding the mean SEPHCE frequency from 1985 to 1994, and then calculating the mean frequency from 1975 to 1984. This ratio between these two means represents the ratio of the latter 10 years to the former 10 years. This process is repeated, resulting in a total of 4 ratios. The last ratio accounts for the 6-year SEPHCE frequency mean from 2015 to 2020 due to the limited time period. The spatial distribution of SEPHCE frequency involves interpolating the annual SEPHCE frequency for each station into a grid of 0.1 ° longitude × 0.1 ° latitude covering mainland China. We aggregated the SEPHCE frequency data for 46 years to calculate the total counts for each grid. The spatial variation trend of SEPHCE frequency is also interpolated into a grid of 0.1 ° longitude × 0.1 ° latitude for mainland China. We used the Sen Median method to calculate the variation trend of SEPHCE frequency over 46 years for each grid and the Mann–Kendall (MK) test. SEPHCE duration refers to the cumulative duration of SEPHCE nationwide from 1975 to 2020. The duration includes the sum of the duration of extreme precipitation events and heatwave events within each SEPHCE. Temporal trends in SEPHCE duration involves calculating the yearly duration at 1929 stations. Similar to SEPHCE frequency, we also calculate the mean for each 10-year period and the ratio of the mean for the latter 10 years to the mean for the former 10 years. Additionally, we study the spatial distribution and variation trend of SEPHCE duration. The start and end times of SEPHCE are defined as the earliest start time among SEPHCE and the latest end time of SEPHCE at each station annually79. The intensity of heatwaves is determined as the difference between the annual maximum and minimum temperatures and their respective thresholds21. The intensity of extreme precipitation is defined as the cumulative precipitation during extreme precipitation events within each compound event.

Trend analysis and significance testing

We employed the robust non-parametric statistical method known as Theil–Sen Median trend analysis, along with the MK test, to calculate the changing trends in the frequency and duration of SEPHCE80. This method has been widely used to calculate changing trends in extreme weather. The Theil–Sen Median method, also known as Sen slope estimation, boasts high computational efficiency81. It is insensitive to measurement errors and outlier data, which makes it suitable for trend analysis of long time series data. The formula for the Sen slope was as follows:

$${\rm{\beta }}={\rm{Median}}\left(\frac{{x}_{j}-{x}_{i}}{j-i}\right),\forall j \,>\, i$$
(1)

In the formula, if β is greater than zero, it indicates an increase in the frequency or duration of SEPHCE, and conversely when β is less than zero.

The MK test is a non-parametric method for assessing time series trends. It does not rely on the assumption that the measured values follow a normal distribution, and it is robust against missing values or outliers. This makes it suitable for testing the significance of trends in long time series data. The index data is considered in sequence by time X = {x1, x2, …, xn} (n ≥ i > j ≥ 1), and the MK test was calculated as follows:

$${\rm{MK}}=\mathop{\sum }\limits_{{i}=1}^{{n}-1}\mathop{\sum }\limits_{{j}={i}+1}^{{n}}{f}\left({{x}}_{{j}}-{{x}}_{{i}}\right)$$
(2)

where f (xi−xj) = 1, when (xi−xj) > 0; f (xi−xj) = 0, when (xi−xj) = 0; and f (xi−xj) = −1, when (xi−xj) < 0. The indicator follows an upward trend when MK > 0, a downward trend when MK < 0, and no change in trend when MK = 0; the larger the absolute value of MK, the more severe the trend.

Copula function for capturing the joint probability distribution of SEPHCE

Quantifying the intensity of compound events that involve concurrent extreme precipitation and heatwaves is challenging. However, it is possible to quantify the intensities of extreme precipitation and heatwaves individually. In this study, Copula functions are employed to quantify the probability of joint distribution of extreme precipitation and heatwave intensities within compound events82. It also aims to determine their return periods. Copula analysis is a widely used technique in geoscience research, including hydrological frequency analysis83,84 and regional drought analysis85.

The present study used copula functions to create an extreme precipitation intensities - heatwaves intensities bivariate distribution. So, technically, the copula approach divides the problem into two mutually independent steps concerning fitting the marginal distributions and finding the dependence structure among the margins. First, we used five univariate distribution functions were fitted to the extreme precipitation and heatwaves intensities data. Subsequently, we estimated the parameters of these distribution models using the maximum likelihood method. Ultimately, we found that the optimal distribution model for extreme precipitation intensity is the generalized extreme value distribution, while the optimal model for heatwave intensity is the logarithmic distribution. The distribution functions adopted in this research are listed in Supplementary Table 1.

We further utilized four bivariate copula functions, including Gaussian, Gumbel, Clayton, and Frank to fit the marginal distributions and create the joint probability of extreme precipitation intensity and heatwave intensity. Based on the results of the OLS test, we selected the optimal joint distribution model, which is the Gaussian function distribution. Copula families adopted in this research are listed in Supplementary Table 2.

Planning and management of SEPHCE under climate change requires estimates based on the return period of SEPHCE. According to the joint probability distribution of SEPHCE, return periods for P ≥ p and H ≥ h as TPH is defined for base and future periods where FP(p) and FH(h) are the cumulative distribution functions of extreme precipitation intensity and heatwave intensity, C is the copula function, and E(L) is the average inter-arrival time, which can be estimated from the observed SEPHCE86.

$${T}_{{PH}}=\frac{E(L)}{P(P\ge p,H\ge h)}=\frac{E(L)}{1-{F}_{P}(p)-{F}_{H}(h)+C({F}_{P}(p),{F}_{H}(h))}$$
(3)