A radar echo extrapolation method based on deep learning
The radar echo extrapolation method based on deep learning solves the problems of short prediction time and low accuracy of traditional radar extrapolation methods. Through the spatiotemporal feature extraction and fusion mechanism, the prediction accuracy and real-time performance of radar reflectivity are improved. Suitable for practical nowcasting applications.
Patent Information
- Application Number
- CN202210633122.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-06
AI Technical Summary
The traditional radar extrapolation method has short prediction time and low accuracy. It is especially difficult to effectively solve the long-tail prediction bottleneck problem caused by the complexity of the atmospheric system and accumulation of system errors. Moreover, the characteristics of single channel and low pixel value make radar echo feature extraction difficult. difficulty.
The radar echo extrapolation method based on deep learning is used to obtain weather radar data through historical precipitation data, perform combined reflectivity calculation and coordinate correction of multi-elevation angle reflectivity data, and use Mahalanobis distance quality control to establish independent parallel extraction of spatio-temporal features. and fused deep learning models, designing specialized feature extraction networks and cross-fusion mechanisms, combined with residual and pixel reorganization methods to improve prediction accuracy and clarity.
It improves the robustness and prediction duration of the spatiotemporal variation characteristics of the precipitation process, improves the extrapolation effect of radar reflectivity motion, is easy to operate, achieves higher prediction accuracy and real-time performance, and has good application prospects and generalization capabilities. .
Smart Images

