Method, device and equipment for predicting short temporary rainfall and medium

Through the fusion of Doppler radar data and precipitation data and the application of adversarial neural network models, the problem of low accuracy of the optical flow method in short-term precipitation forecasting is solved, achieving higher prediction accuracy and better forecasting effects. .

CN118779715AActive Publication Date: 2024-10-15HANGZHOU FANGZHI DIGITAL TECHNOLOGY CO LTD

Patent Information

Application Number
CN202310360475.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2024-10-15
Estimated Expiration
2043-04-03

AI Technical Summary

Technical Problem

Existing short-term precipitation forecasting technologies, especially the optical flow method, are difficult to accurately predict the accumulation, dissipation or changes of radar echoes, resulting in low forecast accuracy.

Method used

Using the fusion of Doppler radar data and precipitation data, gridded precipitation data is generated through the pre-fitted conversion relationship between radar reflectivity and precipitation intensity, and an adversarial neural network model containing a time dimension discriminator and a spatial dimension discriminator is used to conduct Prediction and optimization of prediction results.

Benefits of technology

It improves the accuracy of short-term precipitation prediction, can effectively combine the accumulation, dissipation or changes of observed targets, and reduces the ambiguity of forecast.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779715A_ABST
    Figure CN118779715A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a method, a device and equipment for predicting short temporary rainfall and a medium, which are used for improving the accuracy of short temporary rainfall prediction. The short temporary rainfall prediction method comprises the steps that Doppler radar data and rainfall data of a target station are acquired, and the Doppler radar data comprise radar combined reflectivity data; fusing the radar combined reflectivity data and the rainfall data by using a pre-fitted conversion relation between radar reflectivity and rainfall intensity, generating grid rainfall data containing a target site, and converting the grid rainfall data into fused reflectivity data; inputting the fused reflectivity data of the at least two continuous moments into a pre-trained neural network model to obtain a group of predicted reflectivity data, the pre-trained neural network model being an adversarial neural network model comprising a time dimension discriminator and a spatial dimension discriminator; and converting the predicted reflectivity data into rainfall data by using the conversion relation to obtain predicted short temporary rainfall data of the target station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of precipitation prediction, and in particular to a method, device, equipment and medium for predicting short-term precipitation. Background Art

[0002] Short-term precipitation forecast generally refers to the precipitation weather forecast within 3-6 hours, and the forecast accuracy can reach the kilometer level and minute level. Compared with medium-term and short-term precipitation forecasts, short-term precipitation forecasts have higher requirements in terms of demand area, forecast timeliness and other factors.

[0003] At present, the most common short-term precipitation forecasting technology is the optical flow method. Specifically, when there is relative motion between the observed target and the sensor, the observed brightness pattern motion is called optical flow, but there is still a model error when applying radar echoes to the optical flow method. The optical flow method requires that the image follows the grayscale invariance assumption, while the actual radar echo has generation and disappearance evolution. Therefore, the optical flow method cannot well predict the accumulation, dissipation or change of the observed target, and the prediction accuracy is low. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, equipment and medium for predicting short-term precipitation, so as to improve the accuracy of short-term precipitation prediction.

[0005] In a first aspect, an embodiment of the present invention provides a method for predicting short-term precipitation, comprising:

[0006] Obtain Doppler radar data and precipitation data of the target site, where the Doppler radar data includes radar combined reflectivity data;

[0007] Using the pre-fitted conversion relationship between radar reflectivity and precipitation intensity, the radar combined reflectivity data and precipitation data are fused to generate grid precipitation data containing the target site, and the grid precipitation data is converted into fused reflectivity data;

[0008] Inputting the fused reflectivity data of at least two consecutive moments into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator;

[0009] Using the conversion relationship, the predicted reflectivity data is converted into precipitation data to obtain the predicted short-term precipitation data of the target site.

[0010] In a possible implementation, in the above method provided by an embodiment of the present invention, the pre-fitted conversion relationship between radar reflectivity and precipitation intensity is fitted in the following manner:

[0011] Obtain historical Doppler radar data and historical precipitation data of the target site, where the historical Doppler radar data includes historical radar base data;

[0012] Based on the preset rules, the historical radar base data and historical precipitation data are cleaned, and the radar combined reflectivity is calculated based on the cleaned radar base data;

[0013] According to the collection time interval of the historical radar base data, the cleaned historical precipitation data within multiple preset time periods are accumulated to calculate the cumulative precipitation within each preset time period;

[0014] Based on the combination of multiple radar combination reflectivities and accumulated precipitation, respectively, the initial conversion relationship between multiple radar combination reflectivities and precipitation intensity, the combination of multiple radar combination reflectivities and accumulated precipitation, including the combination of radar combination reflectivities in each preset time period and the accumulated precipitation in the preset time period, and the combination of radar combination reflectivities of the most recent historical precipitation process of the target site and the precipitation of the most recent historical precipitation process;

[0015] Substitute the radar combined reflectivity of the target site at the previous moment into multiple initial conversion relationships, calculate the precipitation data corresponding to each initial conversion relationship, and then calculate the evaluation value of each initial conversion relationship based on the precipitation data corresponding to each initial conversion relationship and the actual precipitation data of the target site at the previous moment;

[0016] The initial conversion relationship with the highest evaluation value is used as the pre-fitted conversion relationship between radar reflectivity and precipitation intensity.

[0017] In a possible implementation manner, in the above method provided by an embodiment of the present invention, the radar combined reflectivity data and precipitation data are fused using the pre-fitted conversion relationship between radar reflectivity and precipitation intensity to generate grid precipitation data containing the target site, including:

