A precipitation bias correction method, device, equipment, medium and product

By combining PCA and linear regression, ECMWF-predicted precipitation data was corrected, which solved the bias problem of dynamic models in summer precipitation prediction in some regions and achieved higher prediction accuracy and stability.

CN123158588APending Publication Date: 2026-11-24INST OF ATMOSPHERIC PHYSICS CHINESE ACADEMY SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611368798.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing dynamic models exhibit significant biases and instabilities in summer precipitation forecasts in some regions. Traditional correction methods are inaccurate and fail to improve the accuracy and stability of precipitation forecasts.

Method used

The ECMWF-predicted precipitation data were corrected using PCA extraction model, feature-label mapping model, and linear regression method. By acquiring real-time forecast data, the precipitation anomaly percentage was calculated, principal components were extracted using PCA, and corrections were made using feature-label mapping model and linear regression to improve prediction accuracy.

Benefits of technology

This improved the accuracy and stability of dynamic models in predicting summer precipitation in some regions, and enhanced the reliability of the prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158588A_ABST
    Figure CN123158588A_ABST
Patent Text Reader

Abstract

The application discloses a precipitation deviation correction method and device, equipment, medium and product, and relates to the field of precipitation prediction. The method comprises the following steps: calculating the monthly ECMWF prediction precipitation anomaly percentage of the real-time prediction year according to the ECMWF prediction precipitation data of the real-time prediction year; grouping based on the monthly ECMWF prediction precipitation anomaly percentage of the real-time prediction year to obtain grouping data; obtaining the principal component of the monthly ECMWF prediction precipitation anomaly percentage of the real-time prediction year based on the grouping data and using a PCA extraction model; obtaining the station precipitation anomaly percentage prediction value based on the principal component of the monthly ECMWF prediction precipitation anomaly percentage of the real-time prediction year and using a trained feature-label mapping model; and correcting based on the station precipitation anomaly percentage prediction value and using a linear regression method. The application can improve the accuracy and stability of precipitation prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of precipitation forecasting, and in particular to a method, apparatus, equipment, medium, and product for correcting precipitation deviations. Background Technology

[0002] Monthly to seasonal precipitation forecasts based on dynamical models have become one of the main methods for short-term climate prediction. However, due to the incompleteness of dynamical models, their forecasting accuracy exhibits significant regional and seasonal variations. Over the past few years, real-time operational forecasts of summer precipitation have shown significantly lower forecasts in some areas, and in others, forecasts completely contradict reality. To improve the accuracy of summer precipitation forecasts in certain regions, it is necessary to revise the forecasts based on the most mature existing dynamical models for these areas.

[0003] Due to the complexity of summer precipitation and its interannual variation in some regions, traditional dynamical model statistical correction methods and combined dynamical-statistical correction methods are mostly based on linear regression models, resulting in unstable correction effects and poor accuracy. Therefore, a method that can improve the accuracy and stability of precipitation forecasting is needed. Summary of the Invention

[0004] The purpose of this application is to provide a precipitation deviation correction method, apparatus, equipment, medium, and product that can improve the accuracy and stability of precipitation forecasting.

[0005] To achieve the above objectives, this application provides the following solution: In a first aspect, this application provides a method for correcting precipitation deviations, including: Obtain real-time ECMWF-predicted precipitation data for the forecast year; Calculate the percentage of monthly predicted precipitation anomalies in the ECMWF for the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year. Grouping is performed based on the percentage of ECMWF monthly predicted precipitation anomalies for the real-time forecast year to obtain grouped data; Based on the grouped data, the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year were obtained by extracting the model using PCA. Based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year, the station precipitation anomaly percentage forecast value is obtained using a trained feature-label mapping model. Based on the predicted precipitation anomaly percentage values ​​from the aforementioned stations, a linear regression method was used to correct the results, resulting in the final ECMWF monthly predicted precipitation anomaly percentage correction.