Figure CN115421117B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of weather radar information processing, and in particular to a radar echo extrapolation method based on deep learning. Background Art
[0002] As one of the basic remote sensing instruments, weather radar plays an important role in meteorology. The detected radar echo has the advantages of high temporal and spatial resolution and close correlation with meteorological conditions, which can be used by forecasters to identify and classify weather systems. In particular, weather conditions can be predicted by predicting the intensity and distribution of radar reflectivity based on the existing radar echo observations. Therefore, radar extrapolation becomes one of the most feasible nowcasting techniques.
[0003] Traditional radar extrapolation methods, such as centroid tracking, cross-correlation, and optical flow, all calculate motion vectors based on the assumption that it is a rigid body motion, which has low accuracy and short prediction time. In recent years, research on spatiotemporal series prediction, the core issue of radar extrapolation, has made great progress compared to traditional methods. However, they still fall into a bottleneck of long-tail prediction, where accuracy and clarity usually drop suddenly from the third or fourth prediction frame, which is an important reason for extending the technology to practical nowcasting applications.
[0004] There are several main reasons for this prediction dilemma: first, the evolution of the atmospheric system is inherently chaotic and complex, especially in the generation and disappearance of meteorological phenomena; in addition, the accumulation of systematic errors will grow exponentially, because extrapolation is a circular reasoning that inevitably uses a priori predictions to generate the next frame; in addition, most methods simply adopt a unified architecture to extract spatiotemporal features simultaneously, thereby offsetting the differences between these features. The extraction of radar echo features becomes more difficult due to its single channel (generally 3 channels), low pixel value (0-70dBZ) and sparse temporal distribution (6 minutes per frame). Summary of the invention
[0005] The purpose of the present invention is to provide a radar echo extrapolation method based on deep learning to solve the problems raised in the above background technology.
[0006] The technical solution of the present invention is: a radar echo extrapolation method based on deep learning, comprising the following specific steps:
[0007] Step 1: Obtain weather radar data based on historical precipitation data;
[0008] Step 2: Based on the acquired weather radar data, the reflectivity data at multiple elevation angles are combined for reflectivity calculation and coordinate correction;
[0009] Step 3: Based on the calculated combined reflectance data, the Mahalanobis distance is used to perform quality control on the combined reflectance image to obtain more accurate input and labels;
[0010] Step 4: Establish a radar echo extrapolation model based on deep learning;
[0011] Step 5: Set the model's hyperparameters, total number of training times, adjustable learning rate, momentum parameter, weight decay parameter, and loss function, and obtain the optimal parameters through repeated adjustments and comparative tests to obtain the optimal radar echo extrapolation model;
[0012] Step 6: Apply the trained optimal radar extrapolation model to test the new weather radar data. After the prediction is completed, the radar echo extrapolation results for the next 10 time periods are obtained and superimposed on the terrain file.
[0013] Furthermore, in step 1, Doppler radar base data is obtained from the China Meteorological Data Network (http: / / data.cma.cn).
[0014] Furthermore, in step 2, the reflectivity data at multiple elevation angles are combined for reflectivity calculation and coordinate correction, specifically including eliminating basic reflectivities less than 0 dBZ and greater than 70 dBZ, and converting the original polar coordinates into Cartesian coordinates with a grid size of 1 km × 1 km; at the same time, the data at each elevation angle are interpolated for missing data at the grid points using a three-dimensional k-nearest neighbor algorithm, and the value of each grid point in the final combined reflectivity is the maximum value of the data at different elevation angles at that grid point position.
[0015] Furthermore, in step 5, a deep learning-based radar echo extrapolation model is established, which consists of a feature extraction network for extracting spatiotemporal features separately and in parallel and a spatiotemporal fusion network.
[0016] Furthermore, the feature extraction network consists of two sub-networks; the spatiotemporal fusion network consists of 2 3*3 grouped convolutions, 2 staggered connection units, 1 3*3 convolution layer and 2 pixel reconstruction modules.
[0017] Furthermore, the two sub-networks are respectively a spatial feature extraction network and a temporal feature extraction network. The spatial feature extraction network consists of a 3*3 convolutional layer, a pyramid convolutional layer and a convolutional gating unit; the temporal feature extraction network consists of a 3*3 convolutional layer and a trajectory convolutional gating unit.
[0018] Furthermore, the pyramid convolution consists of a 1*1 convolution layer, a 3*3 convolution layer, a 5*5 convolution layer and a 7*7 convolution layer; the trajectory convolution gating unit consists of a 1*1 deformable convolution layer, a 3*3 deformable convolution layer, a 5*5 deformable convolution layer, a 7*7 deformable convolution layer and a convolution gating unit.
[0019] The present invention provides a radar echo extrapolation method based on deep learning through improvement, which has the following improvements and advantages compared with the prior art:
[0020] First, the present invention has strong robustness to the spatiotemporal variation characteristics of the precipitation process, and improves the effective prediction time. Before the model starts training, the sample data is normalized to 0-1, that is, each sample data is divided by 70, which is conducive to improving the convergence speed of the model. This method has a good extrapolation effect on the movement of radar reflectivity and is easy to operate. After obtaining the optimal radar extrapolation model, it only takes 10 to 15 seconds to predict 10 consecutive complete radar echo images, which further improves the accuracy of the estimation compared with the existing methods and has good application prospects.
[0021] Second, the present invention changes the previous method of extracting the spatiotemporal features of radar sequences, designs special feature extraction networks for temporal features and spatial features respectively, and designs a cross-fusion mechanism, which effectively reduces the loss of spatiotemporal information in combination with residuals. Finally, the pixel reorganization method commonly used in super-resolution reconstruction tasks is adopted to improve the accuracy and clarity of the extrapolated image, laying a foundation for expanding the data set in the future and further improving the generalization ability of the model and the accuracy of estimation. After the Doppler radar reflectivity data is released, the radar echo extrapolation result can be quickly obtained, which has higher real-time performance and higher reliability.
[0022] Third: The present invention does not require the addition of additional hardware equipment. It only needs to adjust a small number of hyperparameters of the deep learning model during the experimental stage. According to the input samples and labels, the deep learning model automatically captures the relevant information of the temporal and spatial changes of the radar reflectivity factor, and performs temporal and spatial fusion to establish the temporal and spatial correlation of the radar reflectivity factor; it automatically saves the optimal model parameters. After obtaining the optimal model, it only needs to call the model to realize the echo image extrapolation based on the radar reflectivity data, which is convenient for user operation and can almost achieve the effect of real-time radar echo extrapolation. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The present invention will be further explained below in conjunction with the accompanying drawings and embodiments:
[0024] Figure 1 It is a schematic diagram of the process of the present invention;
[0025] Figure 2This is a schematic diagram of Doppler radar reflectivity data in this embodiment;
[0026] Figure 3 This is a schematic diagram of radar combined reflectivity data after correction in this embodiment;
[0027] Figure 4 A schematic diagram of background noise calculated in this embodiment;
[0028] Figure 5 Schematic diagram of system noise calculated in this embodiment;
[0029] Figure 6 This is a schematic diagram of the radar echo extrapolation model structure in this embodiment;
[0030] Figure 7 This is a schematic diagram of the regional echo result extrapolated by radar in this embodiment;
[0031] Figure 8 This is a sorted diagram of the average values of the matrix pixels of the combined reflectivity in this embodiment. DETAILED DESCRIPTION
[0032] The present invention is described in detail below, and the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] The present invention provides a radar echo extrapolation method based on deep learning through improvement. The technical solution of the present invention is:
[0034] like Figure 1 As shown, a radar echo extrapolation method based on deep learning includes the following specific steps:
[0035] Step 1: Obtain weather radar data based on historical precipitation data to obtain Figure 2 Doppler radar reflectivity data shown;
[0036] Step 2: Based on the weather radar data, the reflectivity data at multiple elevation angles are combined for reflectivity calculation and coordinate correction, including eliminating the basic reflectivity less than 0 dBZ and greater than 70 dBZ, and converting the original polar coordinates into Cartesian coordinates with a grid size of 1 km × 1 km. At the same time, the missing data of the grid points are interpolated using the three-dimensional k-nearest neighbor algorithm for each layer of elevation data. The value of each grid point in the final combined reflectivity is the maximum value of the different elevation angle data at the grid point position, such as Figure 3 As shown;
[0037] Step 3: Based on the calculated combined reflectance data, the Mahalanobis distance is used to perform quality control on the combined reflectance image. First, the average pixel value (APV) of each pixel in the combined reflectance matrix is calculated for preliminary screening; Figure 8 As shown in the figure, sort the APV from small to large, select the smallest 0.1% of radar echo images (in fact, select the average dBZ under the condition of least rainfall, because there is basically no rain at this time, dBZ should be close to zero, and if there is a large dBZ at this time, it should be noise and needs to be removed), calculate the average of each pixel, and finally get a background noise image, as shown in the figure. Figure 4 shown.
[0038] Finally, the system noise is calculated based on historical data. First, 20% of the echo patterns are randomly selected from all radar echo patterns for calculation, and then divided into N = 701 levels according to 0.1dBZ. The probability of each level is equal to the number of times the level appears divided by the total number of echo patterns. Then, the Mahalanobis distance is solved:
[0039] a) Find the ratio vector x for each position k k =(x0,x1,L,x 700 ) T , x i It represents the probability of dBZ at position k and level i appearing in the sample. This step needs to traverse all randomly selected 20% echo graphs.
[0040] b) Find the mean of each position ratio vector Where M is the number of pixels in the image, equal to img_height×img_width
[0041] c) Find the covariance of the M ratio vectors,
[0042] d) Mahalanobis distance at each position
[0043] At this point, the system noise can be calculated according to the following formula: Figure 5 As shown:
[0044]
[0045] Among them, d mean ,d std Respectively represent the mean and standard deviation of the Mahalanobis distance, threshold = d mean +3d std ;
[0046] Step 4: Use the PyTorch deep learning framework and Python programming language to establish a radar echo extrapolation model based on deep learning; the radar extrapolation model is constructed as follows: Figure 6 As shown in the figure, the radar echo extrapolation model based on deep learning consists of a feature extraction network for separate and parallel extraction of spatiotemporal features and a spatiotemporal fusion network. The feature extraction network consists of two sub-networks: the spatial feature extraction network consists of a 3*3 convolutional layer, a pyramid convolutional layer and a convolutional gating unit; the temporal feature extraction network consists of a 3*3 convolutional layer and a trajectory convolutional gating unit; the spatiotemporal fusion network consists of 2 3*3 grouped convolutions, 2 staggered connection units, 1 3*3 convolutional layer and 2 pixel reconstruction modules.
[0047] The spatial pyramid convolution consists of a 1*1 convolution layer, a 3*3 convolution layer, a 5*5 convolution layer and a 7*7 convolution layer; the trajectory convolution gating unit consists of a 1*1 deformable convolution layer, a 3*3 deformable convolution layer, a 5*5 deformable convolution layer, a 7*7 deformable convolution layer and a convolution gating unit;
[0048] Step 5: Set the model's hyperparameters, total number of training times, adjustable learning rate, momentum parameter, weight decay parameter, and loss function, and obtain the optimal parameters through repeated adjustments and comparative tests to obtain the optimal precipitation intensity estimation model;
[0049] In this embodiment, the specific parameters of the model are set as follows: the total number of training iterations is 10,000, the initial value of the learning rate is set to 0.001, and when the number of iterations is 5,000, the learning rate is one tenth of the previous value, while maintaining the model convergence speed without causing divergence; the momentum parameter momentum is set to 0.85 to speed up the model convergence speed; MSE is defined as the model loss function, the model includes echo predictions for multiple moments, so there are loss values at multiple time points, and the loss values at multiple time points are summed and averaged and applied to the model directional propagation; after repeated tests and comparisons, the above parameter values are the best parameters.
[0050] Before training the model, the present invention can normalize the preprocessed data, that is, perform 0-1 normalization on the sample data, that is, divide each sample data by 70, which is conducive to improving the convergence speed of the model;
[0051] Step 6: Apply the trained best echo extrapolation model to test new weather data. Perform data preprocessing and model prediction on each data point of the new weather radar data. After the prediction is completed, the echo extrapolation results are obtained frame by frame. Then, a complete precipitation estimation result is generated and superimposed on the shape terrain file to generate accurate regional precipitation information, such as Figure 7 shown.
[0052] The present invention changes the previous method of extracting the spatiotemporal features of radar sequences, designs special feature extraction networks for temporal features and spatial features respectively, and designs a cross-fusion mechanism, which effectively reduces the loss of spatiotemporal information by combining residuals. Finally, the pixel reorganization method commonly used in super-resolution reconstruction tasks is adopted to improve the accuracy and clarity of the extrapolated image. At present, my country's Doppler radar networking and radar technology upgrades are progressing steadily, and more accurate weather radar data are also being released, laying the foundation for expanding the data set in the future and further improving the generalization ability of the model and the accuracy of the estimate. The present invention can quickly obtain the radar echo extrapolation result after the Doppler radar reflectivity data is released, so it has higher real-time performance and higher reliability.
[0053] The above description enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A radar echo extrapolation method based on deep learning, characterized in that: The specific steps include: Step 1: Obtain weather radar data based on historical precipitation data; Step 2: Based on the acquired weather radar data, the reflectivity data at multiple elevation angles are combined for reflectivity calculation and coordinate correction; Step 3: Based on the calculated combined reflectance data, the Mahalanobis distance is used to perform quality control on the combined reflectance image to obtain more accurate input and labels; Step 4: Establish a radar echo extrapolation model based on deep learning, wherein the radar echo extrapolation model consists of a feature extraction network for extracting spatiotemporal features separately and in parallel and a spatiotemporal fusion network; The feature extraction network consists of two sub-networks; the spatiotemporal fusion network consists of two 3×3 grouped convolutions, two staggered connection units, one 3×3 convolution layer and two pixel reorganization modules; The two sub-networks are respectively a spatial feature extraction network and a temporal feature extraction network, wherein the spatial feature extraction network is composed of a 3×3 convolution layer, a pyramid convolution layer and a convolution gating unit; the temporal feature extraction network is composed of a 3×3 convolution layer and a trajectory convolution gating unit; Step 5: Set the model's hyperparameters, total number of training times, adjustable learning rate, momentum parameter, weight decay parameter, and loss function, and obtain the optimal parameters through repeated adjustments and comparative tests to obtain the optimal radar echo extrapolation model; Step 6: Apply the trained optimal radar extrapolation model to test the new weather radar data. After the prediction is completed, the radar echo extrapolation results for the next 10 time periods are obtained and superimposed on the terrain file.
2. The radar echo extrapolation method based on deep learning according to claim 1, characterized in that: In the step 1, Doppler radar base data is obtained from the China Meteorological Data Network.
3. The radar echo extrapolation method based on deep learning according to claim 1, characterized in that: In the step 2, the reflectivity data at multiple elevation angles are combined for reflectivity calculation and coordinate correction, specifically including eliminating basic reflectivities less than 0 dBZ and greater than 70 dBZ, and converting the original polar coordinates into Cartesian coordinates with a grid size of 1 km×1 km; at the same time, the missing data of the grid points are interpolated for the data at each elevation angle using a three-dimensional k-nearest neighbor algorithm, and the value of each grid point in the final combined reflectivity is the maximum value of the data at different elevation angles at the grid point position.
4. The radar echo extrapolation method based on deep learning according to claim 1, characterized in that: The pyramid convolution consists of a 1×1 convolution layer, a 3×3 convolution layer, a 5×5 convolution layer and a 7×7 convolution layer; the trajectory convolution gating unit consists of a 1×1 deformable convolution layer, a 3×3 deformable convolution layer, a 5×5 deformable convolution layer, a 7×7 deformable convolution layer and a convolution gating unit.
Citation Information
Patent Citations
Radar echo extrapolation method based on deep space-time prediction neural network
CN109001736A
Radar echo extrapolation method and device based on deep learning model
CN114488070A
