A method and system for weather radar echo extrapolation based on self-attention mechanism and predictive recurrent neural network

Through the weather radar echo extrapolation method based on the self-attention mechanism and predictive recurrent neural network, and using the Self-attention PredRNN++ network model, the problem of difficulty in capturing deep network features and global spatio-temporal correlation information in the existing technology is solved, and the Highly accurate radar echo extrapolation.

CN114594443BActive Publication Date: 2024-08-27NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210286562.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-23
Publication Date
2024-08-27
Estimated Expiration
2042-03-23

AI Technical Summary

Technical Problem

Existing technology is difficult to capture deep network characteristics and global spatiotemporal correlation information, resulting in low accuracy of radar echo extrapolation, numerous model parameters, and insufficient spatial information.

Method used

A meteorological radar echo extrapolation method based on the self-attention mechanism and predictive recurrent neural network is adopted. Through the Self-attention PredRNN++ network model, the A-layer Self-attention mechanism, GHU and Causal LSTM units are used to extract global attention and spatio-temporal correlation information. , capture deep network features, and extrapolate the radar echo image sequence in the next 2 hours.

Benefits of technology

Effectively controlling the number of model parameters improves the accuracy of extrapolated image sequences, can accurately capture deep network features and global spatio-temporal correlation information, and improves the accuracy of radar echo extrapolation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0003560169480000051
    Figure BDA0003560169480000051
  • Figure BDA0003560169480000052
    Figure BDA0003560169480000052
  • Figure BDA0003560169480000053
    Figure BDA0003560169480000053
Patent Text Reader

Abstract

The present invention provides a method and system for weather radar echo extrapolation based on a self-attention mechanism and a predictive recurrent neural network, wherein the method comprises: obtaining a weather radar echo image; preprocessing the obtained weather radar echo image to obtain grayscale data of the weather radar echo image; obtaining a Self-attention PredRNN++ network model based on the Self-attention mechanism and PredRNN++; obtaining a weather radar echo extrapolation image sequence through a weather radar echo image sequence based on the Self-attention PredRNN++ network model. The present invention can extrapolate a radar echo image sequence for the next 2 hours based on an existing radar echo image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a weather radar echo extrapolation method and system based on a self-attention mechanism and a predictive recursive neural network, belonging to the technical field of radar echo extrapolation short-term forecasting. Background Art

[0002] For short-term forecasts, there are currently two main methods: extrapolation technology based on radar echoes and numerical weather forecast models. However, both methods have their own problems, such as insufficient spatial information, difficulty in capturing the characteristics of deep networks, numerous model parameters, and low accuracy of radar echo extrapolation.

[0003] Deep learning is essentially a deep neural network that stacks multiple hidden layers and maps the original features to a high-dimensional feature space through nonlinear transformations. For example, convolutional neural networks (CNN), recurrent neural networks (RNN), and long short-term memory networks (LSTM).

[0004] However, existing RNN, CNN or LSTM deformation models are difficult to capture images over a long period of time, and lack the structure to learn global spatiotemporal correlation information from input radar images, making it difficult to capture the characteristics of deep networks.

[0005] Therefore, the present application proposes a weather radar echo extrapolation method and system based on self-attention mechanism and predictive recursive neural network to solve the technical problems in this field at this stage. Summary of the invention

[0006] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a weather radar echo extrapolation method and system based on a self-attention mechanism and a predictive recursive neural network, which can extrapolate a radar echo image sequence for the next 2 hours based on the existing radar echo image.

[0007] To achieve the above object, the present invention is implemented by adopting the following technical solutions:

[0008] On the one hand, the present invention provides a weather radar echo extrapolation method based on a self-attention mechanism and a predictive recursive neural network, comprising the following steps:

[0009] Acquire weather radar echo images;

[0010] Preprocessing the acquired meteorological radar echo image to obtain grayscale data of the meteorological radar echo image;

[0011] Based on the Self-attention mechanism and PredRNN++, the Self-attention PredRNN++ network model is obtained;

[0012] Based on the Self-attention PredRNN++ network model, the meteorological radar echo extrapolation image sequence is obtained through the meteorological radar echo image sequence.