[0006] In one embodiment, calculating the percentage of monthly predicted precipitation anomalies in the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year specifically includes: The ECMWF predicted precipitation data for the real-time forecast year is converted to obtain the ECMWF predicted precipitation after conversion. Based on the converted units, the ECMWF predicted precipitation anomaly percentage for the real-time forecast year is calculated.

[0007] In one embodiment, the data is grouped based on the percentage of monthly predicted precipitation anomalies in the real-time forecast year's ECMWF, specifically including: The percentage of monthly predicted precipitation anomalies in the real-time forecast year ECMWF is grouped according to a set number of members to obtain grouped data.

[0008] In one embodiment, based on the grouped data, a PCA model is used to extract the principal components of the percentage of monthly predicted precipitation anomalies in the real-time forecast year using ECMWF, specifically including: Logarithmic transformation is performed on the grouped data to obtain logarithmic data; Based on the logarithmic data, the PCA model was used to extract the principal components of the ECMWF monthly precipitation anomaly percentage for the real-time forecast year.

[0009] In one embodiment, based on the principal components of the monthly predicted precipitation anomaly percentage of the real-time forecast year's ECMWF, a trained feature-label mapping model is used to obtain the predicted precipitation anomaly percentage value for each station, specifically including: Based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year, the label forecast value is calculated using a trained feature-label mapping model. The inverse logarithmic transformation of the label forecast values ​​yields the forecast values ​​of the station precipitation anomaly percentage.

[0010] In one embodiment, the predicted percentage of precipitation anomalies from the stations is corrected using a linear regression method to obtain the final ECMWF monthly predicted percentage of precipitation anomalies, specifically including: The ensemble mean is obtained by taking the ensemble mean of all the predicted precipitation anomaly percentages for the aforementioned stations. The mean of the set was used as the final ECMWF monthly precipitation anomaly percentage correction result.

[0011] Secondly, this application provides a precipitation deviation correction device, comprising: The acquisition module is used to acquire real-time ECMWF predicted precipitation data for the forecast year; The calculation module is used to calculate the percentage of ECMWF monthly predicted precipitation anomaly for the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year. The grouping module is used to group the data based on the percentage of ECMWF monthly predicted precipitation anomalies for the real-time forecast year, thereby obtaining grouped data. The extraction module is used to extract the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year based on the grouped data using the PCA extraction model. The mapping module is used to obtain the station precipitation anomaly percentage forecast value based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year using a trained feature-label mapping model. The correction module is used to correct the forecasted percentage of precipitation anomalies at the stations using a linear regression method, and obtain the final ECMWF monthly forecast precipitation anomaly correction result.

[0012] Thirdly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the precipitation deviation correction method.

[0013] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the precipitation deviation correction method described above.

[0014] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the precipitation deviation correction method.