[0018] Substitute the radar combined reflectivity of the target site at the previous moment into the pre-fitted conversion relationship between radar reflectivity and precipitation intensity to obtain the precipitation data corresponding to the radar combined reflectivity;

[0019] Calculate the deviation between the precipitation data corresponding to the radar combined reflectivity and the actual precipitation data of the target station at the previous moment;

[0020] Using predetermined inverse distance interpolation parameters, the deviation value is interpolated into grid data in a grid containing the target site;

[0021] The precipitation data is corrected using the deviation value, and the corrected precipitation data is combined with the grid data to generate grid precipitation data containing the target site.

[0022] In a possible implementation manner, in the above method provided by the embodiment of the present invention,

[0023] The time dimension discriminator is used to discriminate the actual precipitation data of the target site and the precipitation data at each moment in the predicted short-term precipitation data in the time dimension;

[0024] The spatial dimension discriminator is used to discriminate the actual precipitation data of the target site and the precipitation data at each moment in the predicted short-term precipitation data in the spatial dimension.

[0025] In a possible implementation manner, in the above method provided by the embodiment of the present invention, the method further includes:

[0026] The input parameters in the pre-trained neural network model are adjusted once or multiple times. After each adjustment, the fused reflectivity data of at least two consecutive moments are re-input into the adjusted neural network model to obtain a set of predicted reflectivity data, and the newly obtained predicted reflectivity data are converted into precipitation data by using the conversion relationship to obtain a set of predicted short-term precipitation data;

[0027] The weighted average of multiple sets of predicted short-term precipitation data is performed through a preset algorithm to obtain the short-term precipitation data of the target site.

[0028] In a second aspect, an embodiment of the present invention provides a prediction device for short-term precipitation, comprising:

[0029] An acquisition unit, used for acquiring Doppler radar data and precipitation data of a target site, wherein the Doppler radar data includes radar combined reflectivity data;

[0030] A processing unit, used to fuse radar combined reflectivity data and precipitation data by using a pre-fitted conversion relationship between radar reflectivity and precipitation intensity, generate grid precipitation data containing target sites, and convert the grid precipitation data into fused reflectivity data;

[0031] A prediction unit, used for inputting the fused reflectivity data of at least two consecutive moments into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator;

[0032] The conversion unit is used to convert the predicted reflectivity data into precipitation data by using the conversion relationship, so as to obtain the predicted short-term precipitation data of the target site.

[0033] In a possible implementation manner, in the above-mentioned device provided by an embodiment of the present invention, the processing unit pre-fits the conversion relationship between radar reflectivity and precipitation intensity in the following manner:

[0034] Obtain historical Doppler radar data and historical precipitation data of the target site, where the historical Doppler radar data includes historical radar base data;

[0035] Based on the preset rules, the historical radar base data and historical precipitation data are cleaned, and the radar combined reflectivity is calculated based on the cleaned radar base data;

[0036] According to the collection time interval of the historical radar base data, the cleaned historical precipitation data within multiple preset time periods are accumulated to calculate the cumulative precipitation within each preset time period;

[0037] Based on the combination of multiple radar combination reflectivities and accumulated precipitation, respectively, the initial conversion relationship between multiple radar combination reflectivities and precipitation intensity, the combination of multiple radar combination reflectivities and accumulated precipitation, including the combination of radar combination reflectivities in each preset time period and the accumulated precipitation in the preset time period, and the combination of radar combination reflectivities of the most recent historical precipitation process of the target site and the precipitation of the most recent historical precipitation process;

[0038] Substitute the radar combined reflectivity of the target site at the previous moment into multiple initial conversion relationships, calculate the precipitation data corresponding to each initial conversion relationship, and then calculate the evaluation value of each initial conversion relationship based on the precipitation data corresponding to each initial conversion relationship and the actual precipitation data of the target site at the previous moment;

[0039] The initial conversion relationship with the highest evaluation value is used as the pre-fitted conversion relationship between radar reflectivity and precipitation intensity.

[0040] In a possible implementation manner, in the above-mentioned device provided by the embodiment of the present invention, the processing unit is specifically used for:

[0041] Substitute the radar combined reflectivity of the target site at the previous moment into the pre-fitted conversion relationship between radar reflectivity and precipitation intensity to obtain the precipitation data corresponding to the radar combined reflectivity;

[0042] Calculate the deviation between the precipitation data corresponding to the radar combined reflectivity and the actual precipitation data of the target station at the previous moment;

[0043] Using predetermined inverse distance interpolation parameters, the deviation value is interpolated into grid data in a grid containing the target site;

[0044] The precipitation data is corrected using the deviation value, and the corrected precipitation data is combined with the grid data to generate grid precipitation data containing the target site.

[0045] In a possible implementation manner, in the above-mentioned device provided by the embodiment of the present invention, the device further includes:

[0046] An adjustment unit is used to adjust the input parameters in the pre-trained neural network model once or multiple times, and after each adjustment, re-input the fused reflectivity data of at least two consecutive moments into the adjusted neural network model to obtain a set of predicted reflectivity data, and convert the newly obtained predicted reflectivity data into precipitation data by using a conversion relationship to obtain a set of predicted short-term precipitation data;

[0047] The calculation unit is used to perform weighted averaging on multiple groups of predicted short-term precipitation data through a preset algorithm to obtain the short-term precipitation data of the target site.

[0048] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method provided in the first aspect of the embodiment of the present invention.

[0049] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the method provided in the first aspect of the embodiment of the present invention.