[0013] Further, the preprocessing of the acquired weather radar echo image to obtain grayscale data of the weather radar echo image includes:

[0014] Based on the three-dimensional block matching algorithm, the acquired meteorological radar echo image is denoised;

[0015] The denoised weather radar echo image is normalized and converted into grayscale data.

[0016] Furthermore, the grayscale value range of the grayscale data is [0, 255].

[0017] Furthermore, the Self-attention PredRNN++ network model is obtained based on the Self-attention mechanism and PredRNN++, including:

[0018] Get the A-layer Self-attention mechanism, A-layer GHU, and 4A-layer Causal LSTM units;

[0019] Divide the acquired Self-attention mechanism, GHU and Causal LSTM units into group A of cells;

[0020] The four layers of Causal LSTM units of each group of cell units are connected in series, and the output end of the first layer of Causal LSTM units is connected to a layer of GHU, the output end of GHU is connected to a layer of Self-attention mechanism, and the output end of the Self-attention mechanism is connected to the second layer of Causal LSTM units;

[0021] Each group of cell units is cascaded in sequence, and the output end of the fourth layer of the Causal LSTM unit of the previous step-length cell unit is communicated with the first layer of the Causal LSTM unit of the next step-length cell unit, wherein the first layer of the Causal LSTM unit of the first step-length cell unit receives the grayscale data of the meteorological radar echo image, and the fourth layer of the Causal LSTM unit of the Ath step-length cell unit outputs a meteorological radar echo extrapolated image sequence.

[0022] Furthermore, A is 3.

[0023] Furthermore, the self-attention PredRNN++ network model is based on the weather radar echo image sequence to obtain the weather radar echo extrapolation image sequence, which includes:

[0024] Initialize the model parameters of the Self-attention PredRNN++ model;

[0025] Input the grayscale data of the weather radar echo image into the first layer of the Causal LSTM unit of the first step long cell unit;

[0026] Based on the first layer of Causal LSTM units, the grayscale data of the weather radar echo image is used to update the spatiotemporal memory of the model parameters and the target sequence;

[0027] Based on GHU, the hidden state of the weather radar echo image is updated using the target sequence updated by the first layer of Causal LSTM units;

[0028] Based on the Self-attention mechanism, the hidden state updated by GHU is used to update the target sequence of the weather radar echo image;

[0029] Based on the second to fourth layers of Causal LSTM units, the target sequence is updated sequentially using the target sequence updated by the Self-attention mechanism;

[0030] Based on the sequential cascading of each group of cells, the first layer of the Causal LSTM unit of the cell unit of the current step length uses the target sequence updated by the fourth layer of the Causal LSTM unit of the cell unit of the previous step length and the model parameters and grayscale data updated by the cell unit of the previous step length to update the spatiotemporal memory and target sequence;

[0031] Based on the fourth layer of the Causal LSTM unit of the A-th step cell unit, the target sequence is updated by using the target sequence updated by the third layer of the Causal LSTM unit of the A-th step cell unit to obtain the weather radar echo extrapolation image sequence.

[0032] On the other hand, the present invention provides a weather radar echo extrapolation system based on a self-attention mechanism and a predictive recursive neural network, comprising:

[0033] Acquire a template for acquiring a weather radar echo image;

[0034] A preprocessing template is used to preprocess the acquired meteorological radar echo image to obtain grayscale data of the meteorological radar echo image;

[0035] Model building template, used to obtain the Self-attentionPredRNN++ network model based on the Self-attention mechanism and PredRNN++;

[0036] Output template, used to obtain the meteorological radar echo extrapolated image sequence through the meteorological radar echo image sequence based on the Self-attention PredRNN++ network model.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention can extrapolate the radar echo image sequence of the next 2 hours based on the existing radar echo image; the lightweight Self-attention mechanism can not only effectively control the number of model parameters, but also extract global attention, and effectively capture the characteristics of the deep network according to the structure of the global spatiotemporal correlation information, thereby improving the accuracy of the extrapolated image sequence. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 Shown is a flow chart of an embodiment of a weather radar echo extrapolation method based on a self-attention mechanism and a predictive recurrent neural network according to the present invention;