[0015] According to the specific embodiments provided in this application, the following technical effects are disclosed: This application provides a method, apparatus, equipment, medium, and product for correcting precipitation bias. By combining PCA extraction model, feature-label mapping model, and linear regression method to correct prediction results, it explores the correlation between dynamic model prediction and observation, thereby improving the accuracy and stability of prediction. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is an application environment diagram of a precipitation deviation correction method in one embodiment of this application; Figure 2 A schematic flowchart illustrating a precipitation deviation correction method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the functional modules of a precipitation deviation correction device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0018] Using machine learning methods to uncover the correlation between dynamic pattern predictions and observations, and thus to find effective methods to correct dynamic pattern predictions, has become a major trend in improving dynamic pattern prediction skills.

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0021] The precipitation deviation correction method provided in this application can be applied to, for example... Figure 1The application environment shown is illustrated. Terminal 101 communicates with server 102 via a network. A data storage system can store the data that server 102 needs to process. The data storage system can be set up independently, integrated into server 102, or placed in the cloud or on another server. Terminal 101 can send real-time ECMWF predicted precipitation data for the forecast year to server 102. Server 102 receives the real-time ECMWF predicted precipitation data for the forecast year, calculates the percentage anomaly of the monthly ECMWF predicted precipitation for the forecast year based on the real-time ECMWF predicted precipitation data, groups the data based on the percentage anomaly of the monthly ECMWF predicted precipitation for the forecast year, obtains grouped data, extracts the principal components of the percentage anomaly of the monthly ECMWF predicted precipitation for the forecast year using PCA, obtains the station precipitation anomaly percentage forecast values ​​based on the principal components of the percentage anomaly of the monthly ECMWF predicted precipitation for the forecast year using a trained feature-label mapping model, and corrects the station precipitation anomaly percentage forecast values ​​using a linear regression method to obtain the final corrected percentage anomaly of the monthly ECMWF predicted precipitation. Server 102 can feed back the obtained final corrected percentage anomaly of the monthly ECMWF predicted precipitation to terminal 101. In addition, in some embodiments, precipitation bias correction can also be implemented separately by server 102 or terminal 101. For example, terminal 101 can directly perform precipitation bias correction on the ECMWF predicted precipitation data of the real-time forecast year to be processed, or server 102 can perform precipitation bias correction from the data storage system.

[0022] The terminal 101 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 102 can be implemented using a standalone server or a server cluster composed of multiple servers, or it can be a cloud server.

[0023] In one exemplary embodiment, such as Figure 2 As shown, a precipitation deviation correction method is provided. This method is executed by a computer device, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is applied to... Figure 1 Taking server 102 as an example, the following steps are included.

[0024] Step 201: Obtain real-time forecast precipitation data from the European Centre for Medium-Range Weather Forecasts (ECMWF).

[0025] Step 202: Calculate the percentage of monthly predicted precipitation anomaly in the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year.

[0026] Step 203: Group the data based on the percentage of monthly predicted precipitation anomalies in the real-time forecast year ECMWF to obtain grouped data.

[0027] Step 204: Based on the grouped data, use PCA to extract the model and obtain the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year.

[0028] Step 205: Based on the principal components of the monthly predicted precipitation anomaly percentage of the real-time forecast year ECMWF, the station precipitation anomaly percentage forecast value is obtained using the trained feature-label mapping model.

[0029] Step 206: Based on the predicted precipitation anomaly percentage from the stations, a linear regression method is used to correct the result, and the final ECMWF monthly predicted precipitation anomaly percentage correction result is obtained.

[0030] In an exemplary embodiment, calculating the percentage of monthly ECMWF precipitation anomaly for the real-time forecast year based on the ECMWF precipitation data for the real-time forecast year specifically includes: converting the ECMWF precipitation data for the real-time forecast year to obtain ECMWF precipitation with converted units; and calculating the percentage of monthly ECMWF precipitation anomaly for the real-time forecast year based on the ECMWF precipitation with converted units.

[0031] In an exemplary embodiment, grouping based on the percentage of monthly predicted precipitation anomalies in the real-time forecast year ECMWF to obtain grouped data specifically includes: grouping the percentage of monthly predicted precipitation anomalies in the real-time forecast year ECMWF according to a set number of members to obtain grouped data.

[0032] In an exemplary embodiment, the principal components of the ECMWF monthly forecast precipitation anomaly percentage for the real-time forecast year are obtained by using a PCA model based on the grouped data. Specifically, this includes: performing a logarithmic transformation (denoted as logarithmic transformation) on the grouped data to obtain logarithmic data; and using a PCA model based on the logarithmic data to obtain the principal components of the ECMWF monthly forecast precipitation anomaly percentage for the real-time forecast year.

[0033] In an exemplary embodiment, based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year, a trained feature-label mapping model is used to obtain the station precipitation anomaly percentage forecast value. Specifically, this includes: calculating the label forecast value based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year using the trained feature-label mapping model; and performing an inverse logarithmic transformation on the label forecast value to obtain the station precipitation anomaly percentage forecast value.