[0050] The prediction method, device, equipment and medium of short-term precipitation provided by the embodiment of the present invention obtain Doppler radar data and precipitation data of a target site, wherein the Doppler radar data includes radar combined reflectivity data; the radar combined reflectivity data and precipitation data are fused by using a pre-fitted conversion relationship between radar reflectivity and precipitation intensity to generate grid precipitation data containing the target site, and the grid precipitation data is converted into fused reflectivity data; the fused reflectivity data of at least two consecutive moments are input into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator; the predicted reflectivity data is converted into precipitation data by using the conversion relationship to obtain predicted short-term precipitation data of the target site, and compared with the optical flow method prediction in the prior art, the adversarial neural network model is used to predict short-term precipitation, and the prediction result is discriminated and optimized from the two dimensions of time and space, which can not only combine the accumulation, dissipation or change of the observed target to improve the accuracy of the forecast, but also reduce the generation of ambiguity compared with the general recurrent neural network prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A schematic flow chart of a method for predicting short-term precipitation provided by an embodiment of the present invention;

[0052] Figure 2 A schematic flow chart of a method for determining a conversion relationship between radar reflectivity and precipitation intensity provided in an embodiment of the present invention;

[0053] Figure 3 A schematic diagram of the structure of a prediction neural network model provided by an embodiment of the present invention;

[0054] Figure 4 A schematic diagram of the calculation process of the prediction neural network model in the spatial direction provided by an embodiment of the present invention;

[0055] Figure 5 A schematic diagram of the structure of a discriminant neural network model provided by an embodiment of the present invention;

[0056] Figure 6 A schematic diagram of the structure of a device for predicting short-term precipitation provided by an embodiment of the present invention;

[0057] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The following describes in detail the specific implementation of a method, device, equipment and medium for predicting short-term precipitation provided by an embodiment of the present invention in conjunction with the accompanying drawings.

[0059] like Figure 1 As shown, the method for predicting short-term precipitation provided by the embodiment of the present invention may include the following steps:

[0060] Step 101, obtaining Doppler radar data and precipitation data of a target site, wherein the Doppler radar data includes radar combined reflectivity data.

[0061] In specific implementation, Doppler radar data is obtained by multiple volume scans of the radar. Each volume scan has a different radar angle, so the layered data in the air can be obtained. Combined reflectivity data is the basic product of radar data. It is the product of projecting the maximum reflectivity onto the Cartesian grid in the radar volume scan. The precipitation data is the data actually observed by the meteorological observation station. This data is mostly minute-level precipitation data, and one precipitation data can be observed in one minute.

[0062] Step 102, using the pre-fitted conversion relationship between radar reflectivity and precipitation intensity, the radar combined reflectivity data and the precipitation data are fused to generate grid precipitation data containing the target site, and the grid precipitation data is converted into fused reflectivity data.

[0063] It should be noted that the conversion relationship between radar reflectivity and precipitation intensity, also known as the ZR relationship, is the relationship between radar reflectivity Z and precipitation intensity R. This relationship varies with the type and nature of precipitation. The ZR relationship is commonly used in the formula Z = AR^b, where A and b are parameters, A≈200, b is between 1.5 and 2, Z is the radar reflectivity, and R is the precipitation intensity.

[0064] In specific implementation, the pre-fitted ZR relationship is used to fuse the radar combined reflectivity data and precipitation data. When the grid precipitation data containing the target site is generated, the pre-fitted ZR relationship is used to convert the radar combined reflectivity data at the previous moment into precipitation data, and then the deviation value between the converted precipitation data and the actual precipitation data at the previous moment is calculated. Then, the inverse distance interpolation parameters are determined through the grid screening algorithm, and the calculated deviation value is used as the grid data. Finally, the calculated grid data is used to correct the precipitation data at the current moment to obtain the grid precipitation data containing the target site.

[0065] Among them, there are two inverse distance interpolation parameters, one is the interpolation radius, and the other is the power value of the inverse distance. The grid screening algorithm interpolates the historical precipitation data according to different radii and different power values, and revises the historical precipitation data with different calculated deviations to obtain fused historical grid precipitation data. The precipitation data obtained by converting different historical grid precipitation data and radar combined reflectivity are compared, and a set of inverse distance interpolation parameters with higher consistency are selected as the inverse distance interpolation parameters for actual implementation. In other words, the grid screening algorithm is only used once when the inverse distance interpolation parameters are initially determined. In the actual implementation of this solution, only the predetermined inverse distance interpolation parameters are used, and it is not necessary to determine the inverse distance interpolation parameters through the grid screening algorithm every time.

[0066] In addition, it should be noted that due to the time difference in the collection of precipitation data at the site, when the radar combined reflectivity data at the current moment is generated, the precipitation data at the site may not have been uploaded. Therefore, when the present invention is implemented, the grid data at the previous moment is used to correct the precipitation data at the current moment, rather than directly using the grid data at the current moment to correct the precipitation data at the current moment. That is, in the absence of precipitation data at the site at the current moment, the deviation of the precipitation data at the current moment cannot be calculated, and the grid data at the current moment cannot be calculated either. Therefore, the deviation at the previous moment is directly added to the precipitation data at the current moment to generate grid precipitation data containing the target site, wherein the precipitation data at the current moment can be obtained by converting the radar combined reflectivity at the current moment through the ZR relationship.

[0067] When implementing it, Figure 2 As shown in the figure, the pre-fitted conversion relationship between radar reflectivity and precipitation intensity can be fitted by the following steps:

[0068] Step 1021, obtaining historical Doppler radar data and historical precipitation data of the target site, where the historical Doppler radar data includes historical radar base data.