[0040] Figure 2 Shown is a schematic diagram of the structure of an embodiment of the Causal LSTM unit of the present invention;

[0041] Figure 3 It is a schematic diagram of the structure of an embodiment of the self-attention mechanism and GHU of the present invention;

[0042] Figure 4 FIG. 1 is a schematic diagram showing a structure of an embodiment of the self-attention mechanism of the present invention;

[0043] Figure 5 FIG. 1 is a schematic diagram showing the structure of an embodiment of the Self-attention PredRNN++ network model of the present invention;

[0044] Figure 6 An embodiment of the weather radar echo extrapolation method based on the self-attention mechanism and the predictive recurrent neural network of the present invention is shown to extrapolate an image sequence. DETAILED DESCRIPTION

[0045] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0046] Example 1

[0047] This embodiment provides a weather radar echo extrapolation method based on a self-attention mechanism and a predictive recursive neural network. Figure 1 As shown, the following steps are included:

[0048] S1 obtains the meteorological radar echo image;

[0049] S2 preprocesses the acquired weather radar echo image to obtain the grayscale data of the weather radar echo image.

[0050] In the application, based on the three-dimensional block matching algorithm, the acquired meteorological radar echo image is denoised, that is, Gaussian white noise is removed, the image detail texture is retained, and it is sliced ​​so that the image has good edge characteristics; then, the denoised meteorological radar echo image is normalized and converted into grayscale data. The grayscale data includes the sequence characteristics of the meteorological radar echo image, and the grayscale value range is [0,255].

[0051] S3 obtains the Self-attention PredRNN++ network model based on the Self-attention mechanism and the PredRNN++ network model;

[0052] S4 is based on the Self-attention PredRNN++ network model and obtains the meteorological radar echo extrapolation image sequence through the meteorological radar echo image sequence.

[0053] The present invention can extrapolate the radar echo image sequence of the next 2 hours based on the existing radar echo image; the lightweight Self-attention mechanism can not only effectively control the number of model parameters, but also extract global attention, and effectively capture the characteristics of the deep network according to the structure of the global spatiotemporal correlation information, thereby improving the accuracy of the extrapolated image sequence.

[0054] Example 2

[0055] Based on Example 1, this example introduces in detail the method of constructing a Self-attention PredRNN++ network model.

[0056] Based on the Self-attention mechanism and PredRNN++, the Self-attention PredRNN++ network model is obtained, including:

[0057] S31 obtains the A-layer Self-attention mechanism, the A-layer Gradient Highway Unit (GHU) and the 4A-layer Long Short-Term Memory (Causal Long Short-Term Memory, Causal LSTM) unit; in the application, A is 3.

[0058] S32 divides the acquired Self-attention mechanism, GHU and Causal LSTM units into group A cell units;

[0059] S33 Figure 5 As shown, the four layers of Causal LSTM units of each group of cell units are connected in series in sequence, and the output gate of the first layer of Causal LSTM units is communicated to a layer of GHU, the output end of GHU is communicated to a layer of Self-attention mechanism, and the output end of the Self-attention mechanism is communicated to the second layer of Causal LSTM units. In the application, the Self-attention mechanism can capture the spatiotemporal memory of meteorological elements and accelerate the convergence speed.

[0060] S34 Figure 5 As shown, each group of cell units is cascaded in sequence, and the output end of the fourth layer Causal LSTM unit of the previous step-length cell unit is communicated with the first layer Causal LSTM unit of the next step-length cell unit, wherein the first layer Causal LSTM unit of the first step-length cell unit receives the grayscale data of the meteorological radar echo image, and the fourth layer Causal LSTM unit of the Ath step-length cell unit outputs a meteorological radar echo extrapolated image sequence.

[0061] First, the grayscale data of the weather radar echo image is divided into a training set and a test set, and the training set is input into the Self-attention PredRNN++ network model in batches to train the Self-attention PredRNN++ network model. The training set of this embodiment includes Batchsize samples.