[0034] In an exemplary embodiment, the final ECMWF monthly forecast precipitation anomaly percentage is corrected using a linear regression method based on the station precipitation anomaly percentage forecast values. Specifically, this includes: calculating the ensemble mean of all the station precipitation anomaly percentage forecast values ​​to obtain the ensemble mean; and using the ensemble mean as the final ECMWF monthly forecast precipitation anomaly percentage correction result.

[0035] This application provides a precipitation bias correction method based on the ECMWF model combining PCA, XGBoost, and linear regression, focusing on specific regions and addressing the technical challenge of improving the accuracy of ECMWF's summer monthly precipitation forecasts for those regions.

[0036] In another exemplary embodiment, a precipitation bias correction method is provided, encompassing the overall process from model training to actual prediction, including the following.

[0037] 1. Data used.

[0038] (1) Monthly precipitation data observed by some stations (hereinafter referred to as station precipitation), with a data length of 1981-2025.

[0039] (2) ECMWF monthly forecast precipitation (hereinafter referred to as ECMWF monthly forecast precipitation) data, with a data length of 1981-2026. Among them, 1981-2016 is the hindcast period with 25 forecast members; 2017-2026 is the real forecast period with 51 forecast members.

[0040] (3) Returned ECMWF monthly forecast precipitation climate data.

[0041] 2. Preprocessing of station observation data and forecast data.

[0042] 2.1 Percentage of precipitation anomaly at stations.

[0043] In short-term climate forecasting operations, monthly (seasonal) precipitation anomaly percentages are typically used to represent the amount of monthly (seasonal) precipitation. Therefore, it is necessary to convert station precipitation data into station precipitation anomaly percentages.

[0044] As recommended by the World Meteorological Organization, the statistical average of the station precipitation (preci_station) over the most recent 30 consecutive years (1991-2020) is taken as the climatological state of station precipitation (preci_station _clm).

[0045] Precipitation anomaly percentage at a station = (preci_station - preci_station_clm) / preci_station_clm.

[0046] 2.2 Percentage of ECMWF monthly forecast precipitation anomaly.

[0047] 2.2.1 ECMWF Monthly Precipitation Unit Conversion.

[0048] The ECMWF monthly precipitation forecast is in meters per second (m / s), while the station precipitation is in millimeters (mm). To ensure consistency between the ECMWF monthly precipitation forecast and the station precipitation unit (mm), a unit conversion is required. Multiply the ECMWF monthly precipitation forecast in meters per second by a conversion factor R (R = N * 86400, where N is the number of days in the forecast month and 86400 is the total number of seconds per day) to obtain the ECMWF monthly precipitation forecast in mm.

[0049] 2.2.2 ECMWF Monthly Precipitation Climate Pattern

[0050] ECMWF only provides returned predicted precipitation climate data, lacking predicted precipitation climate data for 1991-2020. Therefore, the returned ECMWF predicted precipitation climate data is used as the ECMWF predicted precipitation climate state (predict_clm). Similarly, the data units are converted and multiplied by the conversion factor R to obtain the returned ECMWF monthly predicted precipitation climate state in mm.

[0051] 2.2.3 ECMWF monthly forecast precipitation anomaly percentage.

[0052] The percentage of ECMWF monthly precipitation anomalies is obtained by subtracting the returned ECMWF monthly precipitation climatology from each ECMWF monthly precipitation forecast member and then dividing by the returned ECMWF monthly precipitation climatology. The calculation formula is as follows: ECMWF monthly forecast precipitation anomaly percentage = (ECMWF monthly forecast precipitation - predict_clm) / predict_clm.

[0053] 2.2.4 ECMWF monthly forecast precipitation anomaly percentage interpolated to stations.