[0069] Among them, the historical Doppler radar data and historical precipitation data can be historical data from the past year or even more.

[0070] Step 1022, based on preset rules, the historical radar base data and the historical precipitation data are cleaned, and the radar combined reflectivity is calculated based on the cleaned radar base data.

[0071] In specific implementation, when cleaning historical radar base data and historical precipitation data, the cleaning can be performed according to the following preset rules:

[0072] Rule 1: Delete abnormal data, for example, precipitation data with missing values ​​or outliers.

[0073] Rule 2: Because the ZR relationship is used to convert radar reflectivity into precipitation data, the precipitation data for stations with no precipitation, that is, precipitation values ​​less than 1, are cleared.

[0074] Rule 3: Combine reflectivity data to limit reflectivity to between -5dBZ and 55dBZ, where dBZ is a physical quantity representing radar echo intensity, Z is the radar reflection factor, and decibel (dB) can also be understood as an operation symbol. The conversion relationship between dBZ and Z is: dBZ=10log(Z).

[0075] Rule 4: The corresponding empirical precipitation data can be obtained by calculating the A and b parameters in the empirical ZR relationship. Due to the different degrees of geographical offset between radar data and precipitation data under different meteorological conditions, we mark the data that deviates from the empirical precipitation data by 50% as outlier data and give it a lower weight in the later fitting.

[0076] Step 1023, according to the collection time interval of the historical radar-based data, the cleaned historical precipitation data within multiple preset time periods are accumulated to calculate the cumulative precipitation within each preset time period.

[0077] Specifically, the radar-based data contains a time tag, and the time interval can be obtained according to the time tag, which is generally about 5 minutes. According to the collection time interval of the radar-based data, the minute-level precipitation data of the period is accumulated to obtain the cumulative precipitation in each preset time period. For example, the cumulative precipitation in the past year, the cumulative precipitation in the past six months, the cumulative precipitation in the most recent quarter, the cumulative precipitation in the most recent month, etc., wherein the preset time period can be pre-set or configured, and the embodiment of the present invention does not limit this.

[0078] Step 1024, based on the combinations of multiple radar combination reflectivities and accumulated precipitation, initial conversion relationships between multiple radar combination reflectivities and precipitation intensities are fitted, and multiple combinations of radar combination reflectivities and accumulated precipitation include a combination of the radar combination reflectivity within each preset time period and the accumulated precipitation within the preset time period, and a combination of the radar combination reflectivity of the most recent historical precipitation process of the target site and the precipitation of the most recent historical precipitation process.

[0079] When fitting the ZR relationship specifically, machine learning can be used for estimation. First, find the logarithm of both sides of the formula Z=AR^b and convert the formula into a linear equation. Then, use different preset time periods, such as one year, half a year, the most recent quarter, the most recent month, and the radar combined reflectivity and precipitation data of the most recent precipitation process, to perform linear regression fitting through the sklearn machine learning framework and the pytorch deep learning framework, respectively, to obtain two groups of fitting values ​​of A and b, and then multiple initial ZR relationships can be obtained.

[0080] Step 1025, substitute the radar combined reflectivity of the target site at the previous moment into multiple initial conversion relationships, calculate the precipitation data corresponding to each initial conversion relationship, and then calculate the evaluation value of each initial conversion relationship based on the precipitation data corresponding to each initial conversion relationship and the actual precipitation data of the target site at the previous moment.

[0081] Step 1026: The initial conversion relationship with the highest evaluation value is used as the pre-fitted conversion relationship between radar reflectivity and precipitation intensity.

[0082] In specific implementation, the radar combined reflectivity of the target site at the previous moment is substituted into the multiple initial ZR relationships obtained in step 1024, and the precipitation data corresponding to each initial ZR relationship is calculated respectively. Then, the deviation (root mean square error) between the precipitation data corresponding to each initial ZR relationship and the actual precipitation data of the target site is calculated respectively, and the initial ZR relationship corresponding to the precipitation data with the smallest error is taken as the pre-fitted ZR relationship.

[0083] It should be noted that when calculating the evaluation value of each initial conversion relationship, the deviation or root mean square error between the precipitation data corresponding to the calculated initial ZR relationship and the actual precipitation data of the target site can be used as the evaluation value. Of course, in other embodiments of the present invention, other methods can also be used to calculate the evaluation value, and the present invention is not limited to this.

[0084] Step 103, inputting the fused reflectivity data of at least two consecutive moments into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator.

[0085] It should be noted that, in a specific implementation, the fused reflectivity data of at least two consecutive moments can be input into a pre-trained neural network model to obtain a set of predicted reflectivity data. Preferably, while taking into account both accuracy and computational efficiency, the fused reflectivity data of four consecutive moments, that is, the fused reflectivity data of the current moment and the previous three adjacent moments, can be input into a pre-trained neural network model to obtain a set of predicted reflectivity data.

[0086] The following is a description of the pre-trained neural network model in the embodiment of the present invention in conjunction with a specific example. The pre-trained neural network model mentioned in the embodiment of the present invention includes a predictive neural network and a discriminative neural network. Among them, the predictive neural network, such as Figure 3 As shown in the figure, its main structural idea adopts the idea of ​​recurrent neural network, which we call CastNet. It is composed of a total of 23 Encoder-Decoder substructures connected in series, which can generate 20 time-scale prediction data in sequence.

[0087] From the time direction (horizontally), the ConvLSTM structure is used for each structural unit of the prediction neural network, X t-3 , X t-2 , X t-1 This time, the output is not set or the predicted value of the output is directly discarded, and the output is t When the input starts, a random sample Z is added to the input through Gaussian distribution t , produces the predicted output and Gaussian random sampling Z t+1 Together as the input for the next moment, generate the predicted output And so on, predict the output.