[0062] In the application, the effective prediction value range of the radar reflectivity factor of each pixel of the meteorological radar echo image is [0,75]. In this embodiment, the model weight of the Self-attention PredRNN++ network model is adjusted by the following formula:

[0063]

[0064] Among them, w(x) is the model weight, and x is the effective predicted value of the radar reflectivity factor.

[0065] By adjusting the model weights, the prediction ability of the Self-attention PredRNN++ network model for strong echo areas can be enhanced.

[0066] Next, the weather radar echo extrapolated image sequence output by the Self-attention PredRNN++ network model is compared with the actual weather radar echo extrapolated image sequence, and the model error of the Self-attention PredRNN++ network model is calculated by using the loss function and the back propagation algorithm, and the model parameters are adjusted according to the model error.

[0067] In applications, loss functions include mean square error function and mean absolute error function.

[0068]

[0069]

[0070] Among them, MSE is the mean square error, MAE is the mean absolute error, X(i``) is the standard value, Y(i``) is the model recognition value, and n is the total number of samples.

[0071] Then, the test set is input into the trained Self-attention PredRNN++ network model in the same batch to obtain the meteorological radar echo extrapolation image sequence. The meteorological radar echo extrapolation image sequence output by the trained Self-attention PredRNN++ network model is compared with the actual meteorological radar echo extrapolation image sequence. The accuracy of the Self-attention PredRNN++ network model is judged by the preset evaluation indicators to determine the optimal Self-attentionPredRNN++ network model.

[0072] Example 3

[0073] Based on Example 1 or 2, this example introduces in detail a method for obtaining a weather radar echo extrapolation image sequence.

[0074] Based on the Self-attention PredRNN++ network model, the meteorological radar echo extrapolation image sequence is obtained through the meteorological radar echo image sequence, including:

[0075] S41 initializes the model parameters of the Self-attention PredRNN++ model. In the application, the model parameters include hidden state, target sequence, temporal memory, and spatial memory.

[0076] S42 inputs the grayscale data of the weather radar echo image into the first layer Causal LSTM unit of the first step cell unit. In the application, the input gate of the first layer Causal LSTM unit receives the grayscale data.

[0077] S43 Figure 2 As shown in the figure, more nonlinear layers are added to each layer of Causal LSTM units to amplify each signal and effectively capture the characteristics of deep networks and sudden changes in the short term. Based on the first layer of Causal LSTM units, the grayscale data of the weather radar echo image is used to update the spatiotemporal memory and target sequence of the model parameters.

[0078] In the application, spatiotemporal memory includes time memory and space memory. The first layer of Causal LSTM units updates the time memory through the time editor:

[0079]

[0080]

[0081] Among them, the subscript is the step size, the superscript is the specific hidden layer in the stacked Causal LSTM network, C is the temporal memory, X is the sequence feature, H is the target sequence, f is the temporal forget gate, i is the temporal input gate, g is the temporal input modulation gate, W1 is the convolution filter, tanh is the activation function, σ is the sigmoid function in the activation function, * is the convolution operation, and ⊙ is the Hadamard product.

[0082] The first layer of Causal LSTM units updates the spatial memory and target sequence through the spatial editor:

[0083]

[0084]

[0085]

[0086]

[0087] Among them, f' is the spatial forget gate, i' is the spatial input gate, g' is the spatial input modulation gate, o t is the output gate, W2~W5 are convolution filters, and M is the spatial memory.

[0088] S44 Figure 3 As shown, based on GHU, the target sequence updated by the first layer Causal LSTM unit is used to update the hidden state of the weather radar echo image:

[0089]

[0090]

[0091] Z t =U t ⊙P t +(1-U t )⊙Z t-1

[0092] Among them, P is the input of the conversion, U is the switch gate, Z is the hidden state, and W px , W pz , W sx , W sz They are GHU filters respectively.

[0093] S45 Figure 4 As shown, based on the Self-attention mechanism, the hidden state updated by GHU is used to update the target sequence of the weather radar echo image;

[0094] V=Z t *W v

[0095] K=Z t *W k

[0096] Q=Z t *W q

[0097]

[0098] in, is the target sequence currently updated, W v , W k , W q are the hidden weights of the hidden states, V, Q, K are the hidden weight matrices of the hidden states, and d is the vector dimension of Q.