[0054] To facilitate comparison and evaluation of the effectiveness of the ECMWF monthly precipitation anomaly percentage, it is necessary to interpolate the ECMWF monthly precipitation anomaly percentage to the observation stations, thereby obtaining the ECMWF monthly precipitation anomaly percentage for each station (abbreviated as ECMWF monthly precipitation anomaly percentage).

[0055] During the interpolation of the ECMWF monthly precipitation anomaly percentage to the station data, there may be instances where the interpolated ECMWF monthly precipitation anomaly percentage is less than -1.0, which is unreasonable. Before correction, the interpolated ECMWF monthly precipitation value needs to be adjusted. If the interpolated ECMWF precipitation anomaly percentage is less than -1.0, it should be corrected to -1.0.

[0056] 2.3 Logarithmic transformation was performed on the percentage of precipitation anomalies at the stations and the percentage of monthly predicted precipitation anomalies by ECMWF.

[0057] To make the station precipitation anomaly percentage and the ECMWF monthly predicted precipitation anomaly percentage approach a Gaussian distribution, before extracting the principal components of the ECMWF monthly predicted precipitation anomaly percentage and establishing the feature-label mapping model using the XGBoost regression model, it is necessary to perform a logarithmic transformation (denoted as logarithmic transformation) on both the station precipitation anomaly percentage and the ECMWF monthly predicted precipitation anomaly percentage, to obtain the logarithmic station precipitation anomaly percentage and the ECMWF monthly predicted precipitation anomaly percentage.

[0058] The logarithmic transformation function used in the correction method provided in this application is numpy.log1p(x+1), where x is the station precipitation anomaly percentage or the ECMWF monthly predicted precipitation anomaly percentage.

[0059] 3. Dataset partitioning.

[0060] For training modeling, model performance verification, and real-time prediction, the 1981-2026 dataset was divided into three parts: (1) Training set, 1981-2016, used to obtain the principal component PCA extraction model of the percentage of ECMWF monthly precipitation anomaly in the return year and to train the model using XGBoost; (2) Test set, 2017-2025, used to verify the correction effect of the ECMWF monthly precipitation correction model for real-time forecast years; (3) Data for 2026 is for real-time prediction.

[0061] 4. Logarithmically transformed ECMWF monthly forecast precipitation anomaly percentage principal component PCA extraction model.

[0062] 4.1 Perform shape transformation on the logarithmized ECMWF monthly precipitation anomaly percentage variable of the training set.

[0063] Since the PCA function is only applicable to 2D array calculations, a shape transformation needs to be performed on the logarithmically transformed ECMWF monthly precipitation anomaly percentage in the training set to convert it from three-dimensional (ntime, number, nstation) to two-dimensional (ntime, number * nstation).

[0064] 4.2 Obtain the ECMWF monthly predicted precipitation anomaly percentage principal component (PCA) extraction model by logarithmizing the training set.

[0065] The PCA calculation module in the `sklern.decomposition` module is used to perform PCA calculation on the two-dimensional logarithmic ECMWF monthly precipitation anomaly percentage from section 4.1, extracting principal components that explain 95% of the variance. These principal components are then used as features in the XGBoost training model for building the feature-label mapping model. The PCA extraction model of the logarithmic ECMWF monthly precipitation anomaly percentage from the training set is saved for use in the test set and for extracting principal components of real-time precipitation forecasts.

[0066] 4.3 Extract principal components of the test set and real-time predicted precipitation for 2026.

[0067] The PCA model obtained from the training set was used to extract the logarithmic principal components of ECMWF monthly forecast precipitation in the test set and the logarithmic principal components of ECMWF real-time forecast monthly precipitation in 2026. These were used to verify the effectiveness of the correction model and as features input to the correction model when conducting real-time forecast precipitation correction.

[0068] 5. Use XGBoost to build a feature-label mapping model.

[0069] The logarithmized ECMWF monthly precipitation anomaly percentage principal components extracted in section 4.2 are used as training set features, and the logarithmized station precipitation anomaly percentages in the training set are used as training set labels. A mapping model between the logarithmized ECMWF monthly precipitation anomaly percentage principal components and the logarithmized station precipitation anomaly percentages is constructed through XGBoost training, hereinafter referred to as the feature-label mapping model.