[0088] From the spatial direction (vertical), the Encoder-Decoder structure is used to first downsample to encode the spatial information, and then decode it through upsampling. Each encoding or decoding output integrates the information in the time direction. Each Encoder-Decoder substructure is divided into 5 layers, each layer is a ConvLSTM unit, such as Figure 4 As shown in the figure, the outputs of the first two layers are downsampled by a 2x downsampling structure, and the outputs of the third and fourth layers are upsampled by a 2x upsampling structure. At the same time, combined with the residual network idea, the output of the first layer and the output of the second upsampling, and the output of the second layer and the output of the first upsampling are connected with residuals, and they are used as the inputs of the next layer of ConvLSTM structure.

[0089] As for the discriminant neural network, according to different adversarial angles, the embodiment of the present invention designs two adversarial neural networks, one for discriminating spatial consistency and the other for discriminating temporal consistency. Specifically:

[0090] like Figure 5 As shown, during training, the prediction neural network CastNet generates the prediction And the real input sequence X t-3 :X t After splicing, two neural networks (discriminators) are used to give true or false confidence judgments, and then the prediction neural network CastNet is trained to optimize the network parameters.

[0091] The discriminant network responsible for spatial consistency is called STNet. As a discriminator, this network is responsible for distinguishing between real sequences and generated sequences in the spatial dimension. It calculates the input data of 20 time periods separately by channel. Each channel is reduced to 1 / 2 by space to depth (S2D) to reduce the network overhead. Then, through 5 layers of convolution and pooling layers, the H and W of the input data are reduced to 1 / 64 of the original data. Then the sum is calculated and the channel score is calculated through a fully connected network, and the total score of all channels is used as the cumulative score.

[0092] We call the discriminant network responsible for temporal consistency TTNet. As a discriminator, this network is responsible for distinguishing between real sequences and generated sequences in the temporal dimension. It calculates the data of 20 time periods as a whole. The data is reduced to 1 / 2 by space to deepth (S2D) to reduce the network overhead. Then, it is extracted through 2 layers of 3D convolution and pooling layers to extract information of spatial and temporal dimensions. Then, it is reduced to 1 / 64 of the original data by 3 layers of 2D convolution and pooling. Then, it is summed and the score is calculated through a fully connected network.

[0093] It should be noted that, unlike STNet, TTNet performs neural network inference calculations at 20 times at a time to obtain an output. The last layer of TTNet is a fully connected layer. The output data of the previous layer of the fully connected layer is three-dimensional data (96, 2, 2). The data in the height H and width W directions are summed up to obtain 96 values, which enter the fully connected layer and output a score.

[0094] For the loss function of the prediction neural network (CastNet), other prediction models based on recurrent neural networks are mostly designed with the L1 loss function of the mean absolute error or the L2 loss function of the mean square error. The basic idea of ​​the neural network in the embodiment of the present invention is to use the adversarial neural network, and the loss function of the generator is designed as:

[0095]

[0096]

[0097] Among them, E represents mathematical expectation, D represents spatial discriminator, Z represents Gaussian sampling, X represents the fused combined reflectivity of the input, G represents generator, T represents temporal discriminator, λ is the weight parameter, θ is the generator parameter, M is the input data moment, and w is the weight transformation function.

[0098] Formula (1) is the loss function of the prediction neural network. By Gaussian sampling a set of data Z, using Z and the fused combined reflectivity of time 1 to M, and passing through a prediction neural network with parameter θ, a forecast from time M+1 to time M+N can be generated. The forecast is input into the spatial discriminator D to obtain the spatial consistency score. At the same time, the input from time 1 to time M and the forecast from time M+1 to time M+N are spliced ​​together and input into the temporal discriminator T to obtain the temporal consistency score.

[0099] Formula (2) is a part of the loss function of the prediction neural network. The Gaussian sampling Z and the fused combined reflectivity at time 1 to M are passed through a prediction neural network with a parameter of θ to generate a forecast from time M+1 to M+N. The forecast from time M+1 to M+N is subtracted from the actual situation from time M+1 to M+N to obtain the deviation. The actual situation from time M+1 to M+N is passed through the function w to convert each grid point into a weight. Then the weight of each grid point is multiplied by the deviation of each grid point, and then divided by HWN to obtain the average deviation. Where H is the height of the grid matrix, W is the width of the grid matrix, and N is the number of grid matrices (the number of forecast times). In the embodiment of the present invention, M=4, N=20, that is, the fused combined reflectivity at time 1-4 is input to generate a forecast at time 5-24.

[0100] For the two discriminators (STNet and TTNet), we set the deviation value 1 for the input, and then use the accumulated output of historical data and forecast data as the loss of the discriminator after calculation through the ReLU function. The loss functions of STNet and TTNet are L D , L T :

[0101]

[0102]

[0103] Among them, E represents mathematical expectation, D represents spatial discriminator, Z represents Gaussian sampling, X represents input fusion combined reflectivity, G represents generator, and M represents input data moment. Φ are the spatial discriminator parameters, Ψ is the temporal discriminator parameter, ReLU is a linear rectification function, also known as a rectified linear unit, which is a commonly used activation function in artificial neural networks. It usually refers to a nonlinear function represented by a ramp function and its variants, and its formula is f(x)=max(0,x).

[0104] Step 104, using the conversion relationship, convert the predicted reflectivity data into precipitation data to obtain the predicted short-term precipitation data of the target site.

