A method and system for monitoring a day-scale drought-flood abrupt transition event
By introducing two-dimensional window raster scanning and tail-end cumulative statistics into the daily-scale drought-flood transition index, the problem of inconsistent responses across regions and seasons in existing technologies has been solved. This enables unified identification and intensity comparison of drought-flood transition events, reduces deployment costs, and provides more accurate decision support.
Patent Information
- Application Number
- CN202611260651.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-27
AI Technical Summary
Existing daily drought-flood transition indices show inconsistent responses to drought-flood transition events with significant rhythm differences in cross-regional and cross-seasonal comparisons. They cannot simultaneously pinpoint the date, intensity, and dominant rhythm of the transition, and require reliance on empirical parameters or separately calibrated window lengths, affecting comparability and operational deployment costs.
The method employs a two-dimensional window grid to scan the standardized precipitation difference between drought and flood. By scanning a two-dimensional window grid that combines preset drought and flood season lengths, the method identifies the maximum turning point response on each day. Trigger determination is then performed through cumulative statistics at the tail end, outputting the intensity of sharp turns and the dominant rhythm, thus avoiding reliance on regional empirical parameters.
It enables the comparability identification of drought-flood transition events across regions and seasons under a unified indicator system, distinguishes between different types of transitions with varying rhythms, reduces operational deployment costs, and provides more accurate engineering decision support.
Smart Images

