Method and device for predicting medium-and-long-term heavy rainfall in Ya-lung river basin based on ensemble forecast
By processing and optimizing the medium- and long-term coarse-resolution ensemble forecast data and historical daily precipitation data in the Yalong River Basin, a deep learning model is constructed, which solves the problem of insufficient accuracy in medium- and long-term precipitation predictions in the existing technology and achieves a better Accurate precipitation forecast.
Patent Information
- Application Number
- CN202410570799.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technology cannot perform accurate medium- and long-term precipitation predictions based on limited and low-precision meteorological data. Especially in most areas outside economically developed urban agglomerations, there is a lack of fine observation data and it is difficult to meet actual needs.
By obtaining the medium- and long-term coarse-resolution ensemble forecast data and historical daily precipitation data of the Yalong River Basin, preprocessing and standardization are performed to generate training data, and the deep learning model is used to optimize the prediction accuracy and build a prediction model to achieve medium- and long-term precipitation. predict.
Based on traditional coarse-resolution data, the prediction accuracy of the deep learning model for heavy precipitation is improved, meeting the needs of medium- and long-term precipitation prediction, and providing more accurate prediction results.
Smart Images

Figure CN118534564A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of precipitation prediction, and in particular to a method for predicting medium- and long-term heavy precipitation in the Yalong River basin based on ensemble forecasting, and a device for predicting medium- and long-term heavy precipitation in the Yalong River basin based on ensemble forecasting. Background Art
[0002] In the existing technology, relatively accurate forecasts can often be made for the weather in the short term (1-10 days). However, with the continuous advancement of weather forecasting technology, people have put forward higher requirements on the forecast period and forecast accuracy of weather forecasts, so the existing technology cannot meet the actual needs.
[0003] In the existing weather forecasting technology, on the one hand, based on the low requirements for data collection accuracy, it is often only possible to make relatively accurate forecasts of weather in the short term; on the other hand, if accurate forecasts of weather in the long term are to be made, long-term and accurate observation data support is required. However, in actual application, technicians have found that such refined observation data usually only covers large economically developed urban agglomerations. For most other areas, it is often impossible to provide refined observation data, but only limited and low-precision meteorological data. Therefore, the existing technology cannot meet actual needs. How to make accurate medium- and long-term precipitation forecasts based on limited and low-precision meteorological data is an urgent problem to be solved. Summary of the invention
[0004] In order to overcome the above-mentioned technical problems existing in the prior art, the embodiments of the present invention provide a method and device for predicting medium- and long-term heavy precipitation in the Yalong River Basin based on ensemble forecast, which improves the traditional precipitation prediction method to achieve more accurate precipitation prediction based on coarse resolution data.
[0005] In order to achieve the above-mentioned purpose, an embodiment of the present invention provides a medium- and long-term heavy rainfall prediction method for the Yalong River Basin based on ensemble forecast, the method comprising: obtaining coarse-resolution ensemble forecast data and historical daily precipitation data for the Yalong River Basin in the medium- and long-term, the medium- and long-term being 10-30 days; performing a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data, and generating training data based on the processed data and the historical precipitation data; obtaining a preset deep learning model, and optimizing the preset deep learning model based on the heavy rainfall prediction accuracy of the coarse-resolution ensemble forecast data to obtain an optimized model; training the optimized model based on the training data to generate a prediction model; performing medium- and long-term precipitation prediction based on the prediction model to generate corresponding prediction results.
[0006] Preferably, performing a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data comprises: determining data to be processed from the coarse-resolution ensemble forecast data; performing standardization processing on the data to be processed based on a preset standardization rule to preliminarily process the data, wherein the preset standardization rule is characterized as: where z i Represented as standardized data, x i Characterized as raw data, and σ represent the mean and standard deviation of the data set; the coarse-resolution ensemble forecast data is updated based on the preliminary processed data to generate processed data.
[0007] Preferably, the generating of training data based on the processed data and the historical daily precipitation data comprises: determining each member in the processed data; determining a first collection moment and a second collection moment of each day in the medium to long term, and generating a collection time series based on the first collection moment and the second collection moment; extracting forecast data corresponding to the collection time series from the processed data; establishing a mapping relationship between each member and the corresponding forecast data; generating a one-dimensional array based on each member, the mapping relationship and the corresponding forecast data; and generating training data corresponding to each member based on the one-dimensional array and the historical daily precipitation data.
[0008] Preferably, the preset deep learning model includes a loss function, and the preset deep learning model is optimized based on the heavy precipitation prediction accuracy of the coarse-resolution ensemble forecast data to obtain the optimized model, including: analyzing the corresponding coarse-resolution ensemble forecast data based on the historical precipitation data to generate a heavy precipitation prediction accuracy; obtaining the initial loss weights of the loss function for different precipitation levels; optimizing the heavy precipitation weights of the initial loss weights based on the heavy precipitation prediction accuracy to generate optimized weights; optimizing the loss function based on the optimized weights to generate an optimized loss function; generating an optimized model based on the optimized loss function
[0009] Preferably, performing medium- and long-term precipitation forecasting based on the forecasting model to generate corresponding forecast results includes: obtaining the latest ensemble forecast data; identifying precipitation characteristics of the forecast data of each member in the latest ensemble forecast data based on the forecasting model to obtain corresponding member precipitation characteristics; performing superposition analysis on the member precipitation characteristics of all members to generate medium- and long-term precipitation characteristics; and generating corresponding forecast results based on the medium- and long-term precipitation characteristics.
[0010] Correspondingly, the present invention also provides a medium- and long-term heavy rainfall prediction device for the Yalong River Basin based on ensemble forecast, the device comprising: a data acquisition unit, used to obtain coarse-resolution ensemble forecast data and historical daily precipitation data for the Yalong River Basin in the medium- and long-term, the medium- and long-term being 10-30 days; a preprocessing unit, used to perform a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data, and generate training data based on the processed data and the historical precipitation data; an optimization unit, used to obtain a preset deep learning model, and optimize the preset deep learning model based on the heavy rainfall prediction accuracy of the coarse-resolution ensemble forecast data to obtain an optimized model; a training unit, used to train the optimized model based on the training data to generate a prediction model; a prediction unit, used to perform medium- and long-term precipitation prediction based on the prediction model to generate corresponding prediction results.
[0011] Preferably, the preprocessing unit is specifically used to: determine the data to be processed from the coarse-resolution ensemble forecast data; perform standardization processing on the data to be processed based on a preset standardization rule to preliminarily process the data, and the preset standardization rule is characterized as: where z i Represented as standardized data, x i Characterized as raw data, and σ represent the mean and standard deviation of the data set; the coarse-resolution ensemble forecast data is updated based on the preliminary processed data to generate processed data.
[0012] Preferably, the data generation unit is specifically used to: determine each member in the processed data; determine the first collection moment and the second collection moment of each day in the medium and long term, and generate a collection time series based on the first collection moment and the second collection moment; extract forecast data corresponding to the collection time series from the processed data; establish a mapping relationship between each member and the corresponding forecast data; generate a one-dimensional array based on each member, the mapping relationship and the corresponding forecast data; generate training data corresponding to each member based on the one-dimensional array and the historical daily precipitation data.
[0013] Preferably, the preset deep learning model includes a loss function, and the optimization unit is specifically used to: analyze the corresponding coarse-resolution ensemble forecast data based on the historical precipitation data to generate a heavy precipitation prediction accuracy; obtain the initial loss weight of the loss function for different precipitation levels; optimize the heavy precipitation weight of the initial loss weight based on the heavy precipitation prediction accuracy to generate an optimized weight; optimize the loss function based on the optimized weight to generate an optimized loss function; and generate an optimized model based on the optimized loss function.
[0014] Preferably, the prediction unit is specifically used to: obtain the latest ensemble forecast data; identify precipitation characteristics of the forecast data of each member in the latest ensemble forecast data based on the prediction model to obtain corresponding member precipitation characteristics; perform superposition analysis on the member precipitation characteristics of all members to generate medium- and long-term precipitation characteristics; and generate corresponding prediction results based on the medium- and long-term precipitation characteristics.
[0015] Through the technical solution provided by the present invention, the present invention has at least the following technical effects:
[0016] By improving the traditional precipitation prediction method, based on the traditional coarse-resolution ensemble forecast data, the original data is adaptively preprocessed, training data is obtained in a time series manner, and the adaptively optimized deep learning model is trained, thereby effectively improving the prediction accuracy of the deep learning model for heavy precipitation and meeting the time requirements.
[0017] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0019] Figure 1 It is a specific implementation flow chart of the method for predicting medium- and long-term heavy rainfall in the Yalong River Basin based on ensemble forecast provided by an embodiment of the present invention;
[0020] Figure 2 It is a specific implementation flow chart of performing local standardization processing operation on coarse resolution ensemble forecast data provided by an embodiment of the present invention;
[0021] Figure 3 It is a structural schematic diagram of a medium- and long-term heavy rainfall prediction device for the Yalong River Basin based on ensemble forecasting provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0022] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.
[0023] The terms "system" and "network" in the embodiments of the present invention can be used interchangeably. "Multiple" means two or more than two. In view of this, "multiple" can also be understood as "at least two" in the embodiments of the present invention. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, it should be understood that in the description of the embodiments of the present invention, the words "first", "second", etc. are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0024] See also Figure 1 The embodiment of the present invention provides a method for predicting medium- and long-term heavy rainfall in the Yalong River Basin based on ensemble forecasting, the method comprising:
[0025] S10) obtaining coarse-resolution ensemble forecast data and historical daily precipitation data for the Yalong River Basin in the medium to long term, wherein the medium to long term is 10-30 days;
[0026] S20) performing a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data, and generating training data based on the processed data and the historical precipitation data;
[0027] S30) obtaining a preset deep learning model, and optimizing the preset deep learning model based on the heavy rainfall prediction accuracy of the coarse resolution ensemble forecast data to obtain an optimized model;
[0028] S40) training the optimized model based on the training data to generate a prediction model;
[0029] S50) performing medium- to long-term precipitation forecasting based on the forecasting model to generate corresponding forecasting results.
[0030] In a possible implementation, firstly, the coarse-resolution ensemble forecast data for the Yalong River Basin within 10-30 days, preferably within 30 days, is obtained. The coarse-resolution ensemble forecast data is preferably obtained from the JMA global ensemble forecast historical data for the Yalong River Basin and its surrounding areas (20-30°N, 95-110°E). The spatial grid resolution of the data is 1.5° (the grid side length is about 166KM). The variable information to be obtained is, for example, the following table:
[0031]
[0032]
[0033] Table 1 JMA global ensemble forecast historical data
[0034] On the other hand, daily precipitation historical data were obtained from 126 meteorological and hydrological observation stations with uninterrupted precipitation records around the Yalong River Basin. After obtaining the above data, the preprocessing operation of the above data began.
[0035] In an embodiment of the present invention, performing a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data includes: determining data to be processed from the coarse-resolution ensemble forecast data; performing standardization processing on the data to be processed based on a preset standardization rule to preliminarily process the data, and the preset standardization rule is characterized as: where z i Represented as standardized data, x i Characterized as raw data, and σ represent the mean and standard deviation of the data set; the coarse-resolution ensemble forecast data is updated based on the preliminary processed data to generate processed data.
[0036] In a possible implementation, firstly, the data to be processed is determined from the coarse-resolution ensemble forecast data. With the continuous development of sensing and perception technologies, the acquired data may contain many types of parameters and a large amount of data. Therefore, in order to reduce the pressure of data processing and improve the efficiency of data processing, the data to be processed may be selected by technicians based on actual experience, or may be processed by a computer based on big data to select data that has a greater impact on the final prediction result, or may be processed by selecting data that meets the input parameter requirements of the data processing model. In an embodiment of the present invention, all data except the accumulated precipitation are standardized and preliminary processed data are generated. Then, the accumulated precipitation is merged with the preliminary processed data to generate processed data. At this time, training data for training the deep learning model is generated based on the processed data.
[0037] See also Figure 2 In an embodiment of the present invention, the step of generating training data based on the processed data and the historical daily precipitation data includes:
[0038] S31) determining each member in the processed data;
[0039] S32) determining a first collection time and a second collection time of each day in the medium- to long-term period, and generating a collection time series based on the first collection time and the second collection time;
[0040] S33) extracting forecast data corresponding to the acquisition time series from the processed data;
[0041] S34) establishing a mapping relationship between each member and corresponding forecast data;
[0042] S35) generating a one-dimensional array based on each member, the mapping relationship and the corresponding forecast data;
[0043] S36) Generate training data corresponding to each member based on the one-dimensional array and the historical daily precipitation data.
[0044] In a possible implementation, each member in the processed data (i.e., the ensemble forecast data) is first determined, and then the data extraction period is further determined, specifically, the first collection time and the second collection time of each day within the above 30 days. The first collection time and the second collection time are times determined by the technician based on the actual data accuracy of the processed data. In this embodiment, the first collection time is 12:00 every day, and the second collection time is 24:00 every day. Of course, the technician can also determine other times according to actual conditions, such as selecting 3 times, or other times, which will not be elaborated here.
[0045] However, only determining the time of the day and collecting the corresponding data does not fully utilize the ensemble forecast data. It is easy for those skilled in the art to know that different members in the ensemble forecast data are based on different initial value disturbances to form different weather forecast results. Therefore, the correlation between different disturbances between different members can be used to achieve accurate prediction correction based on rough data.
[0046] Therefore, in the embodiment of the present invention, the first collection time and the second collection time are determined in the medium and long term period. When the model is trained, the daily precipitation data of the day and the meteorological parameter data collected at the first collection time and the meteorological parameter data collected at the second collection time are input into the model for training. By comparing the data collected at the first collection time with the data collected at the second time, the change law of precipitation data and meteorological data can be effectively identified. At this time, a collection time series is formed according to the above-mentioned first collection time and the second collection time, and the initial corresponding forecast data is extracted from the processed data according to the collection time series. At this time, a mapping relationship between the above-mentioned forecast data and each member is established, that is, each member is classified correspondingly to the forecast data corresponding to it, and then a corresponding one-dimensional array is generated. The forecast data of each member includes the grid forecast data of the meteorological elements collected at each moment in the above-mentioned collection time series and the daily precipitation grid forecast data. Finally, the training data corresponding to each member is generated according to the above-mentioned one-dimensional array and the historical daily precipitation data. Specifically, the historical daily precipitation data of the day corresponding to the one-dimensional array is input as training data into the deep learning model for training.
[0047] Before training, it is necessary to first create a deep learning model. In an embodiment of the present invention, the following method can be used to create a deep learning model to improve the adaptability of the deep learning model. In a possible implementation, the initial deep learning model framework is first determined. For example, the framework of the initial deep learning model is composed of a number of fully connected layers in decreasing numbers, wherein the number of the above-mentioned fully connected layers decreases from the input end to the output end. In order to reduce the phenomenon of overfitting of the model, a random discard layer is set between adjacent fully connected layers. In this embodiment, the random discard layer is a random discard layer based on a regularization rule, which randomly discards (i.e., sets to 0) a part of the neurons in the neural network during the training process to prevent overfitting of the model. The initial deep learning model is constructed by the above-mentioned fully connected layer and the random discard layer, and the initial deep learning model has an initial loss function.
[0048] However, in actual applications, since the number of samples of no rain or light rain in the collected coarse-resolution ensemble forecast data is far greater than the number of samples of moderate rain and heavy rain, it is inevitable that the predicted values of precipitation above moderate rain will be smaller than the actual values during the model training process. In order to improve the forecasting ability of the trained deep learning model for higher levels of precipitation, a greater loss weight is given to the actual precipitation level according to the actual precipitation level.
[0049] Specifically, in a possible implementation, the corresponding coarse-resolution ensemble forecast data is first analyzed according to the historical precipitation data to generate the heavy precipitation prediction accuracy. For example, the technician first determines how much precipitation is considered heavy precipitation. On this basis, the forecast period that meets the heavy precipitation is extracted from the historical daily precipitation data, and the forecast data of the corresponding period is extracted from the coarse-resolution ensemble forecast data. The forecast accuracy of the extracted forecast period is analyzed according to the actual heavy precipitation data. For example, the hourly forecast accuracy can be quantitatively analyzed to generate the heavy precipitation prediction accuracy for each hour. At this time, the initial loss weight of the loss function for different precipitation levels is obtained. For example, in the initial state, the initial loss weight of the loss function for different precipitation levels is 1, or an empirical value is selected as its initial loss weight, and then the initial loss weight is optimized according to the heavy precipitation prediction accuracy to generate the optimized weight, and the optimized loss function is determined according to the optimized weight, and finally the optimized model is generated.
[0050] In another example, different loss weights can be set according to different precipitation levels. The greater the precipitation level, the greater the loss weight. For example, the loss weight is determined as follows:
[0051]
[0052] in, represents the predicted value, represents the observed value, w i Indicates the loss weight of the observed value corresponding to the precipitation level. In a specific example, the optimized weight is shown in the following table:
[0053]
[0054]
[0055] Table 2 Loss weights corresponding to different actual precipitation levels
[0056] When training the model, the initial loss function is optimized according to the actual precipitation level and the weighted mean square error with the above weights to generate an optimized loss function. On this basis, a preset deep learning model is constructed.
[0057] In the embodiment of the present invention, the traditional deep learning model is adaptively improved. On the one hand, the overfitting phenomenon is prevented by adding a random discard layer; on the other hand, different loss weights are adopted according to different actual precipitation levels, and an adaptive deep learning model is constructed, so that the preset deep learning model finally generated has better recognition and analysis effects of large precipitation, and improves recognition accuracy. On this basis, the preset deep learning model is trained with the above training data to generate a prediction model with better prediction results.
[0058] Specifically, the above training data is divided into a training set and a test set, and input into a preset deep learning model for training. During the training process, the performance of the preset deep learning model on the test set is observed in real time. If the preset deep learning model has a better performance on the test set during the training process, the model parameters are saved to ensure that the model does not overfit the training data. When the preset deep learning model does not have a better performance on the test set for a long time, the training is stopped to generate the final prediction model. At this point, the prediction model can be used to make medium- and long-term heavy rainfall predictions for the Yalong River Basin.
[0059] In an embodiment of the present invention, performing medium- and long-term precipitation forecasting based on the forecasting model to generate corresponding forecast results includes: obtaining the latest ensemble forecast data; identifying precipitation characteristics of the forecast data of each member in the latest ensemble forecast data based on the forecasting model to obtain corresponding member precipitation characteristics; performing superposition analysis on the member precipitation characteristics of all members to generate medium- and long-term precipitation characteristics, wherein the medium- and long-term precipitation characteristics are affected by the optimized loss function; and generating corresponding forecast results based on the medium- and long-term precipitation characteristics.
[0060] In a possible implementation, the latest ensemble forecast data is first obtained, for example, the latest ensemble forecast data is coarse-resolution ensemble forecast data for the next 1-30 days. At this time, the data corresponding to each member in the coarse-resolution ensemble forecast data for the next 1-30 days is input into the above-mentioned prediction model to perform precipitation feature identification on the forecast data of each member in the latest ensemble forecast data to generate the member precipitation feature of each member. Then, the member precipitation feature corresponding to each member is superimposed and analyzed to analyze the medium- and long-term precipitation features of the latest ensemble forecast data by utilizing the disturbance correlation between different members in the ensemble forecast data. On this basis, the latest ensemble forecast data is corrected according to the medium- and long-term precipitation features to obtain the final precipitation forecast result.
[0061] The medium- and long-term heavy rainfall prediction device for the Yalong River Basin based on ensemble forecast provided by an embodiment of the present invention is described below in conjunction with the accompanying drawings.
[0062] See also Figure 3 Based on the same inventive concept, an embodiment of the present invention provides a medium- and long-term heavy rainfall prediction device for the Yalong River Basin based on ensemble forecast, the device comprising: a data acquisition unit, used to acquire coarse-resolution ensemble forecast data and historical daily precipitation data for the Yalong River Basin in the medium- and long-term, the medium- and long-term being 10-30 days; a preprocessing unit, used to perform a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data, and to generate training data based on the processed data and the historical precipitation data; an optimization unit, used to acquire a preset deep learning model, and to optimize the preset deep learning model based on the heavy rainfall prediction accuracy of the coarse-resolution ensemble forecast data to obtain an optimized model; a training unit, used to train the optimized model based on the training data to generate a prediction model; a prediction unit, used to perform medium- and long-term precipitation prediction based on the prediction model to generate corresponding prediction results.
[0063] In an embodiment of the present invention, the preprocessing unit is specifically used to: determine the data to be processed from the coarse resolution ensemble forecast data; perform standardization processing on the data to be processed based on a preset standardization rule to preliminarily process the data, and the preset standardization rule is characterized as: where z i Represented as standardized data, x i is represented as raw data, x and σ are represented as the mean and standard deviation of the data set; the coarse-resolution ensemble forecast data is updated based on the preliminary processed data to generate processed data.
[0064] In an embodiment of the present invention, the data generation unit is specifically used to: determine each member in the processed data; determine the first collection time and the second collection time of each day in the medium and long term, and generate a collection time series based on the first collection time and the second collection time; extract forecast data corresponding to the collection time series from the processed data; establish a mapping relationship between each member and the corresponding forecast data; generate a one-dimensional array based on each member, the mapping relationship and the corresponding forecast data; generate training data corresponding to each member based on the one-dimensional array and the historical daily precipitation data.
[0065] In an embodiment of the present invention, the preset deep learning model includes a loss function, and the optimization unit is specifically used to: analyze the corresponding coarse-resolution ensemble forecast data based on the historical precipitation data to generate a heavy precipitation prediction accuracy; obtain the initial loss weight of the loss function for different precipitation levels; optimize the heavy precipitation weight of the initial loss weight based on the heavy precipitation prediction accuracy to generate an optimized weight; optimize the loss function based on the optimized weight to generate an optimized loss function; and generate an optimized model based on the optimized loss function.
[0066] In an embodiment of the present invention, the prediction unit is specifically used to: obtain the latest ensemble forecast data; identify precipitation characteristics of the forecast data of each member in the latest ensemble forecast data based on the prediction model to obtain corresponding member precipitation characteristics; perform superposition analysis on the member precipitation characteristics of all members to generate medium- and long-term precipitation characteristics; and generate corresponding prediction results based on the medium- and long-term precipitation characteristics.
[0067] The optional implementation modes of the embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above implementation modes. Within the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical scheme of the embodiments of the present invention, and these simple modifications all belong to the protection scope of the embodiments of the present invention.
[0068] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not further describe various possible combinations.
[0069] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a single-chip microcomputer, a chip or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0070] In addition, various implementation modes of the embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed by the embodiments of the present invention.
Claims
1. A method for predicting medium- and long-term heavy rainfall in the Yalong River Basin based on ensemble forecast, characterized in that: The method comprises: Obtain the coarse-resolution ensemble forecast data and historical daily precipitation data for the Yalong River Basin in the medium to long term, where the medium to long term is 10-30 days; Performing a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data, and generating training data based on the processed data and the historical precipitation data; Obtaining a preset deep learning model, and optimizing the preset deep learning model based on the heavy precipitation prediction accuracy of the coarse-resolution ensemble forecast data to obtain an optimized model; Training the optimized model based on the training data to generate a prediction model; Based on the prediction model, medium- and long-term precipitation prediction is performed to generate corresponding prediction results.
2. The method according to claim 1, characterized in that The performing a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data comprises: Determining data to be processed from the coarse-resolution ensemble forecast data; The data to be processed is subjected to standardization processing based on a preset standardization rule to preliminarily process the data, wherein the preset standardization rule is characterized as follows: where z i Represented as standardized data, x i Characterized as raw data, and σ represent the mean and standard deviation of the data set; The coarse-resolution ensemble forecast data is updated based on the preliminary processed data to generate processed data.
3. The method according to claim 1, characterized in that The generating of training data based on the processed data and the historical daily precipitation data comprises: determining each member in the processed data; Determine a first collection time and a second collection time of each day in the medium- to long-term period, and generate a collection time series based on the first collection time and the second collection time; Extracting forecast data corresponding to the acquisition time series from the processed data; Establish a mapping relationship between each member and the corresponding forecast data; Generate a one-dimensional array based on each member, the mapping relationship and the corresponding forecast data; Training data corresponding to each member is generated based on the one-dimensional array and the historical daily precipitation data.
4. The method according to claim 3, characterized in that The preset deep learning model includes a loss function, and the preset deep learning model is optimized based on the heavy precipitation prediction accuracy of the coarse-resolution ensemble forecast data to obtain an optimized model, including: Analyzing the corresponding coarse-resolution ensemble forecast data based on the historical precipitation data to generate a heavy precipitation prediction accuracy; Obtaining initial loss weights of the loss function for different precipitation levels; Performing heavy precipitation weight optimization on the initial loss weight based on the heavy precipitation prediction accuracy to generate an optimized weight; Optimizing the loss function based on the optimized weights to generate an optimized loss function; An optimized model is generated based on the optimized loss function.
5. The method according to claim 4, characterized in that The performing of medium- and long-term precipitation forecasting based on the forecasting model to generate corresponding forecasting results includes: Get the latest ensemble forecast data; Based on the prediction model, the forecast data of each member in the latest ensemble forecast data is subjected to precipitation feature recognition to obtain corresponding member precipitation features; Superimpose and analyze the precipitation characteristics of all members to generate medium- and long-term precipitation characteristics; Generate corresponding prediction results based on the medium- and long-term precipitation characteristics.
6. A medium- and long-term heavy rainfall prediction device for the Yalong River Basin based on ensemble forecast, characterized in that: The device comprises: A data acquisition unit, used to acquire the coarse-resolution ensemble forecast data and historical daily precipitation data of the Yalong River Basin in the medium and long term, wherein the medium and long term is 10-30 days; A preprocessing unit, configured to perform a preprocessing operation on the coarse-resolution ensemble forecast data to obtain processed data, and to generate training data based on the processed data and the historical precipitation data; An optimization unit, used to obtain a preset deep learning model, and optimize the preset deep learning model based on the heavy precipitation prediction accuracy of the coarse resolution ensemble forecast data to obtain an optimized model; A training unit, used to train the optimized model based on the training data to generate a prediction model; The prediction unit is used to perform medium- and long-term precipitation prediction based on the prediction model and generate corresponding prediction results.
7. The device according to claim 6, characterized in that The pre-processing unit is specifically used for: Determining data to be processed from the coarse-resolution ensemble forecast data; The data to be processed is subjected to standardization processing based on a preset standardization rule to preliminarily process the data, wherein the preset standardization rule is characterized as follows: where z i Represented as standardized data, x i Characterized as raw data, and σ represent the mean and standard deviation of the data set; The coarse-resolution ensemble forecast data is updated based on the preliminary processed data to generate processed data.
8. The device according to claim 6, characterized in that The data generating unit is specifically used for: determining each member in the processed data; Determine a first collection time and a second collection time of each day in the medium- to long-term period, and generate a collection time series based on the first collection time and the second collection time; Extracting forecast data corresponding to the acquisition time series from the processed data; Establish a mapping relationship between each member and the corresponding forecast data; Generate a one-dimensional array based on each member, the mapping relationship and the corresponding forecast data; Training data corresponding to each member is generated based on the one-dimensional array and the historical daily precipitation data.
9. The device according to claim 8, characterized in that The preset deep learning model includes a loss function, and the optimization unit is specifically used for: Analyzing the corresponding coarse-resolution ensemble forecast data based on the historical precipitation data to generate a heavy precipitation prediction accuracy; Obtaining initial loss weights of the loss function for different precipitation levels; Performing heavy precipitation weight optimization on the initial loss weight based on the heavy precipitation prediction accuracy to generate an optimized weight; Optimizing the loss function based on the optimized weights to generate an optimized loss function; An optimized model is generated based on the optimized loss function.
10. The device according to claim 9, characterized in that The prediction unit is specifically used for: Get the latest ensemble forecast data; Based on the prediction model, the forecast data of each member in the latest ensemble forecast data is subjected to precipitation feature recognition to obtain corresponding member precipitation features; Superimpose and analyze the precipitation characteristics of all members to generate medium- and long-term precipitation characteristics; Generate corresponding prediction results based on the medium- and long-term precipitation characteristics.
Citation Information
Cited By
Extended-period rainfall continuous distribution probability forecasting method fusing fine topographic features
CN119106949A
A method for forecasting continuous distribution of precipitation over an extended period based on fine-grained terrain features
CN119106949B