[0070] 6. Methods and procedures for correcting the percentage of monthly precipitation anomalies in ECMWF forecasts.

[0071] This section uses the logarithmic ECMWF monthly precipitation anomaly percentage from the training set as an example to introduce how to use the PCA extraction model established in 4.2 and the feature-label mapping model established in 5, and at the same time, combine the linear regression method to correct the ECMWF monthly precipitation anomaly percentage and the specific operation steps.

[0072] Step 1: Perform a logarithmic transformation.

[0073] Logarithmic transformation is performed on the ECMWF monthly precipitation anomaly percentage and station precipitation anomaly percentage in the training set to obtain logarithmically transformed ECMWF monthly precipitation anomaly percentage and station precipitation anomaly percentage, making them tend to Gaussian distribution.

[0074] Step 2: Extract the logarithmically transformed principal components of the ECMWF monthly forecast precipitation anomaly percentage.

[0075] The ECMWF monthly precipitation anomaly percentage, which has been logarithmically transformed in step one, is transformed (from 3D to 2D). Then, the PCA model obtained from the training set is used to extract the principal components of the ECMWF monthly precipitation anomaly percentage in the training set.

[0076] Step 3: Use the feature-label mapping model to calculate the predicted label values.

[0077] The principal components obtained in step two are used as features, and the logarithmically transformed percentage of station precipitation anomalies in the training set are used as labels. The features and labels are then fed into the feature-label mapping model, which calculates and outputs the label forecast values.

[0078] Step four: Perform an inverse logarithmic transformation on the label forecast values.

[0079] Before being transmitted to the feature-label mapping model, both features and labels undergo logarithmic transformation. Therefore, the label forecast value obtained in step three actually corresponds to the logarithmically transformed station precipitation anomaly percentage forecast value. To obtain the true station precipitation anomaly percentage forecast value, an inverse logarithmic transformation operation is needed on the label forecast value. After the inverse logarithmic transformation, the station precipitation anomaly percentage forecast value is restored.

[0080] The correction method provided in this application uses the inverse logarithm conversion function nump.expm1(x), where x in parentheses represents the label forecast value. After performing the inverse logarithm on the label forecast value, the corresponding station precipitation anomaly percentage forecast value is obtained.

[0081] Step 5: Make final corrections to the forecast values ​​of precipitation anomaly percentage at the stations.

[0082] In practice, the predicted precipitation anomaly percentages obtained in step four are generally smaller than the observed precipitation anomaly percentages. Additionally, there are instances where the prediction results are poor in certain years. To address these issues, using the training set of observed precipitation anomaly percentage data, a linear regression method is employed to correct each predicted precipitation anomaly percentage obtained in step four, resulting in the final corrected ECMWF monthly precipitation anomaly percentage.

[0083] The method for correcting the percentage anomaly of ECMWF monthly precipitation forecasts through the above five steps is abbreviated as the "PCA+XGBoost" correction method.

[0084] 7. The percentage of monthly precipitation anomalies in the test set ECMWF was corrected using the "PCA+XGBoost" correction method, and an ensemble forecast was constructed.

[0085] 7.1 Grouping of the test set.

[0086] The PCA+XGBoost correction method is built upon the training set, and all calculations are based on 25 members. The test set consists of 51 members, which cannot be directly corrected using the PCA+XGBoost method. Therefore, the 51 members of the ECMWF monthly precipitation anomaly percentage in the test set are first grouped according to the same number of members (25) as the training set. Members 1-25 are group 1, members 2-26 are group 2, and so on, with members 27-51 forming group 27. A total of 27 groups are obtained (each group containing 25 members).

[0087] 7.2 Correction of the percentage of ECMWF monthly predicted precipitation anomalies for each group in the test set.