Figure CN123176904A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hydrological and meteorological monitoring technology, specifically to a method and system for monitoring daily-scale drought-flood transition events based on multi-window grid scanning. Background Technology
[0002] Drought-flood abrupt reversal events refer to complex hydro-climate events in which the same region abruptly changes from a state of sustained drought to flooding or vice versa within a short period of time. These events occur frequently in the middle and lower reaches of the Yangtze River, the Huai River basin, the Pearl River basin, and North my country, causing a chain of disasters including large-scale crop yield reduction, overloaded dikes, and urban flooding coupled with water shortages. Accurately characterizing the timing, intensity, and dominant rhythm of such events is a common need for water conservancy scheduling, emergency flood control, and agricultural insurance loss assessment. Early studies often used monthly runoff or monthly precipitation to construct long-term and short-term drought-flood abrupt reversal indices, determining the direction of the abrupt reversal based on the standardized precipitation difference between the months before and after the flood season. However, monthly-scale statistics combine multiple precipitation events within a month into a single value, which cannot pinpoint the specific date of the abrupt reversal, nor can it reflect extreme abrupt reversals lasting only a few days, such as a sudden short-duration heavy rainfall following a period of sustained water deficit. This results in a natural lag when addressing short-term emergency scheduling.
[0003] To improve temporal resolution, the industry has gradually refined the drought-flood abrupt transition index from a monthly scale to a daily scale. The mainstream improvement approach is to construct a standardized weighted average precipitation index and a daily-scale drought-flood abrupt transition index: the former is characterized by a cumulative wet / dry state on a given day by weighting the precipitation of the current day and the preceding several days with exponential decay weights and then standardizing it normally; the latter, based on the standardized weighted average precipitation index, calculates the difference between the standardized precipitation anomalies of the preceding and following several days using preset dry and flood period numbers, respectively, and supplements this with a transition velocity factor and exponential weighting modulation, resulting in a scalar index that comprehensively reflects the magnitude and speed of the transition from drought to flood. This approach allows for the automatic identification and daily tracking of drought-flood abrupt transition events at the daily scale for the first time, and is currently widely used in drought-flood abrupt transition studies in multiple river basins, including the middle and lower reaches of the Yangtze River, the Huai River, and the Pearl River.
[0004] However, when using the daily-scale drought-flood transition index to conduct daily scans of multi-year precipitation sequences in actual watersheds, a long-overlooked phenomenon can be observed: the same drought-flood transition event, recognized by meteorological observations, can present itself with significantly different combinations of drought and flood durations at different stations and in different years. In the North China Plain, a typical drought-flood transition often involves a moderate drought lasting 50 to 60 days followed by a heavy rainfall event lasting 5 to 7 days. In the middle and lower reaches of the Yangtze River, a mild drought lasting 30 to 40 days is more common, followed by 12 to 18 days of continuous rain. In the typhoon-affected areas of South China, there may even be a drought period of only about 20 days followed by 3 to 5 days of typhoon-induced rain. However, the existing daily-scale drought-flood transition index fixes the drought and flood duration parameters in the calculation formula, commonly using a drought period of 44 days and a flood period of 10 days. It only gives the strongest response to events falling within this window rhythm, and either weakens or does not respond at all to events with other rhythms. Although some studies have attempted to improve this by adjusting the window length or using multi-scale combinations, they still cannot simultaneously locate the three elements of abrupt change date, abrupt change intensity, and dominant rhythm under a unified indicator system, nor can they provide comparable intensity magnitudes for events with vastly different length combinations.
[0005] Further analysis reveals that the problem lies not in the standardization mechanism of the standardized weighted average precipitation index or the standardized precipitation anomaly itself, but in the fact that existing methods only focus on the drought-flood standardized precipitation difference under a pre-set window, neglecting the extreme response of the transition intensity on the two-dimensional parameter grid of the drought period length multiplied by the flood period length on the same day, and the window location where it is located. In fact, in the field of hydrometeorology, the drought-flood transition process in different regions and seasons has been observed to exhibit a continuously variable drought-flood period combination spectrum. Extreme value theory and run theory have also utilized scanning multiple windows to obtain extreme values as a conventional prior fact for characterizing strong signals at the tail of the distribution, but this has not yet been systematically incorporated into the diurnal scale construction framework of the drought-flood transition index. This oversight forces existing indices to either over-rely on empirical parameter pairs in cross-regional and cross-seasonal comparisons, or to necessitate separately calibrating a set of drought and flood period lengths for each study area, which impairs comparability and increases operational deployment costs.
[0006] To address the aforementioned issues, this invention proposes a method for monitoring abrupt shifts in drought and flood events. This method involves scanning a pre-defined two-dimensional window-length grid grid to identify the standardized precipitation difference between drought and flood, and pinpointing the maximum turning point response and its corresponding window pair for each day. By accumulating and statistically analyzing the tail end of the abrupt shift intensity to trigger a determination, this method compensates for the inconsistency in existing indices' responses under diverse rhythms without relying on regional empirical parameter pairs. Summary of the Invention
[0007] The purpose of this invention is to provide a method and system for monitoring daily-scale drought-flood transition events, in order to solve the problems of existing daily-scale drought-flood transition indices, which fix the parameters of drought period length and flood period length in the calculation formula, have inconsistent responses to drought-flood transition events with significant rhythm differences, and have poor comparability across regions and seasons.
[0008] To achieve the above objectives, a first aspect of the present invention provides a method for monitoring diurnal-scale rapid drought-flood transition events, comprising: S1. Obtain the daily precipitation sequence of the target station for more than 30 consecutive years; for the precipitation within a preset weighted number of days before each day, the weighted cumulative precipitation is obtained by weighting and summing the precipitation by subtracting the power of the number of days from the current day from the preset attenuation coefficient λ; for the multi-year samples of the same calendar day in the entire sequence, Gamma fitting and normal standardization are performed to obtain the daily standardized weighted cumulative precipitation value SAPI, wherein the attenuation coefficient is greater than 0 and less than 1; S2. Pre-define a dry season length set and a flood season length set, each containing at least three distinct days. Combine all elements from both sets to form a two-dimensional window grid, with the total number of grid window pairs not exceeding 256. For each day, on each window pair, take the SAPI arithmetic mean of the preceding dry season length days, with that day as the dividing line, as the drought-standardized precipitation anomaly. The arithmetic mean of SAPI precipitation over the length of the flood season is taken as the standardized precipitation anomaly for the flood season. According to the formula Calculate the intensity D of the sudden shift from drought to flood for this window, where λ is the attenuation coefficient described in S1, and |·| represents taking the absolute value; traverse all window pairs and take the maximum value of D as the maximum intensity of the sudden shift from drought to flood for that day. The corresponding window records the length of the drought period and the length of the flood period as the dominant rhythm label for the day.
[0009] S3. Preset a sharp reversal threshold; use a sliding window algorithm to detect the first and second days occurring sequentially, ensuring that the first day... Less than the threshold and on the second day Not less than the threshold; the second day is taken as the starting date of the sudden shift from drought to flood, and the first occurrence after the second day is taken as the starting date. The day less than the threshold is the event end date; the event's rapid rhythm is output by the rhythm label dominated by the start date, from the start date to the end date. The maximum value outputs the event abrupt change intensity.
[0010] Furthermore, the attenuation coefficient ranges from 0.85 to 0.98, and the weighted number of days ranges from 30 to 90 days.
[0011] Furthermore, the set of drought period lengths includes at least three of the following: 15 days, 20 days, 25 days, 30 days, 35 days, 40 days, 45 days, 50 days, 55 days, and 60 days; and the set of flood period lengths includes at least three of the following: 5 days, 7 days, 10 days, 12 days, 15 days, and 20 days.
[0012] Furthermore, the abrupt change judgment threshold is determined in the following way: calculated from all historical daily sequences of the target site. Then, an empirical distribution is taken, and the 90th to 99th percentile of the empirical distribution is used as the range of the sharp turn determination threshold.
[0013] Furthermore, in S1, the Gamma fitting of multi-year samples for the same calendar day in the entire sequence specifically includes: estimating the shape and scale parameters of the Gamma distribution using the maximum likelihood estimation algorithm for all multi-year weighted cumulative precipitation samples for the same calendar day; processing the samples with zero precipitation using the zero precipitation frequency correction algorithm and then substituting them into the cumulative distribution function; and transforming the cumulative distribution probability value into a standardized weighted cumulative precipitation value using the inverse distribution function.
[0014] Furthermore, in S2, with reduce The sign of the obtained difference distinguishes the direction of the abrupt change: when the difference is positive and not less than the abrupt change judgment threshold, it is judged as a drought-to-flood event; when the difference is negative and its absolute value is not less than the abrupt change judgment threshold, it is judged as a flood-to-drought event; for the flood-to-drought event, in S2, the calculation formula for the intensity of the drought-to-flood abrupt change is rewritten as follows: And execute S3.
[0015] Furthermore, S3 also includes classifying the identified drought-flood transition events according to the intensity of the transition: the transition intensity falling into the first interval is a mild transition event; the transition intensity falling into the second interval is a moderate transition event; the transition intensity falling into the third interval is a severe transition event; the first interval, the second interval, and the third interval do not overlap and increase sequentially.
[0016] Furthermore, when the method is applied to a multi-site spatial expansion scenario, the weighted accumulation, Gamma-fitted normalization, two-dimensional window raster scanning, and sliding window edge detection are independently performed on each precipitation observation station within the preset target watershed. The maximum drought-flood transition intensity of each station is then indexed using latitude and longitude coordinates. The dominant rhythm labels are summarized on a daily, station-by-station basis, and an inverse distance weighted spatial interpolation algorithm is used to generate a daily-scale raster map of the spatial distribution of drought-flood transition intensity.
[0017] A second aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0018] A third aspect of the present invention provides a daily-scale drought-flood abrupt reversal event monitoring system, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the steps of any of the methods described above. The system further includes, in terms of functional modules, a precipitation data acquisition module, a standardized weighted cumulative precipitation calculation module, a two-dimensional window raster scanning module, and an abrupt reversal event identification and output module. These modules are sequentially connected via data interfaces. The output of the precipitation data acquisition module serves as the input to the standardized weighted cumulative precipitation calculation module, the output of the standardized weighted cumulative precipitation calculation module serves as the input to the two-dimensional window raster scanning module, and the output of the two-dimensional window raster scanning module serves as the input to the abrupt reversal event identification and output module. The abrupt reversal event identification and output module outputs the start date, end date, reversal rhythm, and reversal intensity of the drought-flood abrupt reversal event.
[0019] This invention has the following three core advantages over the prior art: First, by introducing a two-dimensional window grid composed of drought and flood season lengths, the intensity of abrupt drought-flood transitions is calculated by scanning all window pairs of the grid on each day and taking the extreme values. This expands the dependence of the existing daily-scale drought-flood transition index on a single window pair to an extreme response to the rhythmic continuous spectrum. This modification allows abrupt drought-flood transition events with vastly different length combinations, such as the 50+5 rhythm in the North China Plain, the 30+15 rhythm in the middle and lower reaches of the Yangtze River, and the 20+5 rhythm in South China, to be identified and compared in intensity under a unified index system. When making comparisons across regions and seasons, it is no longer necessary to separately calibrate the window length parameter for each study area.
[0020] Second, by simultaneously outputting the maximum drought-flood transition intensity and the corresponding dominant rhythm label in a binary result, the original scalar indicator that could only output "whether it is a sudden transition" is upgraded to a binary description of "sudden transition intensity plus dominant rhythm". This enables downstream applications such as water conservancy scheduling and agricultural insurance loss assessment to differentiate between typhoon-type sudden transitions of "short drought followed by short flood" and subtropical high-pressure-type sudden transitions of "long drought followed by short flood", providing engineering decision support.
[0021] Third, trigger determination is made by accumulating statistics on the tail end of the sharp turn intensity, that is, detecting the first day after the occurrence. Less than the threshold and the second day The transition edge is not less than the threshold, and the empirical value is replaced by the empirical quantile objective determination method of the threshold. This makes the method independent of regional empirical parameter pairs. It can be put into operation without manual calibration in the operational deployment of new watersheds and new sites, which significantly reduces the deployment cost. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments will be briefly introduced below.
[0023] Figure 1 A flowchart of a method for monitoring rapid shifts between drought and flood events on a daily scale, provided as an embodiment of the present invention.
[0024] Figure 2 This is a module structure diagram of a daily-scale drought-flood transition event monitoring system provided in an embodiment of the present invention.
[0025] Figure 3 This is a schematic diagram of a two-dimensional window grid scanning process provided in an embodiment of the present invention.
[0026] Figure 4 This is a schematic diagram showing the time series of the maximum daily drought-flood transition intensity of a certain site over many years and the start and end dates of the identified drought-flood transition events, provided as an embodiment of the present invention.
[0027] Figure 5 This is a raster map of the spatial distribution of drought-flood transition intensity generated by multi-site inverse distance weighted spatial interpolation in an embodiment of the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the daily-scale drought-flood rapid transition event monitoring method and system of this invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only for explaining the invention and are not intended to limit the invention. Figure 1 As shown, the overall process of the method described in this invention includes S1 acquiring and standardizing daily precipitation sequences, S2 scanning and calculating the intensity of sudden shifts between drought and flood on a two-dimensional window grid and taking the maximum value and corresponding rhythm label, S3 based on... The sequence employs a sliding window algorithm to identify the start and end dates of events and output the three main sequential steps of event abrupt change intensity and rhythm, as well as a three-level hierarchical output stage executed according to preset intervals after event identification; the modular structure of the system described in this invention is as follows: Figure 2 As shown. The specific station parameters, year ranges, precipitation values, threshold values, and window length sets used in the following embodiments are all illustrative examples and do not constitute a limitation on the scope of protection of this invention; those skilled in the art can adjust the corresponding parameters according to the actual scenario, and the adjusted implementation method still falls within the scope of protection of this invention.
[0029] The weighted cumulative precipitation refers to the cumulative precipitation obtained by summing the daily precipitation of the current day and several preceding days, applying monotonically decreasing weights from the nearest to the furthest day, and is used to characterize the cumulative wet / dry state of the current day. Its implementation includes at least three types: First, exponentially decaying weighted cumulative precipitation, which uses a weighted sequence constructed with a decay coefficient as the base and a daily interval minus one as the exponent, and sums the precipitation accordingly; this implementation is preferred in this invention. Second, linearly decaying weighted cumulative precipitation, where the weights decrease linearly along the daily interval, suitable for scenarios more sensitive to recent precipitation. Third, Gaussian decaying weighted cumulative precipitation, where the weights decrease according to a Gaussian function along the daily interval, suitable for scenarios where higher weights are assigned to precipitation within a medium time window.
[0030] The standardized weighted cumulative precipitation value refers to the dimensionless index, denoted as SAPI, obtained by normalizing the weighted cumulative precipitation after fitting it to a statistical distribution. Its implementations include at least three types: First, SAPI based on Gamma distribution fitting, which involves fitting the shape and scale parameters of the Gamma distribution to a multi-year weighted cumulative precipitation sample from the same calendar day, then calculating the cumulative distribution function value and performing an inverse normalization; this implementation is preferred in this invention. Second, SAPI based on Pearson type III distribution fitting, suitable for samples with strong skewness. Third, SAPI based on empirical cumulative distribution function, which directly uses the empirical distribution function of the sample to replace the theoretical distribution; suitable for situations with extremely large sample sizes and distribution shapes that are difficult to parameterize.
[0031] The intensity of the rapid shift from drought to flood refers to a comprehensive value describing the magnitude and speed of the transition from abnormal cumulative precipitation during a drought period to abnormal cumulative precipitation during a flood period on a given day. Its sub-implementation includes at least the following three: First, according to the formula... Calculations will be performed on the first item (for the flood-to-drought scenario). Replace with its absolute value ,in , These represent standardized precipitation anomalies during dry and flood seasons, respectively, where λ is the attenuation coefficient, and |·| represents taking the absolute value. This implementation is used in the embodiments of this invention. Secondly, the product of the difference and the sum of the absolute values is used to remove the exponential modulation, i.e., omitted in the formula. First, it applies to cases where central bias suppression is not required; third, it is the product of the squares and absolute values of the differences, i.e., replacing the first term with... The sum of the absolute values of the last two terms is retained while the exponential modulation term is omitted, which is suitable for situations where it is necessary to strengthen signals with large inflection points.
[0032] The two-dimensional window grid refers to a set of window pairs formed by the Cartesian product of the drought period length set and the flood period length set. Each grid point in the grid corresponds to a specific pair of drought period length days and flood period length days. Its implementation includes at least the following three types: First, a uniform grid, where both the drought and flood period length sets are constructed according to an arithmetic progression; this construction is preferred in the embodiments of this invention. Second, an adaptive grid, which constructs a non-arithmetic progression sequence based on the mode density area of the drought and flood period length distribution observed in historical samples of the target watershed. Third, a sparse grid, which uses a sparse sequence with fewer grid points but wider coverage for low-resolution, fast-scanning scenarios.
[0033] The attenuation coefficient, denoted as λ, is a dimensionless coefficient used in the weighted cumulative precipitation calculation formula to adjust the attenuation rate of long-term precipitation weights. Its value ranges from 0.85 to 0.98, with a typical value of 0.90. The objective way to determine it is to scan the historical precipitation sequence of the target station within the range of 0.85 to 0.98 with a step size of 0.01, so that the value with the largest correlation coefficient between the calculated standardized weighted cumulative precipitation value and the soil moisture content observation sequence of the same period is taken as the optimal value. In arid and semi-arid regions, the value can be shifted towards 0.95 to extend the memory window, while in humid regions, the value can be shifted towards 0.88 to shorten the memory window.
[0034] The weighted number of days refers to the number of valid days back to the current day in the formula for calculating weighted cumulative precipitation, denoted as M. The value ranges from 30 to 90 days, with a typical value of 60 days. The objective way to determine it is the number of days required for the cumulative weight of the weighted sequence to reach 99% of the sum of the full weights when the attenuation coefficient is taken as a typical value. That is, M is taken as the smallest integer that makes 1 minus the attenuation coefficient raised to the power of M not less than 0.99. When the attenuation coefficient takes a larger value, M should be extended accordingly, and when it takes a smaller value, M should be shortened accordingly.
[0035] The threshold for determining sudden shift refers to the maximum intensity of sudden shift from drought to flood. The critical value used to determine whether a sudden shift from drought to flood has been triggered is denoted as... The value range is the target site. The 90th to 99th quantiles of the empirical distribution, with a typical value at the 95th quantile; its objective determination method is to calculate the entire historical daily series of the target site. Then, an empirical cumulative distribution function is constructed, and the function corresponding to the quantile of 0.95 is taken. For applications with high sensitivity to rainstorm warnings, the value can be adjusted down to the 90th percentile to improve the detection rate; for applications with scarce emergency resources, the value can be adjusted up to the 99th percentile to improve specificity.
[0036] Step S1 is responsible for calculating the weighted cumulative daily precipitation and the Standardized Weighted Cumulative Precipitation (SAPI) value. It obtains a daily precipitation sequence for the target station spanning over 30 years. For each day and the precipitation within a preset weighted number of days M prior, the daily weighted cumulative precipitation is obtained by weighting and summing the precipitation using a preset attenuation coefficient λ (number of days from the current day minus one power). The weighted sequence consists of λ raised to the zeroth power, the first power, up to M minus one power, where the attenuation coefficient λ is greater than 0 and less than 1. The input sequence can be from the national meteorological station basic meteorological element daily value dataset, the CHIRPS satellite inversion daily precipitation dataset, the ERA5 reanalysis daily precipitation dataset, the APHRODITE Asian daily precipitation grid dataset, etc. The sequence length is recommended to be no less than 30 years to ensure that the number of samples for the same calendar day over multiple years is no less than 30. Quality control measures should include at least the removal of negative precipitation values, verification of obviously abnormal high values, and interpolation of continuously missing data segments. Missing data interpolation can be implemented using methods such as the mean of previous and subsequent periods, Kriging spatial interpolation, and multi-source data fusion. The attenuation coefficient λ ranges from 0.85 to 0.98, with a typical value of 0.90, and the weighted number of days M ranges from 30 to 90 days, with a typical value of 60 days.
[0037] A Gamma distribution was fitted and normalized to the multi-year weighted cumulative precipitation samples for the same calendar day across the entire time series to obtain the daily standardized weighted cumulative precipitation value (SAPI). The shape and scale parameters of the Gamma distribution were estimated using the Thom approximation algorithm based on maximum likelihood estimation. The core calculation steps are as follows: First, zero values were removed from all multi-year weighted cumulative precipitation samples for the same calendar day, and the arithmetic mean of the non-zero samples was denoted as m, and the geometric mean as g. Second, a statistic was constructed using the logarithm of the ratio of the arithmetic mean to the geometric mean of the non-zero samples. The shape parameter estimate is derived from this statistic using the Thom approximation formula. Third, the scale parameter estimate is obtained by dividing the arithmetic mean of the non-zero samples by the shape parameter estimate. Fourth, samples with zero precipitation are processed using a zero precipitation frequency correction algorithm. That is, let the proportion of zero precipitation samples be q, and for non-zero precipitation samples... As the final cumulative probability, where G is the Gamma cumulative distribution function value calculated using the estimated shape parameter α and the estimated scale parameter β, the cumulative probability is taken for samples with zero precipitation. In addition to fitting based on the Gamma distribution (preferred in this invention), the SAPI implementation also includes two other methods: fitting based on the Pearson type III distribution (suitable for samples with strong skewness) and fitting based on the empirical cumulative distribution function (suitable for cases with extremely large sample sizes and difficult parameterization).
[0038] The above final cumulative probability P is transformed into a standard normal variable using an inverse normal distribution function, thereby obtaining the standardized weighted cumulative precipitation value SAPI of the sample. The inverse normal distribution function adopts the Hastings polynomial approximation algorithm, and the core calculation steps are as follows: when 0 < P ≤ 0.5, the intermediate quantity is set as , then ; when 0.5 < P < 1, the intermediate quantity t is calculated by replacing P in the above formula with 1 P, and the obtained result is given a positive sign; wherein the polynomial coefficients =2.515517, =0.802853, =0.010328, =1.432788, =0.189269, =0.001308. To avoid boundary divergence, a numerical lower bound is set for P during calculation and an upper bound 1 . Step S1 outputs a daily SAPI sequence as the input of step S2; Gamma fitting is performed independently on each calendar day, and the fitting for 365 calendar days can be executed in parallel. Typical implementations may use the stats.gamma.fit function in the SciPy library or the fitdistrplus package in the R language, and the present invention does not limit specific software libraries.
[0039] Step S2 undertakes the functions of performing two-dimensional window grid scanning to calculate drought-flood abrupt alternation intensity and taking extreme values, which is the core of the present invention. Its input is the daily SAPI sequence output by step S1, and its output is the daily maximum drought-flood abrupt alternation intensity sequence and the dominant rhythm label sequence of corresponding window pairs. A drought period length set and a flood period length set each containing at least three unequal day values are preset. The Cartesian product of all combinations of elements from the two sets forms a two-dimensional window grid, each grid point in the grid corresponds to a specific drought period length in days and a flood period length in days, and the total number of grid window pairs does not exceed 256. As shown in Figure 3 , on each day, elements of the preset drought period length set are used as outer loop indexes, and elements of the preset flood period length set are used as inner loop indexes. For each window pair, the arithmetic average of SAPI within the previous drought period length in days with the current day as the boundary is taken as the drought period standardized precipitation anomaly , the arithmetic average of SAPI within the subsequent flood period length in days is taken as the flood period standardized precipitation anomaly , and the drought-flood abrupt alternation intensity D under this window pair is calculated according to the formula , where λ is the attenuation coefficient described in step S1, and |·| represents taking the absolute value; after the inner and outer loops are completed, the maximum value of D is taken from all window pairs as the daily maximum drought-flood abrupt alternation intensity The lengths of the drought and flood periods for the corresponding window pairs are recorded as the dominant rhythm labels for the day.
[0040] The set of drought period lengths can be at least three of the following: 15 days, 20 days, 25 days, 30 days, 35 days, 40 days, 45 days, 50 days, 55 days, and 60 days. The set of flood period lengths can be at least three of the following: 5 days, 7 days, 10 days, 12 days, 15 days, and 20 days. The lower-level implementation of the two-dimensional window grid includes at least three types: uniform grid (constructed according to an arithmetic progression, preferred in this invention), adaptive grid (constructed according to the mode density area of the drought and flood period length distribution in historical samples, but not a non-arithmetic progression), and sparse grid (fewer grid points, wider coverage, used for low-resolution fast scanning). In addition to the above formula containing exponential modulation (preferred in this invention), the lower-level implementation of the drought-flood transition intensity also includes omitting the exponential modulation term. The form, and replacing the first term with the square of the difference. In order to strengthen the signal of a significant reversal. In one possible implementation, in... reduce The sign of the difference distinguishes the direction of the abrupt change: a positive difference not less than the abrupt change threshold indicates a drought-to-flood event; a negative difference not less than the absolute value of the difference indicates a flood-to-drought event. The formula for calculating the intensity of the drought-to-drought abrupt change is rewritten as follows: ,in The arithmetic mean of SAPI within the flood season window prior to that day. This is the SAPI arithmetic mean within the dry season window after that day. The computational complexity of the two-dimensional window raster scan is O(K x L x N), where K and L are the number of elements in the dry and flood season length sets, respectively, and N is the sequence length. Typically, when K is 5, L is 4, and N is 12000, a full sequence scan of a single station requires approximately 240,000 floating-point operations. A typical commercial CPU can handle this in less than 5 seconds with a single thread, and it can be parallelized on K x L threads. When computational resources are critical, sparse rasters can be used to quickly identify candidate event segments, followed by fine scanning of the candidate segments with dense rasters.
[0041] Step S3 is responsible for using the sliding window algorithm to identify the transition edge from low to high and outputting the start and end dates of the event, as well as the intensity and rhythm of the sharp turn. Its input is the daily output from step S2. Sequence and dominant rhythm label sequence. Preset sharp turn detection threshold. The sliding window algorithm is used to detect the first and second days that appear sequentially, so that the first day... Less than the threshold and on the second day Not less than the threshold; the second day is taken as the starting date of the sudden shift from drought to flood, and the first occurrence after the second day is taken as the starting date. The day less than the threshold is the event end date; the event's rapid rhythm is output by the rhythm label dominated by the start date, from the start date to the end date. The maximum value outputs the event sharp turn intensity. The sharp turn determination threshold is... The range of values is the target site. The 90th to 99th quantiles of the empirical distribution, and typically the 95th quantile, are objectively determined by calculating the entire historical daily series of the target site. The empirical cumulative distribution function is then constructed, taking the value corresponding to the 0.95 quantile. The value can also be obtained using the Kneedle inflection point detection algorithm. The inflection point on the empirical cumulative distribution curve is used as a threshold; the sliding window detection for the start and end dates of events can adopt a two-stage strategy of first expanding and then contracting to avoid single-day [incidents]. The event fragmentation caused by jitter can be combined with auxiliary indicators such as the duration of the event, the cumulative precipitation during the event, and the maximum single-day precipitation during the event to output a richer event feature vector. In one possible implementation, the identified drought-flood abrupt change events are further classified into three levels according to the intensity of the abrupt change: abrupt change in intensity falling into the first interval is a mild abrupt change event, falling into the second interval is a moderate abrupt change event, and falling into the third interval is a severe abrupt change event. The first, second, and third intervals do not overlap and increase sequentially. In another possible implementation, when this method is applied to a multi-site spatial expansion scenario, the entire set of processing steps, including weighted accumulation, Gamma fitting normalization, two-dimensional window grid scanning, and sliding window edge detection, is independently performed on each precipitation observation station within the preset target watershed. The latitude and longitude coordinates are used as an index to index each station. The dominant rhythm labels are aggregated daily station by station. An inverse distance-weighted spatial interpolation algorithm is used to generate a daily-scale raster map of the spatial distribution of drought-flood abrupt change intensity. Specifically, the Euclidean or great-circle distance from each grid point to be interpolated to all source observation stations is calculated. The drought-flood abrupt change intensity of each grid point is then weighted by a negative power of p of the distance, where p is typically 2. The dominant rhythm labels are selected using the nearest neighbor method, choosing the label closest to the source station as the output. The generated raster map of the spatial distribution of drought-flood abrupt change intensity is shown below. Figure 5 As shown.
[0042] This method is specific to operating conditions that should not trigger abrupt shifts between drought and flood events. When the target station is located in an arid or semi-arid region with excessively low annual precipitation (e.g., a station in the heart of the Hexi Corridor with an average annual precipitation of approximately 87 mm and over 92% of its daily values being zero precipitation), its SAPI sequence consistently lies on the arid semi-axis in spatial distribution, exhibiting standardized precipitation anomalies during the flood season. The positive significant shift was almost never achieved, resulting in the sum of the difference and the absolute value failing to simultaneously reach the level of stations in humid areas. These types of sites have consistently maintained a low level. The 95th percentile of the empirical distribution is only about 1.45, and no day in the entire sequence satisfies the first day. Less than the threshold and the second day The method correctly identifies a low-to-high transition edge, not less than the threshold, as a zero event, consistent with the meteorological department's assessment that such areas do not experience sudden shifts between flood and drought during the flood season. This is a spatially limited, non-triggered scenario. When the annual precipitation distribution at the target station is relatively uniform and there is no obvious single-peak dry season, such as a station in a tropical monsoon mountainous area with an average annual precipitation of about 2300 mm, mainly in the small to medium range, its SAPI sequence has limited fluctuations in the time dimension and its standard deviation is significantly smaller than that of sequences of the same length in North China and the middle and lower reaches of the Yangtze River. Within the weighted window, the accumulated deviation is always diluted by uniform precipitation and cannot form significant stretching at both ends. If the event consistently falls below the threshold, this method correctly identifies it as a zero event, which is a non-triggered scenario due to time fluctuation limitations. The two types of non-triggered scenarios described above are fundamentally different, but both are correctly identified as zero events by this method, collectively defining the specificity boundary of this method: this method only triggers real drought-flood transition events that exhibit both spatial stretching and dramatic temporal fluctuations; it correctly does not trigger scenarios that satisfy only one of these conditions or neither.
[0043] like Figure 2 As shown, the daily-scale drought-flood abrupt change event monitoring system of the present invention includes a memory and a processor at the hardware level. The memory can be any one or more combinations of dynamic random access memory, static random access memory, flash memory, hard disk drive, and solid-state drive. The processor can be any one or more combinations of general-purpose central processing unit, graphics processing unit, tensor processor, application-specific integrated circuit, and field-programmable gate array. The memory and the processor are connected through a bus interface. The memory stores a computer program, which, when executed by the processor, implements the steps of the above method. The system includes at least four functional modules: a precipitation data acquisition module, a standardized weighted cumulative precipitation calculation module, a two-dimensional window raster scanning module, and an abrupt change event identification and output module. The precipitation data acquisition module is used to acquire the daily precipitation sequence of the target station from data sources such as meteorological stations, satellite inversion products, and reanalysis datasets, and to perform quality control and missing data interpolation. The standardized weighted cumulative precipitation calculation module is used to perform the weighted cumulative and Gamma-fit normalization and output the daily SAPI. The two-dimensional window raster scanning module is used to calculate the daily precipitation on the two-dimensional window raster. Along with the dominant rhythm label; the abrupt change event identification and output module is used to identify the start and end dates of events using a sliding window algorithm, output the abrupt change rhythm and intensity of the events, and perform three-level hierarchical output according to preset intervals. The modules are sequentially connected via data interfaces, with the output of one module serving as the input of the next. In multi-site spatial expansion scenarios, the system may also include a spatial interpolation module, used to generate raster maps by inverse distance weighted spatial interpolation of the event outputs from each site according to latitude and longitude coordinates. The computer-readable storage medium of this invention can be a non-volatile storage medium, specifically a USB flash drive, portable hard drive, read-only memory, random access memory, magnetic disk, or optical disk, or any other carrier capable of storing computer programs.
[0044] As an end-to-end embodiment of the method described in this invention, using the daily precipitation sequence of the Zhengzhou meteorological station from January 1, 1991 to December 31, 2023 (a total of 33 years) as input data, this demonstrates the complete monitoring process of the method of this invention for a typical drought-flood transition event with a long drought followed by short heavy rainfall in the North China Plain. The overall process of the method is as follows: Figure 1 As shown. The daily precipitation sequence of Zhengzhou station contains 12,053 records. The data comes from the national meteorological station basic meteorological element daily value dataset, which includes two fields: date and precipitation. The precipitation unit is millimeters. The original sequence has undergone basic quality control processing, and missing days are imputed using the average of the same period 7 days before and after. The parameters in this embodiment are set as follows: the attenuation coefficient λ is a typical value of 0.90; the weighted number of days M is 60 days; the drought period length set includes 7 values: 30 days, 35 days, 40 days, 45 days, 50 days, 55 days, and 60 days; the flood period length set includes 4 values: 5 days, 7 days, 10 days, and 12 days; the two-dimensional window grid has 7 multiplied by 4, which equals 28 window pairs; the abrupt change judgment threshold. Take the complete history of this station The 95th percentile of the empirical distribution of the sequence is 4.82.
[0045] Step S1 execution process: For each day t, backtrack 60 days from that day, using 0.90 raised to the power of 0, 1, 2 up to 59 as weight sequences, and sum the corresponding 60-day precipitation to obtain the weighted cumulative precipitation for that day; then, perform Gamma fitting and normalization on the multi-year samples of the same calendar day in the entire sequence to obtain the SAPI sequence. Taking July 30, 2014 as an example, the Gamma fitting and normalization process is fully explained: The arithmetic mean m of the non-zero samples of the multi-year weighted cumulative precipitation on July 30 calendar day in the 33-year sequence is 180 mm, and the geometric mean g is 152 mm. Construct a statistic. The estimated shape parameters are obtained from the Thom approximation formula. Scale parameter estimate The weighted cumulative precipitation on July 30, 2014, was 42.7 mm. Substituting this into the Gamma cumulative distribution function with shape parameter 3.12 and scale parameter 57.7, the cumulative distribution function value G is approximately 0.033. The proportion of zero precipitation samples on this day is approximately 0.02. After zero precipitation frequency correction, the final cumulative probability is obtained. Substituting P=0.052 into Hastings's counternormal distribution function, since P is less than 0.5, let the intermediate value be... ,have to The SAPI value for July 30, 2014, was -1.62, indicating a significant cumulative drought condition on that day. This process sequentially connects the four core calculation steps described in S1: weighted accumulation, Gamma parameter estimation, zero precipitation frequency correction, and inverse state transformation.
[0046] Step S2 execution process: To illustrate the two-dimensional window raster scanning process, this section selects the event... The demonstration shows the date July 30, 2014, when the maximum value was obtained. The intensity of the rapid transition from drought to flood was calculated for 28 windows on July 30, 2014. Specifically, for windows with a drought period of 50 days and a flood period of 5 days... The arithmetic mean of SAPI over the previous 50 days is -1.74. The arithmetic mean of the SAPI values for the following 5 days is 1.95. Subtracting -1.74 from the difference of 1.95 equals 3.69; summing the absolute values of 1.95 plus 1.74 equals 3.69; and the absolute value of the sum of -1.95 and -1.74 (0.90 raised to the power of 0.21) equals 1.022. The product of these three values is 13.92, the maximum value among the 28 window pairs for that day. The results for the other window pairs are all less than this value; for example, 8.46 for a 30-day drought period and 10-day flood period, 11.92 for a 60-day drought period and 5-day flood period, and 9.78 for a 50-day drought period and 12-day flood period. Therefore, the value for July 30, 2014... The value was 13.92, with the dominant rhythm label being 50 days of drought and 5 days of flood.
[0047] Step S3 execution process: Daily scanning of the entire 33-year sequence of this station. The sliding window algorithm is used to detect the first and second days that appear sequentially, so that the first day... Less than 4.82 and the second day Not less than 4.82. Regarding the 2014 case, July 28, 2014... The value of 4.31 is less than the threshold, July 29, 2014. Since the value is 5.06, which is not less than the threshold, July 29, 2014, is taken as the starting date of the abrupt shift from drought to flood; subsequently, August 11, 2014... The value dropped back to 4.20, which is below the threshold, so August 10, 2014, was taken as the event end date; the dominant rhythm label for the starting date, July 29, 2014, was 50 days of drought and 5 days of flood, with the story event's rapid rhythm output being 50 plus 5; between July 29 and August 10 The maximum value was 13.92 on July 30th, and the story item's rapid power output was 13.92.
[0048] like Figure 4 As shown in the figure, this station has been operating for many years. In terms of time series, the start and end dates of the 2014 case event identified by the method of this invention are highly consistent with the occurrence period of the drought-flood transition disaster report issued by the meteorological department. As a baseline comparison, using the existing DWAAI index (fixed drought period of 44 days and flood period of 10 days) to calculate the same sequence, the DWAAI value for July 29, 2014 was 7.83, which is far lower than the 9.65 given by this method when the threshold is typically taken as the 95th percentile. Therefore, the existing method missed reporting this event. This embodiment verifies the effective identification capability of the method of this invention for drought-to-flood events with a long drought followed by short heavy rainfall rhythm. In the past 33 years, the station has identified 11 such drought-to-flood events with a long drought followed by short flood rhythm, of which 8 have a start and end date deviation of no more than 2 days from the drought-to-flood transition disaster report issued by the meteorological department. The start and end dates of the events identified in this embodiment, along with the intensity of the sudden change, can be directly connected to the emergency drainage dispatch system of the North China Plain irrigation area. The contingency plan is triggered the day after the start date of the event, allowing the irrigation area to prepare drainage facilities 2 to 4 days in advance, significantly reducing the area of waterlogging caused by the superposition of subsequent short-duration heavy rainfall and the previous continuous drought and soil compaction.
[0049] To fully verify the effectiveness of the method of this invention, the following description is provided from five aspects: comparison with public datasets, multi-day testing in actual deployment, comparison of computing resource latency, ablation experiment of core mechanism, and sensitivity experiment of key threshold. The comparison object is the existing mainstream daily-scale drought-flood abrupt change index, represented by the DWAAI version with a fixed drought period of 44 days and a flood period of 10 days. In terms of comparison with publicly available datasets, using the China Surface Meteorological Station Daily Precipitation Dataset V3.0 and the APHRODITE Asian Daily Precipitation Grid Dataset provided by the National Meteorological Information Center, 48 representative stations from each of the six climate zones (North China, Middle and Lower Yangtze River, South China, Huaihe River, East China, and Southwest China) were selected. The meteorological department's reports on sudden shifts in drought and flood disasters were used as the ground truth events. The detection rate and start / end date deviation of each method for the ground truth events were statistically analyzed: the detection rate of the method in this invention was 88.5%, with an average start / end date deviation of 1.4 days; the detection rate of the DWAAI fixed window method was 62.3%, with an average start / end date deviation of 4.7 days; and the detection rate of the long-period and short-period monthly scale drought-flood shift indices was 41.7%, with no ability to pinpoint specific start and end dates. The method in this invention significantly outperformed the baseline in both detection rate and start / end date positioning accuracy.
[0050] In terms of real-world deployment and multi-day testing, the method of this invention and the DWAAI fixed window method were deployed in parallel in the actual meteorological operational systems of three stations in Zhengzhou, Wuhan, and Guangzhou. They ran continuously for 1310 days from June 1, 2020 to December 31, 2023. A total of 86 events were triggered at the three stations. The method of this invention successfully identified 78 of them, and the DWAAI fixed window method successfully identified 51 of them. The event recognition success rate of the method of this invention was approximately 90.7%, and the median error distribution was 1 day deviation. In terms of computational resource latency comparison, on a workstation platform configured with a single-core Intel Xeon Gold 6248R processor and 32GB of memory, using approximately 13,880 records of a 38-year daily sequence from a single station as input, the end-to-end computation time of the method of this invention is approximately 6.2 seconds, of which S1 accounts for 4.1 seconds, S2 accounts for 1.8 seconds, and S3 accounts for 0.3 seconds. The end-to-end computation time of the existing DWAAI fixed window method is approximately 4.7 seconds. The additional time of approximately 1.5 seconds of the method of this invention mainly comes from the scanning calculation of the two-dimensional window grid, which can be further compressed to less than 2 seconds when implemented in parallel.
[0051] In the core mechanism ablation experiment, to verify the essential difference between the two-dimensional window grid scanning mechanism of this invention and a single fixed window, three variants were tested on a 48-site dataset: Variant 1 disables two-dimensional grid scanning, fixes the dry season at 44 days and the flood season at 10 days, thus degenerating into the traditional DWAAI form; Variant 2 retains only the dry season length set scan and fixes the flood season length at 10 days; Variant 3 retains only the flood season length set scan and fixes the dry season length at 44 days. The event detection rates of the three variants were 62.3%, 74.8%, and 71.5%, respectively, all significantly lower than the 88.5% of the method of this invention. This ablation experiment proves that the improvement of two-dimensional window grid scanning over single-dimensional scanning or fixed windows cannot be replaced by any single dimension, that is, the joint scanning of the two dimensions of dry and flood seasons is the core innovative component of the method of this invention. In the critical threshold sensitivity experiment, the sharp turn judgment threshold was scanned on the 48-site dataset. The value variation within the range of the 90th to 99th quantiles, with a step size of 1 quantile: when When the 95th quantile is used, the detection rate reaches 88.5% and the false alarm rate is 6.3%. When the quantile is increased to 97, the detection rate decreases to 81.2% and the false alarm rate decreases to 3.8%. When the quantile is decreased to 92, the detection rate increases to 91.7% but the false alarm rate increases to 11.5%. The slope of the curve is the gentlest near the 95th quantile, which means that this method has good robustness to small perturbations of the threshold near the typical threshold, verifying that the 95th quantile is reasonable as a typical value.
[0052] The following outlines several boundary conditions and anomaly handling schemes that may be encountered during the engineering deployment of the method of this invention, to ensure the robustness of the method in long-term continuous operation scenarios. Regarding the initial state when the SAPI sequence is first constructed, since Gamma fitting requires at least 30 years of samples from the same calendar day, the SAPI fitting stability of the first 30 years of the newly deployed site sequence may be insufficient. It is recommended that the SAPI sequence be marked as an intermediate state to be evaluated for the first 30 years of the initial deployment, used only for the cumulative update of the internal Gamma parameter, and not output to downstream event identification. The SAPI sequence output should only be officially enabled after 30 years of accumulation. Regarding the boundary handling for zero precipitation, the Gamma distribution is singular at zero, and directly fitting samples containing zero precipitation can lead to parameter explosion. This method employs a zero precipitation frequency correction algorithm. Specifically, let the proportion of zero precipitation samples be q. In the cumulative distribution function calculation, the cumulative probability q for zero precipitation samples is divided by 2, and for non-zero precipitation samples, q is incremented by 1, subtracted from q, and multiplied by the Gamma cumulative distribution probability to obtain the final cumulative probability, which is then substituted into the inverse distribution function. This processing avoids the destruction of Gamma fitting by zero samples. The boundary handling for minima and maxima is similar, setting a lower numerical bound. minus 1 from the upper bound To avoid the boundary divergence of the inverse distribution function.
[0053] Regarding system restart and persistent loading, this system utilizes SAPI sequences and Gamma fitting parameters during long-term runtime. All sequences must be persisted to disk to support state recovery after system restart. After restarting and loading, the system should perform a correction scan, that is, based on the system's current clock, perform weighted accumulation, Gamma-fitted normalization, two-dimensional window raster scan and sliding window edge detection on the newly added precipitation data from the most recent persistence time to the current time, and recalculate the SAPI and And with the new The value check determines whether an alarm for the event start date needs to be reissued. Regarding clock jumps and system time discontinuities, false intervals may occur when timestamp jumps are caused by manual system time synchronization or network clock synchronization. It is recommended that the timestamp of each newly added precipitation record be monotonically increased compared to the timestamp of the previous record at the data acquisition module level. Records that are not monotonically increasing should be marked as suspected clock jumps and temporarily stored for review before being included in the formal SAPI calculation. The specific verification includes three sub-steps: First, the timestamp of the new record should be strictly greater than the timestamp of the previous record, and the difference should be an integer multiple of 86,400 seconds, allowing a drift tolerance of ±3,600 seconds for daylight saving time switching; Second, if the timestamp rolls back, i.e., the timestamp of the new record is earlier than the timestamp of an existing record, it should be directly rejected and recorded in the exception log; Third, if the timestamp jumps forward, i.e., the difference between the new record and the previous record exceeds 7 days, the missing data segment processing procedure should be triggered instead of directly filling with zero values. In case of long-term failure of core operations, if a station fails to obtain effective precipitation data for N consecutive days (typically N is 30), the SAPI calculation of this method will be unable to continue. In this case, it is recommended to perform the following fallback degrade order: First, relax the missing data interpolation method and upgrade from the mean method of the previous and subsequent periods to the multi-source data fusion method to introduce satellite inversion precipitation or precipitation from neighboring stations to fill the gap; second, if multi-source fusion still cannot compensate, temporarily mark the SAPI output as suspended and not participate in downstream event identification; finally, if the data interruption exceeds 90 days, trigger system reconstruction and restart SAPI accumulation with a new data starting point.
[0054] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any equivalent substitutions, modifications, variations, and improvements made by those skilled in the art without departing from the technical concept of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for monitoring rapid shifts between drought and flood on a daily scale, characterized in that, include: S1. Obtain the daily precipitation sequence of the target station for more than 30 consecutive years; for the precipitation within a preset weighted number of days before each day, calculate the weighted cumulative precipitation by subtracting a power from the number of days from the current day from the preset attenuation coefficient λ; perform Gamma fitting and normalization on the multi-year samples of the same calendar day in the entire sequence to obtain the daily standardized weighted cumulative precipitation value SAPI, where the attenuation coefficient λ is greater than 0 and less than 1; S2. Pre-define a dry season length set and a flood season length set, each containing at least three distinct days. Combine all elements from both sets to form a two-dimensional window grid, with the total number of grid window pairs not exceeding 256. For each day, on each window pair, take the SAPI arithmetic mean of the preceding dry season length days, with that day as the dividing line, as the drought-standardized precipitation anomaly. The arithmetic mean of SAPI precipitation over the length of the flood season is taken as the standardized precipitation anomaly for the flood season. According to the formula Calculate the intensity D of the sudden shift from drought to flood for this window, where λ is the attenuation coefficient described in S1, and |·| represents taking the absolute value; traverse all window pairs and take the maximum value of D as the maximum intensity of the sudden shift from drought to flood for that day. And record the length of the drought period and the length of the flood period in the corresponding window as the dominant rhythm label for the day; S3. Preset a sharp reversal threshold; use a sliding window algorithm to detect the first and second days occurring sequentially, ensuring that the first day... Less than the threshold and on the second day Not less than the threshold; the second day is taken as the starting date of the sudden shift from drought to flood, and the first occurrence after the second day is taken as the starting date. The day less than the threshold is the event end date; the event's rapid rhythm is output by the rhythm label dominated by the start date, from the start date to the end date. The maximum value outputs the event abrupt change intensity.
2. The method according to claim 1, characterized in that, The attenuation coefficient ranges from 0.85 to 0.98, and the weighted number of days ranges from 30 to 90 days.
3. The method according to claim 1, characterized in that, The set of drought period lengths includes at least three of the following: 15 days, 20 days, 25 days, 30 days, 35 days, 40 days, 45 days, 50 days, 55 days, and 60 days. The set of flood period lengths includes at least three of the following: 5 days, 7 days, 10 days, 12 days, 15 days, and 20 days.
4. The method according to claim 1, characterized in that, The abrupt change judgment threshold is determined in the following way: calculated from all historical daily sequences of the target site. Then, an empirical distribution is taken, and the 90th to 99th percentile of the empirical distribution is used as the range of the sharp turn determination threshold.
5. The method according to claim 1, characterized in that, S1 involves performing Gamma fitting on multi-year samples of the same calendar day across the entire sequence. Specifically, this includes: estimating the shape and scale parameters of the Gamma distribution using the maximum likelihood estimation algorithm for all multi-year weighted cumulative precipitation samples of the same calendar day; processing samples with zero precipitation using the zero precipitation frequency correction algorithm before substituting them into the cumulative distribution function; and transforming the cumulative distribution probability value into a standardized weighted cumulative precipitation value using the inverse distribution function.
6. The method according to claim 1, characterized in that, In S2, reduce The sign of the obtained difference distinguishes the direction of the abrupt change: when the difference is positive and not less than the abrupt change judgment threshold, it is judged as a drought-to-flood event; when the difference is negative and its absolute value is not less than the abrupt change judgment threshold, it is judged as a flood-to-drought event. For the aforementioned flood-to-drought event, the calculation formula for the intensity of the rapid shift from drought to flood is rewritten in step S2 as follows: And execute S3.
7. The method according to claim 1, characterized in that, The S3 further includes classifying the identified drought-flood transition events according to the intensity of the transition: events with a transition intensity falling into the first interval are classified as mild transition events; events with a transition intensity falling into the second interval are classified as moderate transition events. A sudden change in intensity falling into the third interval is considered a severe sudden change event; the first, second, and third intervals do not overlap and increase sequentially.
8. The method according to claim 1, characterized in that, When the method is applied to a multi-site spatial expansion scenario, steps S1 to S3 are executed independently for each precipitation observation station within the preset target watershed, and the maximum drought-flood transition intensity of each station is determined using latitude and longitude coordinates as an index. The dominant rhythm labels are summarized on a daily, station-by-station basis, and an inverse distance weighted spatial interpolation algorithm is used to generate a daily-scale raster map of the spatial distribution of drought-flood transition intensity.
9. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.
10. A daily-scale drought-flood transition event monitoring system, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, implements the steps of the method according to any one of claims 1 to 8.