[0099] S46 updates the target sequence in sequence based on the second to fourth layer Causal LSTM units and the target sequence updated by the Self-attention mechanism.

[0100] S47 is based on the sequential cascading of each group of cell units. The first layer of Causal LSTM units of the cell units of the current step length uses the target sequence updated by the fourth layer of Causal LSTM units of the cell units of the previous step length and the model parameters and grayscale data updated by the cell units of the previous step length to update the spatiotemporal memory (time memory and space memory) and the target sequence.

[0101] S48 updates the target sequence based on the fourth layer Causal LSTM unit of the A-th step cell unit and the target sequence updated by the third layer Causal LSTM unit of the A-th step cell unit to obtain a weather radar echo extrapolation image sequence.

[0102] Example 4

[0103] In this embodiment, the pixel value of the meteorological radar echo image is 500×500, the coverage time is 3 hours, the input grayscale data time is 1 hour, the interval is 6 minutes, the target sequence time is 2 hours, the interval is 12 minutes, and the total time is 20 times. The grayscale data of the meteorological radar echo image is flipped, mirrored, etc. to expand the number of data sets.

[0104] Train the model:

[0105] The grayscale data of the meteorological radar echo image is input into the initially constructed Self-attention PredRNN++ network model to obtain the meteorological radar echo extrapolated image sequence, and the average loss function value of each frame of the meteorological radar echo extrapolated image is calculated. The model parameters are adjusted to reduce the loss function value.

[0106] The training parameters include: initial learning rate of 10-4, learning rate penalty factor of 0.5, batch size of 30 and number of iterations of 30.

[0107] Get the extrapolated image of weather radar echo:

[0108] The grayscale data of 10 weather radar echo images are input into the trained and optimized Self-attentionPredRNN++ network model to obtain 10 sets of weather radar echo extrapolated image sequences for the next 2 hours.

[0109] like Figure 6 As shown, the position, contour, distribution and change of the echo in the meteorological radar echo extrapolation image obtained by this implementation are very similar to those of the actual meteorological radar echo image. It can be seen that the meteorological radar echo extrapolation image sequence obtained by this implementation has high accuracy.

[0110] Example 5

[0111] This embodiment provides a weather radar echo extrapolation system based on a self-attention mechanism and a predictive recursive neural network, including:

[0112] Acquire a template for acquiring a weather radar echo image;

[0113] A preprocessing template is used to preprocess the acquired meteorological radar echo image to obtain grayscale data of the meteorological radar echo image;

[0114] Model building template, used to obtain the Self-attentionPredRNN++ network model based on the Self-attention mechanism and PredRNN++;

[0115] Output template, used to obtain the meteorological radar echo extrapolated image sequence through the meteorological radar echo image sequence based on the Self-attention PredRNN++ network model.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0117] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0118] 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.

[0119] 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.

[0120] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A weather radar echo extrapolation method based on self-attention mechanism and predictive recurrent neural network, characterized in that: The following steps are involved: Acquire weather radar echo images; Preprocessing the acquired meteorological radar echo image to obtain grayscale data of the meteorological radar echo image; Based on the Self-attention mechanism and PredRNN++, the Self-attention PredRNN++ network model is obtained; Based on the Self-attention PredRNN++ network model, the meteorological radar echo extrapolation image sequence is obtained through the meteorological radar echo image sequence; The Self-attention PredRNN++ network model based on the Self-attention mechanism and PredRNN++ includes: Get the A-layer Self-attention mechanism, A-layer GHU, and 4A-layer Causal LSTM units; Divide the acquired Self-attention mechanism, GHU and Causal LSTM units into group A of cells; The four layers of Causal LSTM units of each group of cells are connected in series, and the output end of the first layer of Causal LSTM units is connected to a layer of GHU, the output end of GHU is connected to a layer of Self-attention mechanism, and the output end of the Self-attention mechanism is connected to the second layer of Causal LSTM units; Each group of cell units is cascaded in sequence, and the output end of the fourth layer of the Causal LSTM unit of the previous step-length cell unit is communicated with the first layer of the Causal LSTM unit of the next step-length cell unit, wherein the first layer of the Causal LSTM unit of the first step-length cell unit receives the grayscale data of the meteorological radar echo image, and the fourth layer of the Causal LSTM unit of the Ath step-length cell unit outputs the meteorological radar echo extrapolated image sequence.