[0105] In specific implementation, after using the pre-trained neural network model to predict the reflectivity data at a future time, the ZR relationship can be used to convert the predicted reflectivity data into precipitation data to obtain the predicted short-term precipitation data of the target site.

[0106] Furthermore, after obtaining a set of predicted reflectivity data, the present invention can also adjust the input parameters in the pre-trained neural network model once or multiple times. After each adjustment, the fused reflectivity data of at least two consecutive moments are re-input into the adjusted neural network model to obtain a set of predicted reflectivity data, and the newly obtained predicted reflectivity data is converted into precipitation data by using the conversion relationship to obtain a set of predicted short-term precipitation data. The multiple sets of predicted short-term precipitation data are weighted averaged by a preset algorithm to obtain the short-term precipitation data of the target site.

[0107] In specific implementation, different predicted reflectivity data are formed according to different random sampling of Gaussian distribution, and the predicted reflectivity data are converted into precipitation data through the conversion relationship to obtain a set of predicted short-term precipitation data. By performing Gaussian sampling multiple times, multiple sets of different predicted short-term precipitation data can be formed, and these predicted short-term precipitation data are averaged by time to obtain a set of averaged forecast results.

[0108] Specifically, when averaging multiple sets of predicted short-term precipitation data by time and obtaining the averaged forecast result, one or more of the following algorithms may be preset.

[0109] Algorithm 1: Weighted average method, weighted average of multiple sets of predicted short-term precipitation data. The goal is to minimize the root mean square error of the ensemble average, taking into account the error variance of each prediction and the prediction covariance between them. The method used in grid rainfall analysis is weighted according to the inverse of the expected error variance. Using this strategy, the weight of each set of predicted short-term precipitation data can be calculated based on the variance of the historical prediction data deviation.

[0110] For example, the predicted short-term precipitation data results of the previous two months are evaluated as a whole, the deviations between the predicted short-term precipitation data and the actual precipitation data of multiple neural network models generated by adjusting the Gaussian random sampling parameters are calculated, and the variance is calculated. Then, the inverse of the variance is used to set the weight of the short-term precipitation data predicted by each neural network model.

[0111] Algorithm 2: Bias correction method. Since the maximum rainfall position of the precipitation data obtained by averaging multiple sets of short-term precipitation data is more accurate than any single short-term precipitation data, but the maximum rainfall rate is significantly reduced, the rainfall range is unrealistically large. Therefore, it is better to change the rainfall rate during calculation to produce a more realistic rainfall field, with a reduced rainfall area and an increased maximum rainfall rate.

[0112] In practice, the rainfall area in the average forecast result A is assumed to be too large by a bias factor b (which can be obtained by statistical historical errors), while the rainfall amount in the average forecast result V is assumed to be approximately correct. If f(r) represents the frequency distribution of the forecast rainfall rate, then in the domain, then the area and volume of the forecast rainfall can be written as:

[0113]

[0114]

[0115] Where r represents the amount of precipitation or the level of precipitation, f(r) is the frequency or probability density of different levels of precipitation or precipitation, the integral represents the probability, r max is the maximum precipitation rate in the ensemble mean forecast.

[0116] The expected bias in the rain area is corrected by dividing by the bias factor b:

[0117]

[0118] A t is the bias-corrected rain area, r t is a rainfall rate. Combining historical data, we can get the lower bound of r. t , which means that if the predicted precipitation data is less than this value, the model will have a large deviation, so the lower bound is set to r t By truncating the integral at the lower bound, the corrected rain area is obtained. t Setting the rainfall rate to zero can eliminate the excess rainfall area.

[0119] Algorithm 3: Probability matching algorithm. First, the grid data of the predicted short-term precipitation data of T models in the entire area are spliced ​​and merged. For example, the grid data with a matrix size of M*N is spliced ​​to obtain a spliced ​​data sequence with a length of M*N*T. This spliced ​​data sequence is arranged in the order from the largest to the smallest on the dimension T. From the perspective of dimension T, within the M*N regional range, each grid has its own precipitation distribution sequence, which can be used as an approximation of the grid precipitation probability density function (Probability Density Function, PDF). This method uses the forecast results of multiple models to merge and splice, and indirectly simulates the probability density function of precipitation in the entire region. On the basis of maintaining the accuracy of precipitation forecast, it supports the forecast of the maximum precipitation, and at the same time gives the corresponding probability density, which improves the problem of the ensemble average method weakening the maximum precipitation.

[0120] Based on the same inventive concept, the embodiment of the present invention also provides a prediction device for short-term precipitation, such as Figure 6 As shown, including:

[0121] The acquisition unit 601 is used to acquire Doppler radar data and precipitation data of the target site, where the Doppler radar data includes radar combined reflectivity data.

[0122] The processing unit 602 is used to fuse the radar combined reflectivity data and the precipitation data using the pre-fitted conversion relationship between the radar reflectivity and the precipitation intensity, generate the grid precipitation data including the target site, and convert the grid precipitation data into the fused reflectivity data.

[0123] The prediction unit 603 is used to input the fused reflectivity data of at least two consecutive moments into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator.

[0124] The conversion unit 604 is used to convert the predicted reflectivity data into precipitation data by using the conversion relationship, so as to obtain the predicted short-term precipitation data of the target site.