[0088] Following the steps outlined in section 6 of the "PCA+XGBoost" correction method, the percentage of ECMWF monthly precipitation anomalies for each group in the test set was corrected, resulting in 27 corrected ECMWF monthly precipitation anomalies.

[0089] 7.3 Constructing ensemble forecasts.

[0090] The 27 corrected ECMWF precipitation anomaly percentages from section 7.2 are treated as 27 members, and a ensemble mean is calculated for these 27 members. In this method, the ensemble mean of these 27 members is considered the ensemble forecast of the corrected ECMWF monthly precipitation anomaly percentage. This ensemble forecast serves as the final corrected ECMWF monthly precipitation anomaly percentage.

[0091] 8. The PCA+XGBoost correction method was used to correct the percentage of monthly precipitation anomalies in real-time ECMWF forecasts for 2026 and to construct ensemble forecasts.

[0092] Since 2026 is a single year, linear regression cannot be directly used for correction. Therefore, the ECMWF monthly precipitation anomaly percentage from real-time forecasts for 2017-2026 is taken, grouped, corrected, and ensemble forecasts are constructed according to step 7, resulting in the final corrected ECMWF monthly precipitation anomaly percentage. The only difference from step 7 is that in step five, data from 2017-2025 is used to build a linear model to perform the final correction on the data from 2017-2026. The ECMWF monthly precipitation anomaly percentage for the last year obtained through this correction is the corrected ECMWF monthly precipitation anomaly percentage for 2026.

[0093] 9. Evaluation of the effectiveness of ECMWF revised precipitation forecasts.

[0094] 9.1 Evaluation of the effectiveness of ECMWF precipitation forecasts corrected by the training set.

[0095] The ps scoring metric was used to evaluate the ECMWF revised precipitation forecasts obtained from the training set. Taking the revised ECMWF summer precipitation forecasts reported from March onwards as an example, their ps scores were all above 90.

[0096] 9.2 Evaluation of the effectiveness of ECMWF precipitation forecasts corrected using the test set.

[0097] The ps scoring metric was used to evaluate the revised ECMWF precipitation forecasts (ensemble forecasts) obtained from the test set. Taking the revised ECMWF summer precipitation forecasts issued starting in March as an example, their ps scores were all above 78.

[0098] Based on the same inventive concept, this application also provides a precipitation deviation correction device for implementing the precipitation deviation correction method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more precipitation deviation correction device embodiments provided below can be found in the limitations of the precipitation deviation correction method described above, and will not be repeated here.

[0099] In one exemplary embodiment, such as Figure 3 As shown, a precipitation deviation correction device is provided, comprising: The acquisition module is used to acquire real-time ECMWF predicted precipitation data for the forecast year.

[0100] The calculation module is used to calculate the percentage of monthly predicted precipitation anomalies in the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year.

[0101] The grouping module is used to group the data based on the percentage of monthly predicted precipitation anomalies in the real-time forecast year using the ECMWF, thus obtaining grouped data.

[0102] The extraction module is used to extract the principal components of the ECMWF monthly precipitation anomaly percentage for the real-time forecast year based on the grouped data using the PCA extraction model.

[0103] The mapping module is used to obtain the station precipitation anomaly percentage forecast value based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year using a trained feature-label mapping model.

[0104] The correction module is used to correct the forecasted percentage of precipitation anomalies at the stations using a linear regression method, and obtain the final ECMWF monthly forecast precipitation anomaly correction result.

[0105] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 4 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores precipitation deviation correction data. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a precipitation deviation correction method.

[0106] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment to which the present application is applied. Specific computer equipment may include, for example, [the following is a list of possible additional structures]. Figure 4 The embodiments show more or fewer components, combinations of certain components, or different component arrangements. In one exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the above-described method embodiments.

[0107] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the above-described method embodiments.

[0108] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the above-described method embodiments.