2. The weather radar echo extrapolation method based on self-attention mechanism and predictive recursive neural network according to claim 1, characterized in that: The preprocessing of the acquired weather radar echo image to obtain grayscale data of the weather radar echo image includes: Based on the three-dimensional block matching algorithm, the acquired meteorological radar echo image is denoised; The denoised weather radar echo image is normalized and converted into grayscale data.

3. The weather radar echo extrapolation method based on self-attention mechanism and predictive recursive neural network according to claim 2, characterized in that: The grayscale value range of the grayscale data is [0, 255].

4. The weather radar echo extrapolation method based on self-attention mechanism and predictive recursive neural network according to claim 1, characterized in that: The A is 3.

5. The weather radar echo extrapolation method based on self-attention mechanism and predictive recursive neural network according to claim 1, characterized in that: The method based on the Self-attention PredRNN++ network model, obtaining the meteorological radar echo extrapolation image sequence through the meteorological radar echo image sequence includes: Initialize the model parameters of the Self-attention PredRNN++ model; The grayscale data of the weather radar echo image is input into the first layer of the Causal LSTM unit of the first step long cell unit; Based on the first layer of Causal LSTM units, the grayscale data of the weather radar echo image is used to update the spatiotemporal memory of the model parameters and the target sequence; Based on GHU, the hidden state of the weather radar echo image is updated using the target sequence updated by the first layer of Causal LSTM units; Based on the Self-attention mechanism, the target sequence of the weather radar echo image is updated using the hidden state updated by GHU; Based on the second to fourth layer Causal LSTM units, the target sequence is updated sequentially using the target sequence updated by the Self-attention mechanism; Based on the sequential cascading of each group of cells, the first layer of the causal LSTM unit of the cell unit of the current step length uses the target sequence updated by the fourth layer of the causal LSTM unit of the cell unit of the previous step length as well as the model parameters and grayscale data updated by the cell unit of the previous step length to update the spatiotemporal memory and target sequence; Based on the fourth layer of the Causal LSTM unit of the Ath step cell unit, the target sequence is updated by using the target sequence updated by the third layer of the Causal LSTM unit of the Ath step cell unit to obtain the weather radar echo extrapolation image sequence.

6. A weather radar echo extrapolation system based on self-attention mechanism and predictive recurrent neural network, characterized in that: include: Acquire a template for acquiring a weather radar echo image; A preprocessing template is used to preprocess the acquired meteorological radar echo image to obtain grayscale data of the meteorological radar echo image; Model building template, used to obtain the Self-attentionPredRNN++ network model based on the Self-attention mechanism and PredRNN++; Output template, used to obtain the meteorological radar echo extrapolation image sequence through the meteorological radar echo image sequence based on the Self-attention PredRNN++ network model; The Self-attention PredRNN++ network model based on the Self-attention mechanism and PredRNN++ includes: Get the A-layer Self-attention mechanism, A-layer GHU, and 4A-layer Causal LSTM units; Divide the acquired Self-attention mechanism, GHU and Causal LSTM units into group A of cells; The four layers of Causal LSTM units of each group of cells are connected in series, and the output end of the first layer of Causal LSTM units is connected to a layer of GHU, the output end of GHU is connected to a layer of Self-attention mechanism, and the output end of the Self-attention mechanism is connected to the second layer of Causal LSTM units; Each group of cell units is cascaded in sequence, and the output end of the fourth layer of the Causal LSTM unit of the previous step-length cell unit is communicated with the first layer of the Causal LSTM unit of the next step-length cell unit, wherein the first layer of the Causal LSTM unit of the first step-length cell unit receives the grayscale data of the meteorological radar echo image, and the fourth layer of the Causal LSTM unit of the Ath step-length cell unit outputs the meteorological radar echo extrapolated image sequence.