[0125] In a possible implementation manner, in the above-mentioned device provided by an embodiment of the present invention, the processing unit 602 pre-fits the conversion relationship between radar reflectivity and precipitation intensity in the following manner: acquiring historical Doppler radar data and historical precipitation data of the target site, the historical Doppler radar data including historical radar base data; based on a preset rule, cleaning the historical radar base data and the historical precipitation data, and calculating the radar combined reflectivity based on the cleaned radar base data; accumulating the cleaned historical precipitation data within multiple preset time periods according to the collection time interval of the historical radar base data, and calculating the cumulative precipitation within each preset time period; fitting multiple radar combined reflectivities based on the combination of multiple radar combined reflectivities and cumulative precipitations, respectively. The initial conversion relationship between reflectivity and precipitation intensity, the combination of multiple radar combination reflectivities and accumulated precipitation, including the combination of radar combination reflectivity in each preset time period and the accumulated precipitation in the preset time period, and the combination of radar combination reflectivity of the most recent historical precipitation process of the target site and the precipitation of the most recent historical precipitation process; the radar combination reflectivity of the target site at the previous moment is substituted into multiple initial conversion relationships, the precipitation data corresponding to each initial conversion relationship is calculated, and then the evaluation value of each initial conversion relationship is calculated based on the precipitation data corresponding to each initial conversion relationship and the actual precipitation data of the target site at the previous moment; the initial conversion relationship with the highest evaluation value is used as the pre-fitted conversion relationship between radar reflectivity and precipitation intensity.

[0126] In a possible implementation, in the above-mentioned device provided by an embodiment of the present invention, the processing unit 602 is specifically used to: substitute the radar combined reflectivity of the target site at a previous moment into the pre-fitted conversion relationship between the radar reflectivity and the precipitation intensity to obtain precipitation data corresponding to the radar combined reflectivity; calculate the deviation value between the precipitation data corresponding to the radar combined reflectivity and the actual precipitation data of the target site at a previous moment; use a predetermined inverse distance interpolation parameter to interpolate the deviation value into grid data in a grid containing the target site; use the deviation value to correct the precipitation data, combine the corrected precipitation data and the grid data, and generate grid precipitation data containing the target site.

[0127] In a possible implementation, in the above-mentioned device provided by an embodiment of the present invention, the device also includes: an adjustment unit 605, which is used to adjust the input parameters in the pre-trained neural network model once or multiple times, and after each adjustment, the fused reflectivity data of at least two consecutive moments are re-input into the adjusted neural network model to obtain a set of predicted reflectivity data, and the newly obtained predicted reflectivity data is converted into precipitation data using a conversion relationship to obtain a set of predicted short-term precipitation data; a calculation unit 606, which is used to perform weighted averaging on multiple sets of predicted short-term precipitation data through a preset algorithm to obtain the short-term precipitation data of the target site.

[0128] In addition, combined Figure 1-Figure 6 The prediction method and device for short-term precipitation in the described embodiments of the present invention can be implemented by an electronic device. The electronic device can be an intelligent device (such as a robot, etc.) or a controller of an intelligent device, or a server. The specific implementation form of the electronic device is not limited in the embodiments of the present invention. Figure 7 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention is shown.

[0129] The electronic device may include a processor 701 and a memory 702 storing computer program instructions.

[0130] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0131] The memory 702 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the data processing device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory. In a specific embodiment, the memory 702 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0132] The processor 701 reads and executes the computer program instructions stored in the memory 702 to implement any one of the short-term precipitation prediction methods in the above embodiments.

[0133] In one example, the electronic device may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.

[0134] The communication interface 703 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0135] Bus 710 includes hardware, software or both, and the parts of the electronic device are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0136] The electronic device can execute the prediction method of short-term precipitation in the embodiment of the present invention based on the acquired Doppler radar data and precipitation data, thereby realizing the combination of Figure 1-Figure 6 A method and apparatus for predicting short-term precipitation is described.

[0137] In addition, in combination with the prediction method for short-term precipitation in the above embodiments, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the prediction methods for short-term precipitation in the above embodiments is implemented.

[0138] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0139] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for predicting short-term precipitation, characterized in that: include: Acquiring Doppler radar data and precipitation data of a target site, wherein the Doppler radar data includes radar combined reflectivity data; Using the pre-fitted conversion relationship between radar reflectivity and precipitation intensity, the radar combined reflectivity data and the precipitation data are fused to generate grid precipitation data containing the target site, and the grid precipitation data is converted into fused reflectivity data; Inputting the fused reflectivity data of at least two consecutive moments into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator; The predicted reflectivity data is converted into precipitation data by using the conversion relationship to obtain the predicted short-term precipitation data of the target site.

2. The method according to claim 1, characterized in that The pre-fitted conversion relationship between radar reflectivity and precipitation intensity is fitted in the following way: Acquire historical Doppler radar data and historical precipitation data of the target site, wherein the historical Doppler radar data includes historical radar base data; Based on a preset rule, the historical radar base data and the historical precipitation data are cleaned, and based on the cleaned radar base data, a radar combined reflectivity is calculated; Accumulating the cleaned historical precipitation data within a plurality of preset time periods according to the collection time interval of the historical radar base data, and calculating the cumulative precipitation within each preset time period; Based on the combinations of multiple radar combined reflectivities and accumulated precipitation, respectively, initial conversion relationships between multiple radar reflectivities and precipitation intensities are fitted, wherein the multiple combinations of radar combined reflectivities and accumulated precipitation include a combination of the radar combined reflectivity in each preset time period and the accumulated precipitation in the preset time period, and a combination of the radar combined reflectivity of the most recent historical precipitation process of the target site and the precipitation of the most recent historical precipitation process; Substituting the radar combined reflectivity of the target site at a previous moment into the multiple initial conversion relationships, calculating the precipitation data corresponding to each initial conversion relationship, and then calculating the evaluation value of each initial conversion relationship based on the precipitation data corresponding to each initial conversion relationship and the actual precipitation data of the target site at a previous moment; The initial conversion relationship with the highest evaluation value is used as the pre-fitted conversion relationship between radar reflectivity and precipitation intensity.