[0109] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0110] In this application, all actions to acquire signals, information, or data are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with the authorization granted by the owner of the relevant device.

[0111] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0112] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0113] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0114] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for correcting precipitation deviations, characterized in that, include: Obtain real-time ECMWF-predicted precipitation data for the forecast year; Calculate the percentage of monthly predicted precipitation anomalies in the ECMWF for the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year. Grouping is performed based on the percentage of ECMWF monthly predicted precipitation anomalies for the real-time forecast year to obtain grouped data; Based on the grouped data, the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year were obtained by extracting the model using PCA. Based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year, the station precipitation anomaly percentage forecast value is obtained using a trained feature-label mapping model. Based on the predicted precipitation anomaly percentage values ​​from the aforementioned stations, a linear regression method was used to correct the results, resulting in the final ECMWF monthly predicted precipitation anomaly percentage correction.

2. The precipitation deviation correction method according to claim 1, characterized in that, The percentage of monthly predicted precipitation anomalies in the real-time forecast year is calculated based on the ECMWF predicted precipitation data for the real-time forecast year, specifically including: The ECMWF predicted precipitation data for the real-time forecast year is converted to obtain the ECMWF predicted precipitation after conversion. Based on the converted units, the ECMWF predicted precipitation anomaly percentage for the real-time forecast year is calculated.

3. The precipitation deviation correction method according to claim 1, characterized in that, Based on the percentage of ECMWF monthly predicted precipitation anomalies for the real-time forecast year, grouping is performed to obtain grouped data, specifically including: The percentage of monthly predicted precipitation anomalies in the real-time forecast year ECMWF is grouped according to a set number of members to obtain grouped data.

4. The precipitation deviation correction method according to claim 1, characterized in that, Based on the grouped data, the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year were obtained using the PCA model, specifically including: Logarithmic transformation is performed on the grouped data to obtain logarithmic data; Based on the logarithmic data, the PCA model was used to extract the principal components of the ECMWF monthly precipitation anomaly percentage for the real-time forecast year.

5. The precipitation deviation correction method according to claim 1, characterized in that, Based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year, a trained feature-label mapping model is used to obtain the predicted precipitation anomaly percentage for each station, specifically including: Based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year, the label forecast value is calculated using a trained feature-label mapping model. The inverse logarithmic transformation of the label forecast values ​​yields the forecast values ​​of the station precipitation anomaly percentage.

6. The precipitation deviation correction method according to claim 1, characterized in that, Based on the predicted precipitation anomaly percentage values ​​from the aforementioned stations, a linear regression method was used for correction to obtain the final ECMWF monthly predicted precipitation anomaly percentage correction result, which specifically includes: The ensemble mean is obtained by taking the ensemble mean of all the predicted precipitation anomaly percentages for the aforementioned stations. The mean of the set was used as the final ECMWF monthly precipitation anomaly percentage correction result.

7. A precipitation deviation correction device, characterized in that, include: The acquisition module is used to acquire real-time ECMWF predicted precipitation data for the forecast year; The calculation module is used to calculate the percentage of ECMWF monthly predicted precipitation anomaly for the real-time forecast year based on the ECMWF predicted precipitation data for the real-time forecast year. The grouping module is used to group the data based on the percentage of ECMWF monthly predicted precipitation anomalies for the real-time forecast year, thereby obtaining grouped data. The extraction module is used to extract the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year based on the grouped data using the PCA extraction model. The mapping module is used to obtain the station precipitation anomaly percentage forecast value based on the principal components of the ECMWF monthly predicted precipitation anomaly percentage for the real-time forecast year using a trained feature-label mapping model. The correction module is used to correct the forecasted percentage of precipitation anomalies at the stations using a linear regression method, and obtain the final ECMWF monthly forecast precipitation anomaly correction result.

8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the precipitation deviation correction method according to any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the precipitation deviation correction method according to any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the precipitation deviation correction method according to any one of claims 1-6.