3. The method according to claim 2, characterized in that The method of using the pre-fitted conversion relationship between radar reflectivity and precipitation intensity to fuse the radar combined reflectivity data and the precipitation data to generate grid precipitation data containing the target site includes: Substituting the radar combined reflectivity of the target site at the previous moment into the pre-fitted conversion relationship between radar reflectivity and precipitation intensity to obtain precipitation data corresponding to the radar combined reflectivity; Calculate the deviation between the precipitation data corresponding to the radar combined reflectivity and the actual precipitation data of the target site at a previous moment; Using predetermined inverse distance interpolation parameters, interpolating the deviation value into grid data in a grid containing the target site; The precipitation data is corrected using the deviation value, and the corrected precipitation data is combined with the grid data to generate grid precipitation data including the target site.

4. The method according to claim 1, characterized in that: The time dimension discriminator is used to discriminate the actual precipitation data of the target site and the precipitation data at each moment in the predicted short-term precipitation data in the time dimension; The spatial dimension discriminator is used to discriminate the actual precipitation data of the target site and the precipitation data at each moment in the predicted short-term precipitation data in terms of spatial dimension.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The input parameters in the pre-trained neural network model are adjusted once or multiple times. After each adjustment, the fused reflectivity data at at least two consecutive moments are re-input into the adjusted neural network model to obtain a set of predicted reflectivity data, and the newly obtained predicted reflectivity data is converted into precipitation data using the conversion relationship to obtain a set of predicted short-term precipitation data; The multiple groups of predicted short-term precipitation data are weighted averaged through a preset algorithm to obtain the short-term precipitation data of the target site.

6. A short-term precipitation prediction device, characterized in that: include: An acquisition unit, used for acquiring Doppler radar data and precipitation data of a target site, wherein the Doppler radar data includes radar combined reflectivity data; A processing unit, configured to fuse the radar combined reflectivity data and the precipitation data by using a pre-fitted conversion relationship between radar reflectivity and precipitation intensity, generate grid precipitation data including the target site, and convert the grid precipitation data into fused reflectivity data; A prediction unit, used for inputting the fused reflectivity data of at least two consecutive moments into a pre-trained neural network model to obtain a set of predicted reflectivity data, wherein the pre-trained neural network model is an adversarial neural network model including a time dimension discriminator and a space dimension discriminator; The conversion unit is used to convert the predicted reflectivity data into precipitation data by using the conversion relationship to obtain the predicted short-term precipitation data of the target site.

7. The device according to claim 6, characterized in that The processing unit pre-fits the conversion relationship between radar reflectivity and precipitation intensity in the following manner: Acquire historical Doppler radar data and historical precipitation data of the target site, wherein the historical Doppler radar data includes historical radar base data; Based on a preset rule, the historical radar base data and the historical precipitation data are cleaned, and based on the cleaned radar base data, a radar combined reflectivity is calculated; Accumulating the cleaned historical precipitation data within a plurality of preset time periods according to the collection time interval of the historical radar base data, and calculating the cumulative precipitation within each preset time period; Based on the combinations of multiple radar combined reflectivities and accumulated precipitation, respectively, initial conversion relationships between multiple radar reflectivities and precipitation intensities are fitted, wherein the multiple combinations of radar combined reflectivities and accumulated precipitation include a combination of the radar combined reflectivity in each preset time period and the accumulated precipitation in the preset time period, and a combination of the radar combined reflectivity of the most recent historical precipitation process of the target site and the precipitation of the most recent historical precipitation process; Substituting the radar combined reflectivity of the target site at a previous moment into the multiple initial conversion relationships, calculating the precipitation data corresponding to each initial conversion relationship, and then calculating the evaluation value of each initial conversion relationship based on the precipitation data corresponding to each initial conversion relationship and the actual precipitation data of the target site at a previous moment; The initial conversion relationship with the highest evaluation value is used as the pre-fitted conversion relationship between radar reflectivity and precipitation intensity.

8. The device according to claim 6 or 7, characterized in that The device also includes: An adjustment unit, used to adjust the input parameters in the pre-trained neural network model once or multiple times, and after each adjustment, re-input the fused reflectivity data of at least two consecutive moments into the adjusted neural network model to obtain a set of predicted reflectivity data, and convert the newly obtained predicted reflectivity data into precipitation data using the conversion relationship to obtain a set of predicted short-term precipitation data; The calculation unit is used to perform weighted averaging on multiple groups of predicted short-term precipitation data through a preset algorithm to obtain the short-term precipitation data of the target site.

9. An electronic device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 5.

10. A storage medium, characterized in that: When the computer program in the storage medium is executed by a processor of an electronic device, the electronic device can perform the method as claimed in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Rainfall intensity estimation method and system based on big data

    CN109782375A

  • Short-impending rainfall prediction method based on ConvLSTM and 3D-CNN

    CN110363327A

  • Short-time heavy rainfall forecasting method, computer equipment and storage medium

    CN114898206A

  • Quantitative rainfall estimation method based on dual-polarization Doppler radar data

    CN115166750A

  • Additive for Strength Development of Type Ⅰ Slag Cement and Slag Cement Concrete Using the Same

    KR102551892B1

Cited By

  • Short temporary weather radar echo forecasting method and system based on video generation model

    CN122110340A