A radar reflectivity inversion method and system based on a UNet model and meteorological data
By extracting multi-scale features through the hybrid convolution and pooling enhancement modules of the UNet model and training a radar reflectivity inversion model with meteorological big data, the problem of low inversion accuracy in existing technologies is solved, and all-weather, large-scale meteorological monitoring is realized.
Patent Information
- Application Number
- CN202311261629.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-09-27
AI Technical Summary
In existing technologies, radar reflectivity inversion methods based on deep learning use simple models, resulting in low inversion accuracy. Furthermore, meteorological satellites cannot obtain detailed structural information at the convective scale, leading to large errors in convective weather prediction.
A radar reflectivity inversion method based on the UNet model is adopted. Multi-scale features are extracted by hybrid convolution and pooling enhancement modules, and deconvolution and upsampling are performed in combination with meteorological big data to construct a radar reflectivity inversion model. The model parameters are optimized by training with meteorological satellite and radar data.
It improves the accuracy of radar reflectivity inversion, enables all-weather, large-scale meteorological monitoring, and enhances the model's data feature extraction and information retention capabilities.
Smart Images

Figure CN117310715B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of meteorological monitoring technology, and in particular to a radar reflectivity inversion method and system based on the UNet model and meteorological data. Background Technology
[0002] Currently, meteorological radars with high spatiotemporal resolution and all-weather operation are being gradually deployed across the country. These radars can effectively monitor convective weather, with radar reflectivity greater than 35 dBZ typically indicating the presence of severe convective weather. However, due to topographical and economic constraints, the distribution of meteorological radars is uneven. Geostationary meteorological satellites, on the other hand, are not constrained by terrain and have a wider observation range, thus enabling more extensive and continuous meteorological monitoring. Furthermore, with technological advancements, geostationary meteorological satellites are continuously improving their temporal and spatial resolution. However, due to inherent limitations, satellite detection can only detect the top of convection currents, failing to obtain detailed structural information at the convective scale, and resulting in poor precipitation estimation.
[0003] Therefore, converting meteorological satellite data into radar data is a feasible approach to provide broader and more accurate meteorological monitoring. However, radar reflectivity predictions based on traditional methods are insufficient for identifying severe convective weather, limiting their practicality. Furthermore, current technologies using deep learning for radar reflectivity inversion employ only simple models, resulting in low inversion accuracy and significant errors in predicted radar reflectivity. Summary of the Invention
[0004] This invention provides a radar reflectivity inversion method and system based on the UNet model and meteorological data, which improves the accuracy of radar reflectivity inversion.
[0005] To address the aforementioned technical problems, this invention provides a radar combined reflectivity inversion method and system based on deep learning and geostationary meteorological satellite data, comprising:
[0006] Acquire the first meteorological data at the target time;
[0007] The first meteorological data is input into a preset radar reflectivity inversion model. The radar reflectivity inversion model performs hybrid convolution and downsampling on the first meteorological data, extracts multi-scale features of the first meteorological data, and then performs deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data. Finally, the multi-scale features and the spatial features are connected in a skip connection to output the radar reflectivity corresponding to the target time.
[0008] The radar reflectivity inversion model is a UNet-based radar reflectivity inversion model obtained by training the model by inputting meteorological sample data and outputting radar reflectivity.
[0009] This invention constructs a radar reflectivity inversion model based on the UNet model. By inputting relevant meteorological data into this model, the retrieved radar reflectivity can be output. Compared to the traditional UNet model, the hybrid convolution and downsampling processes of the radar reflectivity inversion model can extract more data feature information, thus achieving higher accuracy in radar reflectivity inversion. Combined with the application of meteorological big data, it enables the inversion of large-scale, uninterrupted radar reflectivity data, thereby facilitating all-weather weather monitoring.
[0010] Furthermore, after performing hybrid convolution and downsampling on the first meteorological data, the radar reflectivity inversion model extracts multi-scale features of the first meteorological data, specifically:
[0011] The first meteorological data is input into the encoder of the radar reflectivity inversion model;
[0012] The first meteorological data is feature extracted by the hybrid convolution module of the encoder, and the convolutional features are output.
[0013] The convolutional features are input into the pooling enhancement module of the encoder for downsampling, and the downsampled features are output.
[0014] The convolutional features and downsampled features are concatenated to output the multi-scale features extracted by the encoder.
[0015] Furthermore, the feature extraction through the encoder's hybrid convolution module, outputting convolutional features, specifically involves:
[0016] The first meteorological data is input into the hybrid convolution module;
[0017] Small-scale detailed features of the data are extracted by using the ordinary convolutional branch of the hybrid convolutional module;
[0018] The small-scale detailed features of the data are input into the depthwise separable convolution branch of the hybrid convolution module. The output of the depthwise separable convolution branch is input into the dilated convolution branch of the hybrid convolution module. The outputs of the depthwise separable convolution and dilated convolution branches are summed to obtain the large-scale overall features of the data.
[0019] The first meteorological data is directly transmitted from the encoder input to the output by means of residual connection, and the first meteorological data is output.
[0020] By reusing features, the small-scale detailed features, large-scale overall features, and residual connection output meteorological data are fused to output the convolutional features extracted by the hybrid convolution module.
[0021] Furthermore, the step of inputting the convolutional features into the pooling enhancement module of the encoder for downsampling and outputting downsampled features specifically involves:
[0022] The convolutional features output by the hybrid convolutional module are input into the pooling enhancement module;
[0023] The discrete wavelet transform branch of the pooling enhancement module is used to perform noise filtering and size compression on the convolutional features to obtain wavelet transform information;
[0024] The convolutional features are sampled by pooling through the max pooling branch of the pooling enhancement module. The convolutional features are divided into segments according to a preset size to obtain each segment feature block. The data with the largest value in each segment feature block is selected and combined to obtain max pooling information.
[0025] The channel attention mechanism is used to fuse wavelet variation information and max pooling information to obtain the downsampled features output by the pooling enhancement module.
[0026] In this embodiment of the invention, a hybrid convolutional module is selected instead of a regular convolutional block, which improves the shortcomings of traditional convolutional modules in extracting feature information. This allows the improved UNet model in this embodiment to extract more and higher-level data feature information during runtime. A pooling enhancement module is added to the downsampling process, using discrete wavelet transforms to enhance data features. This improves the problem of data feature loss during downsampling information transmission, enabling the UNet model to adaptively select data features and compensate for information loss.
[0027] Furthermore, the radar reflectivity inversion model is a UNet-based radar reflectivity inversion model obtained by training the model with input meteorological sample data and output radar reflectivity. Specifically:
[0028] Acquire meteorological sample data, which includes satellite data and radar data;
[0029] The acquired meteorological sample data is input into the dataset generator to build the training dataset and the test dataset;
[0030] A UNet model is constructed, and the training and test datasets are input into the UNet model for training. The parameters of the UNet model are optimized using the Adam optimization method. The training stopping criterion is set according to the early stopping method. After training stops, the UNet model parameters are updated to obtain a radar reflectivity inversion model based on the UNet model.
[0031] Furthermore, the step of inputting the acquired meteorological sample data into the dataset generator to construct the training dataset and the test dataset specifically involves:
[0032] Input the acquired meteorological sample data into the dataset generator;
[0033] The dataset generator uses the nearest neighbor interpolation method to convert the resolution of meteorological data to a preset value, resulting in meteorological data with uniform resolution. It then performs spatiotemporal matching on the meteorological data with uniform resolution, including spatial matching and temporal matching. The spatiotemporally matched meteorological data undergoes quality control and normalization. The quality-controlled and normalized meteorological data is divided into daytime and nighttime datasets according to the data time, and the two datasets are further divided into training and testing datasets according to a preset ratio.
[0034] In this embodiment of the invention, firstly, daytime and nighttime datasets are constructed based on data characteristics for radar reflectivity inversion from different channels, to differentiate the temporal characteristics of meteorological data and enhance data accuracy. Secondly, spatiotemporal matching processing is performed on the data to pair meteorological and satellite data with inconsistent sampling intervals and sampling areas. Then, quality control and normalization processing are performed to remove data with significant deviations or missing content, thereby improving data accuracy. The data is also normalized to facilitate subsequent training and testing of deep learning models.
[0035] Based on the above method embodiments, the present invention provides a corresponding system embodiment, which provides a radar reflectivity inversion system based on UNet model and meteorological data, including: a data acquisition module and an inversion module;
[0036] The data acquisition module is used to acquire the first meteorological data at the target time;
[0037] The inversion module includes: a multi-scale feature extraction submodule, a spatial feature extraction submodule, and a skip connection submodule;
[0038] The multi-scale feature extraction submodule is used to extract multi-scale features of the first meteorological data after performing mixed convolution and downsampling on the first meteorological data; the spatial feature extraction submodule is used to perform deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data; and the skip connection submodule is used to perform skip connection on the multi-scale features and the spatial features to output the radar reflectivity corresponding to the target time.
[0039] Furthermore, the multi-scale feature extraction submodule includes: a hybrid convolutional unit, a pooling enhancement unit, and a feature cascade unit;
[0040] The hybrid convolutional unit is used to input the first meteorological data into the encoder of the radar reflectivity inversion model, and to extract features from the first meteorological data through the hybrid convolutional module of the encoder, and output convolutional features.
[0041] The pooling enhancement unit is used to input the convolutional features into the pooling enhancement module of the encoder for downsampling and output the downsampled features.
[0042] The feature concatenation unit is used to connect convolutional features and downsampled features to output multi-scale features extracted by the encoder.
[0043] Furthermore, the hybrid convolutional unit includes: small-scale feature sub-units, large-scale feature sub-units, residual connection sub-units, and feature fusion sub-units;
[0044] The small-scale feature subunit is used to input the first meteorological data into the hybrid convolution module; and to extract small-scale detailed features of the data through the ordinary convolution branch of the hybrid convolution module.
[0045] The large-scale feature subunit is used to input the small-scale detailed features of the data into the depthwise separable convolution branch of the hybrid convolution module, input the output of the depthwise separable convolution branch into the dilated convolution branch of the hybrid convolution module, and add the outputs of the depthwise separable convolution and dilated convolution branches to obtain the large-scale overall features of the data.
[0046] The residual connection subunit is used to transmit the first meteorological data directly from the encoder input to the output through a residual connection, and output the first meteorological data.
[0047] The feature fusion subunit is used to fuse the small-scale detailed features of the data, the large-scale overall features of the data, and the meteorological data output by residual connection through feature reuse, and output the convolutional features extracted by the hybrid convolution module.
[0048] Furthermore, the pooling enhancement unit includes: a wavelet transform subunit, a max pooling subunit, and a downsampling subunit;
[0049] The wavelet transform subunit is used to input the convolutional features output by the hybrid convolutional module into the pooling enhancement module; the discrete wavelet transform branch of the pooling enhancement module performs noise filtering and size compression on the convolutional features to obtain wavelet transform information.
[0050] The max pooling subunit is used to perform pooling sampling on the convolutional features through the max pooling branch of the pooling enhancement module, divide the convolutional features into segments according to a preset size to obtain each segmented feature block, and select the data with the largest value in each segmented feature block for combination to obtain max pooling information.
[0051] The downsampling subunit is used to fuse wavelet variation information and max pooling information using a channel attention mechanism to obtain the downsampling features output by the pooling enhancement module.
[0052] The embodiments of the present invention have the following beneficial effects:
[0053] This invention provides a radar reflectivity inversion method and system based on the UNet model and meteorological data. It constructs a radar reflectivity inversion model to achieve large-scale, uninterrupted radar reflectivity inversion, improves inversion accuracy, and obtains a larger radar reflectivity to provide wider-range and more accurate meteorological monitoring.
[0054] Furthermore, based on all-weather satellite and radar data, datasets for both daytime and nighttime periods are constructed according to spatial and temporal characteristics to enable large-scale, all-weather meteorological monitoring.
[0055] Furthermore, a radar reflectivity inversion model was constructed based on the optimized UNet model. An encoder was built using a hybrid convolution module and a pooling enhancement module, which improved the model's data feature extraction capability and retained more data information while expanding the model's receptive field. Attached Figure Description
[0056] Figure 1 A schematic flowchart of an embodiment of the radar reflectivity inversion method based on UNet model and meteorological data provided by the present invention;
[0057] Figure 2 : A structural diagram of an embodiment of the hybrid convolution module provided by the present invention;
[0058] Figure 3 : A structural diagram of an embodiment of the pooling enhancement module provided by the present invention;
[0059] Figure 4 : A schematic diagram of an embodiment of the radar reflectivity inversion system based on the UNet model and meteorological data provided by the present invention;
[0060] Figure 5 : A schematic diagram of the structure of an embodiment of the inversion module provided by the present invention;
[0061] Figure 6 : A schematic diagram of the structure of an embodiment of the multi-scale feature extraction submodule provided by the present invention;
[0062] Figure 7 : A schematic diagram of the structure of an embodiment of the hybrid convolutional unit provided by the present invention;
[0063] Figure 8 : A schematic diagram of the structure of an embodiment of the pooling enhancement unit provided by the present invention;
[0064] Figure 9: A schematic diagram of an embodiment of the radar reflectivity inversion model provided by the present invention;
[0065] Figure 10 : A schematic diagram of the structure of an embodiment of the dataset construction submodule provided by the present invention;
[0066] Figure 11 : A schematic diagram of the structure of an embodiment of the spatial matching unit provided by the present invention;
[0067] Figure 12 : A schematic diagram of an embodiment of the quality control and normalization unit provided by the present invention. Detailed Implementation
[0068] The technical solutions of this invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0069] Example 1
[0070] Weather radar data is crucial for meteorological monitoring, and radar reflectivity can be used to detect convective weather in a timely and effective manner. This invention provides a radar reflectivity inversion method and system based on the UNet model and meteorological data, providing real-time radar data for areas where weather radar cannot be deployed due to terrain limitations, enabling large-scale, all-weather meteorological monitoring.
[0071] Based on the above requirements, such as Figure 1 As shown, Embodiment 1 of the present invention provides a radar reflectivity inversion method based on the UNet model and meteorological data. The method includes steps S1 to S2, and the specific steps are as follows:
[0072] S1. Obtain the first meteorological data at the target time.
[0073] In this embodiment of the invention, the first meteorological data at the target time is obtained from raw meteorological data acquired from the China Meteorological Data Network and processed by a dataset builder. The obtained raw meteorological data is input into the dataset generator, which first uses the nearest neighbor interpolation method to convert the resolution of the raw meteorological data to a preset value, resulting in meteorological data with uniform resolution; then, spatiotemporal matching is performed on the meteorological data with uniform resolution; secondly, quality control and normalization processing are performed on the spatiotemporally matched meteorological data; finally, the quality-controlled and normalized meteorological data are divided into daytime datasets and nighttime datasets according to the data sampling time.
[0074] S2. Input the first meteorological data into a preset radar reflectivity inversion model, and after the radar reflectivity inversion model performs mixed convolution and downsampling on the first meteorological data, extract the multi-scale features of the first meteorological data, and then perform deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data. Finally, the multi-scale features and the spatial features are connected in a skip connection to output the radar reflectivity corresponding to the target time.
[0075] The radar reflectivity inversion model is a UNet-based radar reflectivity inversion model obtained by training the model by inputting meteorological sample data and outputting radar reflectivity.
[0076] Step S2 includes steps S2.1 to S2.2, and the specific details of each step are as follows:
[0077] S2.1 The radar reflectivity inversion model extracts multi-scale features of the first meteorological data after performing hybrid convolution and downsampling on the first meteorological data. This step includes steps S3.1.1 to S3.1.4, each step as follows:
[0078] S2.1.1 Input the first meteorological data into the encoder of the radar reflectivity inversion model.
[0079] S2.1.2 The first meteorological data is feature extracted using the encoder's hybrid convolution module, and the convolutional features are output. The hybrid convolution module includes ordinary convolution branches, depthwise separable convolution branches, and dilated convolution branches, with the following structure: Figure 2 As shown.
[0080] First, the first meteorological data is input into the hybrid convolution module of the encoder.
[0081] Secondly, small-scale detailed features of the data are extracted through the ordinary convolutional branch of the hybrid convolutional module;
[0082] The ordinary convolution branch in this embodiment of the invention consists of two consecutive 3×3 ordinary convolutional layers, which perform two consecutive convolutions with 3×3 kernels on the input data to extract small-scale features of the input dataset.
[0083] Then, the small-scale detailed features of the data are input into the depthwise separable convolution branch of the hybrid convolution module, and the output of the depthwise separable convolution branch is input into the dilated convolution branch of the hybrid convolution module. The outputs of the depthwise separable convolution and dilated convolution branches are summed to obtain the large-scale overall features of the data.
[0084] In this embodiment of the invention, a depthwise separable convolution branch is constructed using a 3×3 convolution kernel. Small-scale detailed features of the data are input into this branch, and channel-wise convolution is performed first, followed by pointwise convolution, to obtain the features extracted by the depthwise separable convolution. A dilated convolution branch is then constructed using a 3×3 convolution kernel. The features extracted by the depthwise separable convolution are input into this branch, and dilated convolution is performed according to a preset dilation rate, to obtain the features extracted by the dilated convolution. The features extracted by the depthwise separable convolution and the features extracted by the dilated convolution are then added together to obtain the overall large-scale features of the data.
[0085] Furthermore, the first meteorological data is directly transmitted from the encoder input to the output through residual connection, and the first meteorological data is output.
[0086] Residual connections are a common method in deep learning, referring to the direct transmission of input data from the input end to the output end. In this invention, the first meteorological data is transmitted from the encoder input end to the encoder output end via residual connections, directly outputting the first meteorological data for subsequent feature fusion steps. In this embodiment of the invention, residual convergence can accelerate the convergence of the UNet model.
[0087] Finally, by reusing features, the small-scale detailed features of the data, the large-scale overall features of the data, and the meteorological data output by residual connections are fused to output the convolutional features extracted by the hybrid convolution module.
[0088] Feature reuse is a common connection method in deep learning, which merges multiple pieces of information through concatenation, i.e., splicing them according to the three dimensions of feature information: H (height), W (width), and C (number of channels). This invention uses feature reuse to connect small-scale data features, large-scale data features, and the dataset output from residual connections, thereby obtaining multi-scale convolutional features output by the hybrid convolutional module.
[0089] Through the above steps S2.1.2, this embodiment of the invention uses a hybrid convolutional module to replace ordinary convolutional sequences for feature extraction. The multi-branch structure of the hybrid convolution expands the effective receptive field of the radar reflectivity inversion model by splitting the correlation between spatial and channel dimensions and setting different dilation rates, thereby extracting more scale and higher-level semantic features.
[0090] S2.1.3. The convolutional features are input into the pooling enhancement module of the encoder for downsampling, and the downsampled features are output. The pooling enhancement module includes a discrete wavelet transform branch and a max-pooling branch, with the following structure: Figure 3 As shown.
[0091] First, the convolutional features output by the hybrid convolution module are input into the pooling enhancement module.
[0092] Secondly, the convolutional features are subjected to noise filtering and size compression through the discrete wavelet transform branch of the pooling enhancement module to obtain wavelet transform information.
[0093] Discrete wavelet transform is a signal processing method in which the wavelet transform halves the signal size while retaining the main information. By using wavelet basis functions, the input signal is decomposed into different frequency information through inner product with a specific wavelet function, and the signal can be decomposed multiple times.
[0094] The wavelet basis functions of the two-dimensional discrete wavelet transform include a low-pass filter (f_LL) and three high-pass filters (f_LH, f_HL, and f_HH). These filter combinations are equivalent to a convolution operation with fixed parameters and a stride of 2. In this embodiment of the invention, the Haar wavelet is used as the wavelet basis function. The filter parameters of the Haar wavelet are as follows:
[0095]
[0096]
[0097]
[0098]
[0099] After filtering the input convolutional features through each of the above filters, the convolutional features are decomposed into four sub-components f with their scale halved. LL f LH f HL and f HH Among them, f LL The low-frequency components represent the effective information of the convolutional features; f LH f HL and f HH The high-frequency components in different directions represent the noise information of the convolution features.
[0100] Preserve the low-frequency component f obtained from the decomposition LL Noise components are filtered out, thus obtaining wavelet variation information that is half the size of the original convolution component.
[0101] To avoid the influence of noise information, the embodiments of the present invention perform discrete wavelet transformation through the above steps, thereby filtering out noise and retaining only the low-frequency components of the convolution features, i.e., the main information.
[0102] Furthermore, the convolutional features are sampled by the max pooling branch of the pooling enhancement module, and the convolutional features are divided into segments according to a preset size to obtain each segment feature block. The data with the largest value in each segment feature block is selected and combined to obtain max pooling information.
[0103] Max pooling is a common method in deep learning used to extract key features from input data, retain the main effective information, and reduce data dimensionality and compress data size. In this embodiment of the invention, the input convolutional features are segmented into multiple segmented feature blocks according to a preset pooling filter and stride. A maximum value operation is performed on each segmented feature block, and the resulting new feature map is the output max pooling information.
[0104] Finally, the channel attention mechanism is used to fuse wavelet variation information and max pooling information to obtain the downsampled features output by the pooling enhancement module.
[0105] Through step S2.1.3 above, a pooling enhancement module is used to replace the downsampling pooling layer in the traditional UNet model. Compared to the traditional UNet model, the radar reflectivity inversion model proposed in this embodiment incorporates discrete wavelet transformation during the downsampling process, enabling the model to adaptively select low-frequency information, thereby improving the information loss problem that occurs during the downsampling process of the traditional UNet model.
[0106] S2.1.4. Connect the convolutional features and downsampling features to output the multi-scale features extracted by the encoder.
[0107] Compared to the encoder of the traditional UNet model, the encoder used in this embodiment of the invention, which consists of a hybrid convolution module and a pooling enhancement module, has a stronger feature extraction capability through the above step S2.1. It extracts shallow semantic information in the initial stage through continuous convolution and downsampling, and extracts higher-level semantic information in the subsequent stage, thereby extracting low-resolution data semantic features to provide a basis for data category identification.
[0108] S2.2. Perform deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data.
[0109] The multi-scale features output by the encoder are input into the decoder. Through continuous deconvolution and downsampling operations, the spatial information of the data is extracted and the data size is restored, and the spatial features of the first meteorological data are output.
[0110] Through the above step S2, this embodiment of the invention extracts high-resolution spatial features of the first meteorological data through a decoder to provide a basis for data location.
[0111] S2.3. Perform a skip connection between the multi-scale features and the spatial features to output the radar reflectivity corresponding to the target time.
[0112] The multi-scale features extracted by the encoder and the spatial features extracted by the decoder are fused using a skip connection. This allows the data to be constructed based on the high-level semantic information and the low-level spatial information, outputting the radar reflectivity corresponding to the target at that time. The skip connection feature fusion method enables a more thorough fusion of feature information on both sides of the U-shaped structure of the radar reflectivity inversion model, filling in the lower-level information and improving information resolution.
[0113] Traditional UNet models, while using convolutional and pooling layers in the encoder to increase the receptive field, also reduce the resolution of the extracted features. The decoder then performs deconvolution and upsampling to restore the data resolution; however, this process of restoring data resolution after the feature resolution has decreased can easily lead to a loss of data accuracy. Through step S2 above, this invention provides a radar reflectivity inversion method based on a UNet model and meteorological data. This method uses a hybrid convolutional module and pooling enhancement module to construct the decoder, which can expand the model's receptive field while retaining more data feature information.
[0114] In step S2 above, the radar reflectivity inversion model is a radar reflectivity inversion model based on the UNet model obtained by training by inputting meteorological sample data and outputting radar reflectivity. Step S3 further includes steps S3.1 to S3.2, as follows:
[0115] S3.1 Obtain meteorological sample data, which includes satellite data and radar data.
[0116] First, meteorological data for periods with abundant convective weather across the country are obtained from the China Meteorological Data Network. Specifically, this embodiment of the invention selects satellite and radar data from the period from April to October 2022 nationwide; furthermore, the selected satellite data is from the Fengyun-4 satellite.
[0117] Secondly, meteorological satellites acquire data through multiple channels using visible light and infrared technologies. However, the visible light channel operates only during the day, while the infrared channel can operate around the clock, and the visible light channel contains more cloud information than the infrared channel. Therefore, based on the temporal characteristics of satellite data, data is selected by dividing the data into two time periods: day and night.
[0118] S3.2. Input the acquired meteorological sample data into the dataset generator to construct the training dataset and the test dataset. This step includes steps S3.2.1 to S3.2.4, each of which is detailed below:
[0119] S3.2.1 The dataset generator uses the nearest neighbor interpolation method to convert the resolution of meteorological data to a preset value, thus obtaining meteorological data with uniform resolution.
[0120] In this embodiment of the invention, the satellite data obtained from the China Meteorological Data Network has a resolution of 4km, while the radar data has a resolution of 2km. The difference in resolution between the two datasets is detrimental to the subsequent inversion process. Therefore, a dataset generator uses nearest neighbor interpolation to convert the radar data resolution to 4km, thus achieving dimensional consistency between the satellite and radar data.
[0121] S3.2.2 Perform spatiotemporal matching on meteorological data with uniform resolution, including spatial matching and temporal matching.
[0122] First, spatial matching is performed on meteorological data with uniform resolution. Based on the preset resolution, satellite data and radar data are cropped to the preset size according to their corresponding locations.
[0123] The spatial location for data acquisition is defined. This embodiment of the invention requires selecting the largest possible area, choosing the spatial location of radar distribution based on the national radar distribution range and the geographical environment, so that the acquired meteorological data at a uniform 4km resolution has a size of 416×448. Based on the defined spatial location, all acquired satellite and radar data are cropped to a size of 416×448 corresponding to the location.
[0124] Then, time matching is performed on the spatially matched data. When the sampling interval between satellite data and radar data is less than the preset matching time, the satellite data and radar data are matched.
[0125] Because weather radar and weather satellites operate differently, their data collection intervals also differ, making time synchronization impossible. Therefore, time matching of radar and satellite data is necessary to achieve data alignment in the time dimension. This embodiment of the invention sets a matching time of 3 minutes. When the sampling interval between satellite and radar data is less than the preset matching time, they are considered to be synchronized in time, and the satellite and radar data are then matched.
[0126] S3.2.3 Perform quality control and normalization processing on the spatiotemporally matched meteorological data.
[0127] First, the true radar reflectivity is obtained. Based on the true radar reflectivity, the spatiotemporal matched data is quality controlled, and data with large deviations and missing content are deleted to obtain the quality-controlled data.
[0128] Then, the quality-controlled data is normalized so that the data values are within the range of [0,1], thus obtaining the meteorological data after quality control and normalization.
[0129] To ensure the smooth training of subsequent deep learning models, the data needs to be normalized so that the data values fall within the range of [0,1].
[0130] The specific calculation formula for normalization is as follows:
[0131]
[0132] In the formula, x i For the data being processed; x min x is the minimum value in the processed data. max This represents the maximum value in the processed data.
[0133] S3.2.4 Divide the quality control and normalization processed meteorological data into daytime datasets and nighttime datasets according to data time, and then divide the two datasets into training datasets and test datasets according to a preset ratio.
[0134] First, for the meteorological data acquired through day and night channels, daytime datasets and nighttime datasets are constructed separately.
[0135] Then, for the daytime and nighttime datasets, the training and test datasets are divided within each dataset according to a predetermined ratio. In this embodiment of the invention, the ratio is set to 8:2, i.e., training dataset: test dataset = 8:2.
[0136] Because meteorological data exhibits significant differences between daytime and nighttime characteristics, it is necessary to construct daytime and nighttime datasets, as well as daytime and nighttime radar reflectivity inversion models, based on their temporal characteristics. The daytime dataset is used for training, testing, and inversion of the daytime inversion model, while the nighttime dataset is used for training, testing, and inversion of the nighttime inversion model. Table 1 illustrates one embodiment of the relationship between data types and the selection of daytime and nighttime models in this invention.
[0137] Table 1. Relationship between data type and day / night model selection
[0138]
[0139] S3.3. Construct the UNet model. Input the training dataset and test dataset into the UNet model for training. Use the Adam optimization method to optimize the parameters of the UNet model. Set the training stopping criterion according to the early stopping method. After training stops, update the UNet model parameters to obtain the radar reflectivity inversion model based on the UNet model. This step includes steps S3.3.1 to S3.3.3, and the specific details of each step are as follows:
[0140] S3.3.1 Input the training dataset into the UNet model for training according to the preset input batch.
[0141] In the training process of this embodiment of the invention, the batch size of the input training data is set to 32, and the number of iterations is set to 200. Based on the preset batch size and number of iterations, the daytime training dataset and nighttime training dataset constructed in step S2 are input into the UNet model for model training. The training process specifically involves optimizing and updating the model parameters.
[0142] S3.3.2 Optimize the parameters of the UNet model using the Adam optimization method.
[0143] For the optimization method of the UNet model, this embodiment of the invention adopts the Adam algorithm in the adaptive learning rate gradient descent algorithm. This optimization algorithm requires little memory and has high computational efficiency.
[0144] Based on the principle of minimizing the loss function, a decrease in the loss function reflects how well the model fits the data. Deep learning models automatically adjust their parameters during optimization to make the model's predictions as close as possible to the actual data.
[0145] During the optimization process, this embodiment of the invention sets the learning rate to 0.0005 and uses the mean error (MAE) as the loss function to guide the optimization and updating of model parameters, thereby optimizing the UNet model in the direction of improving computational performance.
[0146] The formula for calculating the mean error (MAE) is:
[0147]
[0148] In the formula, This represents the true result of the i-th sample data, where the sample data comes from the test dataset; This represents the prediction result for the i-th training data, where the training data comes from the training dataset.
[0149] S3.3.3. Set the training stopping criteria according to the early stopping method. After training stops, update the UNet model parameters to obtain the radar reflectivity inversion model based on UNet.
[0150] Training deep learning models aims to improve their generalization ability. However, during training, it is easy for the computational accuracy of the training dataset to increase while the computational error rate of the test dataset increases. This is the overfitting problem, in which the model's generalization ability and computational performance are actually reduced.
[0151] To address the overfitting issue, this embodiment of the invention employs an early stopping method to prevent overfitting of the UNet model. Based on the early stopping method, a training stopping criterion is set. In this embodiment, training is stopped when the mean error (MAE) fails to decrease for 10 consecutive iterations. The trained model and optimized parameters are then saved to obtain the UNet-based radar reflectivity inversion model.
[0152] S4. The radar reflectivity inversion method based on the UNet model and meteorological data provided by this invention also includes a model testing method, which includes the following steps S4.1 to S4.2:
[0153] S4.1 Input the test dataset into the preset radar reflectivity inversion model for testing, and output the predicted radar reflectivity of the satellite data in the test dataset and the true radar reflectivity of the radar data in the test dataset;
[0154] For the predicted radar reflectivity of the output satellite data and the actual radar reflectivity of the radar data, indicators are selected to evaluate the accuracy of radar reflectivity inversion.
[0155] S4.2 The selected indicators include: Root Mean Square Error (RMSE), Mean Error (MAE), Point of Detection (POD), False Alarm Rate (FAR), and Critical Success Index (CSI).
[0156]
[0157]
[0158] In the formula, This represents the true radar reflectivity of the i-th radar data point; This represents the predicted radar reflectivity of the i-th satellite data;
[0159]
[0160]
[0161]
[0162] In the formula, FP represents the number of data points in the dataset where the actual radar reflectivity of the radar data is greater than the set threshold and the predicted radar reflectivity of the satellite data is less than the set threshold; TP represents the number of data points in the dataset where the actual radar reflectivity of the radar data is greater than the set threshold and the predicted radar reflectivity of the satellite data is greater than the set threshold; FN represents the number of data points in the dataset where the actual radar reflectivity of the radar data is less than the set threshold and the predicted radar reflectivity of the satellite data is greater than the set threshold; TN represents the number of data points in the dataset where the actual radar reflectivity of the radar data is less than the set threshold and the predicted radar reflectivity of the satellite data is less than the set threshold.
[0163] Table 2 shows the inversion accuracy evaluation results of a radar reflectivity inversion model based on UNet provided by this invention.
[0164] Table 2. Inversion accuracy evaluation results of a radar reflectivity inversion model based on UNet.
[0165]
[0166]
[0167] The implementation of the above embodiments of the present invention has the following beneficial effects:
[0168] Compared to existing technologies, the radar reflectivity inversion method and system provided by this invention replaces the convolutional and downsampling modules in the traditional UNet model with hybrid convolutional and pooling enhancement modules. This results in a stronger feature extraction capability, a larger effective receptive field, and higher data accuracy, thereby effectively improving the inversion accuracy of the radar reflectivity inversion model. Combined with the constructed daytime and nighttime datasets, it enables all-weather, large-scale meteorological monitoring.
[0169] Example 2
[0170] Based on the content of Embodiment 1 above, an embodiment of the present invention provides a radar reflectivity inversion system based on the UNet model and meteorological data, the system structure of which is as follows: Figure 4 As shown, the system includes a data acquisition module 101 and an inversion module 102;
[0171] The data acquisition module 101 is used to acquire the first meteorological data at the target time.
[0172] The inversion module 102 is used to input the first meteorological data into a preset radar reflectivity inversion model 103, so that the radar reflectivity inversion model performs mixed convolution and downsampling on the first meteorological data, extracts the multi-scale features of the first meteorological data, then performs deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data, and then performs a skip connection between the multi-scale features and the spatial features to output the radar reflectivity corresponding to the target time.
[0173] The radar reflectivity inversion model 103 is a radar reflectivity inversion model based on the UNet model, which is obtained by training the model by inputting meteorological sample data and outputting radar reflectivity.
[0174] In one possible implementation, the inversion module 102, as follows: Figure 5 As shown, it includes: a multi-scale feature extraction submodule 201, a spatial feature extraction submodule 202, and a skip connection submodule 203;
[0175] The multi-scale feature extraction submodule 201 is used to extract multi-scale features of the first meteorological data after performing mixed convolution and downsampling on the first meteorological data.
[0176] The spatial feature extraction submodule 202 is used to perform deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data.
[0177] The skip connection submodule 203 is used to skip the connection between the multi-scale features and the spatial features and output the radar reflectivity corresponding to the target time.
[0178] Furthermore, the multi-scale feature extraction submodule 201, as follows: Figure 6 As shown, it includes: a hybrid convolution unit 301, a pooling enhancement unit 302, and a feature concatenation unit 303.
[0179] The hybrid convolution unit 301 is used to input the first meteorological data into the encoder of the radar reflectivity inversion model, and to extract features from the first meteorological data through the hybrid convolution module of the encoder, and output convolution features.
[0180] The pooling enhancement unit 302 is used to input convolutional features into the pooling enhancement module of the encoder for downsampling and output downsampled features.
[0181] The feature concatenation unit 303 is used to connect convolutional features and downsampling features to output multi-scale features extracted by the encoder.
[0182] Furthermore, the hybrid convolutional unit 301, as... Figure 7As shown, it includes: small-scale feature subunit 401, large-scale feature subunit 402, residual connection subunit 403 and feature fusion subunit 404.
[0183] The small-scale feature subunit 401 is used to input the first meteorological data into the hybrid convolution module; and to extract small-scale detailed features of the data through the ordinary convolution branch of the hybrid convolution module.
[0184] The large-scale feature subunit 402 is used to input the small-scale detail features of the data into the depthwise separable convolution branch of the hybrid convolution module, input the output of the depthwise separable convolution branch into the dilated convolution branch of the hybrid convolution module, and add the outputs of the depthwise separable convolution and dilated convolution branches to obtain the large-scale overall features of the data.
[0185] The residual connection subunit 403 is used to transmit the first meteorological data directly from the encoder input to the output through a residual connection, and output the first meteorological data.
[0186] The feature fusion subunit 404 is used to fuse the small-scale detailed features of the data, the large-scale overall features of the data, and the meteorological data output by residual connection through feature reuse, and output the convolutional features extracted by the hybrid convolution module.
[0187] Furthermore, the pooling enhancement unit 302, as... Figure 8 As shown, it includes: wavelet transform subunit 405, max pooling subunit 406 and downsampling subunit 407;
[0188] The wavelet transform subunit 405 is used to input the convolutional features output by the hybrid convolutional module into the pooling enhancement module; the discrete wavelet transform branch of the pooling enhancement module performs noise filtering and size compression on the convolutional features to obtain wavelet transform information.
[0189] The max pooling subunit 406 is used to perform pooling sampling on the convolutional features through the max pooling branch of the pooling enhancement module, divide the convolutional features into segments according to a preset size to obtain each segmented feature block, and select the data with the largest value in each segmented feature block for combination to obtain max pooling information.
[0190] The downsampling subunit 407 is used to fuse wavelet change information and max pooling information using a channel attention mechanism to obtain the downsampling features output by the pooling enhancement module.
[0191] In one possible implementation, the radar reflectivity inversion model 103, such as Figure 9 As shown, it includes a sample acquisition submodule 204, a dataset construction submodule 205, and a model training submodule 206;
[0192] The sample acquisition submodule 204 is used to acquire meteorological sample data, which includes satellite data and radar data.
[0193] The dataset construction submodule 205 is used to input the acquired meteorological sample data into the dataset generator to construct the training dataset and the test dataset;
[0194] The model training submodule 206 is used to construct a UNet model, input the training dataset and test dataset into the UNet model for training, use the Adam optimization method to optimize the parameters of the UNet model, set the training stopping criterion according to the early stopping method, update the UNet model parameters after training stops, and obtain a radar reflectivity inversion model based on the UNet model.
[0195] Furthermore, the dataset construction submodule 205, as follows: Figure 10 As shown, it includes: a resolution conversion unit 501, a spatiotemporal matching unit 502, a quality control and normalization unit 503, and a dataset partitioning unit 504;
[0196] The resolution conversion unit 501 is used to convert the resolution of meteorological data into a preset value using the nearest neighbor interpolation method to obtain meteorological data with uniform resolution.
[0197] The spatiotemporal matching unit 502 is used to perform spatiotemporal matching on meteorological data with uniform resolution, including spatial matching and temporal matching.
[0198] The quality control and normalization unit 503 is used to perform quality control and normalization processing on the spatiotemporally matched meteorological data;
[0199] The dataset partitioning unit 504 is used to divide the meteorological data after quality control and normalization into daytime datasets and nighttime datasets according to the data time, and to further divide the two datasets into training datasets and test datasets according to a preset ratio.
[0200] Furthermore, the spatiotemporal matching unit 502, as... Figure 11 As shown, it includes: a spatial matching subunit 601 and a temporal matching subunit 602;
[0201] The spatial matching subunit 601 is used to perform spatial matching on meteorological data with uniform resolution. Based on the preset resolution, satellite data and radar data are cropped into data of preset size according to the corresponding positions.
[0202] The time matching subunit 602 is used to perform time matching on the spatially matched data. When the sampling interval between satellite data and radar data is less than the preset matching time, the satellite data and radar data are matched.
[0203] Furthermore, the quality control and normalization unit 503, such as Figure 12 As shown, it includes: a quality control subunit 603 and a normalization subunit 604;
[0204] The quality control subunit 603 is used to obtain the true radar reflectivity, and to perform quality control on the spatiotemporally matched data based on the true radar reflectivity, deleting data with large deviations and missing content to obtain the quality-controlled data.
[0205] The normalization subunit 604 is used to normalize the quality-controlled data so that the data values are within the range of [0,1], thus obtaining the meteorological data after quality control and normalization.
[0206] In one possible implementation, the system further includes a test module 104;
[0207] The test module 104 is used to input the test training set into the UNet-based radar reflectivity inversion model for testing, and output the predicted radar reflectivity of satellite data and the actual radar reflectivity of radar data; for the output predicted radar reflectivity of satellite data and the actual radar reflectivity of radar data, indicators are selected to evaluate the accuracy of radar reflectivity inversion.
[0208] Furthermore, the selected indicators include: Root Mean Square Error (RMSE), Mean Error (MAE), Point of Detection (POD), False Alarm Rate (FAR), and Critical Success Index (CSI).
[0209]
[0210]
[0211] In the formula, This represents the true radar reflectivity of the i-th radar data point; This represents the predicted radar reflectivity of the i-th satellite data;
[0212]
[0213]
[0214]
[0215] In the formula, FP represents the number of data points in the dataset where the actual radar reflectivity of the radar data is greater than the set threshold and the predicted radar reflectivity of the satellite data is less than the set threshold; TP represents the number of data points in the dataset where the actual radar reflectivity of the radar data is greater than the set threshold and the predicted radar reflectivity of the satellite data is greater than the set threshold; FN represents the number of data points in the dataset where the actual radar reflectivity of the radar data is less than the set threshold and the predicted radar reflectivity of the satellite data is greater than the set threshold; TN represents the number of data points in the dataset where the actual radar reflectivity of the radar data is less than the set threshold and the predicted radar reflectivity of the satellite data is less than the set threshold.
[0216] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A radar reflectivity inversion method based on the UNet model and meteorological data, characterized in that, include: Acquire the first meteorological data at the target time; The first meteorological data is input into a preset radar reflectivity inversion model. The radar reflectivity inversion model performs hybrid convolution and downsampling on the first meteorological data, extracts multi-scale features of the first meteorological data, and then performs deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data. Finally, the multi-scale features and the spatial features are connected in a skip connection to output the radar reflectivity corresponding to the target time. The radar reflectivity inversion model is a radar reflectivity inversion model based on the UNet model, which is obtained by training the model by inputting meteorological sample data and outputting radar reflectivity. The radar reflectivity inversion model extracts multi-scale features from the first meteorological data after performing hybrid convolution and downsampling, specifically: The first meteorological data is input into the encoder of the radar reflectivity inversion model; The first meteorological data is feature extracted by the hybrid convolution module of the encoder, and the convolutional features are output. The convolutional features are input into the pooling enhancement module of the encoder for downsampling, and the downsampled features are output. The convolutional features and downsampled features are concatenated to output the multi-scale features extracted by the encoder; The feature extraction process, which uses the hybrid convolution module of the encoder to output convolutional features, specifically involves: The first meteorological data is input into the hybrid convolution module; Small-scale detailed features of the data are extracted by using the ordinary convolutional branch of the hybrid convolutional module; The small-scale detailed features of the data are input into the depthwise separable convolution branch of the hybrid convolution module. The output of the depthwise separable convolution branch is input into the dilated convolution branch of the hybrid convolution module. The outputs of the depthwise separable convolution and dilated convolution branches are summed to obtain the large-scale overall features of the data. The first meteorological data is directly transmitted from the encoder input to the output by means of residual connection, and the first meteorological data is output. By reusing features, the small-scale detailed features, large-scale overall features, and residual connection output meteorological data are fused to output the convolutional features extracted by the hybrid convolution module.
2. The radar reflectivity inversion method based on the UNet model and meteorological data as described in claim 1, characterized in that, The process of inputting convolutional features into the pooling enhancement module of the encoder for downsampling and outputting downsampled features specifically involves: The convolutional features output by the hybrid convolutional module are input into the pooling enhancement module; The discrete wavelet transform branch of the pooling enhancement module is used to perform noise filtering and size compression on the convolutional features to obtain wavelet transform information; The convolutional features are sampled by pooling through the max pooling branch of the pooling enhancement module. The convolutional features are divided into segments according to a preset size to obtain each segment feature block. The data with the largest value in each segment feature block is selected and combined to obtain max pooling information. The channel attention mechanism is used to fuse wavelet variation information and max pooling information to obtain the downsampled features output by the pooling enhancement module.
3. The radar reflectivity inversion method based on the UNet model and meteorological data as described in claim 1, characterized in that, The radar reflectivity inversion model is a UNet-based radar reflectivity inversion model obtained by training the model with input meteorological sample data and output radar reflectivity. Specifically: Acquire meteorological sample data, which includes satellite data and radar data; The acquired meteorological sample data is input into the dataset generator to build the training dataset and the test dataset; A UNet model is constructed, and the training and test datasets are input into the UNet model for training. The parameters of the UNet model are optimized using the Adam optimization method. The training stopping criterion is set according to the early stopping method. After training stops, the UNet model parameters are updated to obtain a radar reflectivity inversion model based on the UNet model.
4. The radar reflectivity inversion method based on the UNet model and meteorological data as described in claim 3, characterized in that, The step of inputting the acquired meteorological sample data into the dataset generator to construct the training dataset and the test dataset is as follows: Input the acquired meteorological sample data into the dataset generator; The dataset generator uses the nearest neighbor interpolation method to convert the resolution of meteorological data to a preset value, resulting in meteorological data with uniform resolution; it performs spatiotemporal matching on the meteorological data with uniform resolution, including spatial matching and temporal matching; and it performs quality control and normalization processing on the spatiotemporally matched meteorological data. The meteorological data after quality control and normalization were divided into daytime and nighttime datasets according to the data time. The two datasets were then further divided into training and testing datasets according to a preset ratio.
5. A radar reflectivity inversion system based on the UNet model and meteorological data, characterized in that, include: Data acquisition module and inversion module; The data acquisition module is used to acquire the first meteorological data at the target time; The inversion module includes: a multi-scale feature extraction submodule, a spatial feature extraction submodule, and a skip connection submodule; The multi-scale feature extraction submodule is used to extract multi-scale features of the first meteorological data after performing mixed convolution and downsampling on the first meteorological data; the spatial feature extraction submodule is used to perform deconvolution and upsampling on the multi-scale features to obtain the spatial features of the first meteorological data; and the skip connection submodule is used to perform skip connection on the multi-scale features and the spatial features to output the radar reflectivity corresponding to the target time. The multi-scale feature extraction submodule includes: a hybrid convolutional unit, a pooling enhancement unit, and a feature concatenation unit; The hybrid convolutional unit is used to input the first meteorological data into the encoder of the radar reflectivity inversion model, and to extract features from the first meteorological data through the hybrid convolutional module of the encoder, and output convolutional features. The pooling enhancement unit is used to input the convolutional features into the pooling enhancement module of the encoder for downsampling and output the downsampled features. The feature concatenation unit is used to connect convolutional features and downsampled features to output multi-scale features extracted by the encoder. The hybrid convolutional unit includes: small-scale feature subunits, large-scale feature subunits, residual connection subunits, and feature fusion subunits; The small-scale feature subunit is used to input the first meteorological data into the hybrid convolution module; and to extract small-scale detailed features of the data through the ordinary convolution branch of the hybrid convolution module. The large-scale feature subunit is used to input the small-scale detailed features of the data into the depthwise separable convolution branch of the hybrid convolution module, input the output of the depthwise separable convolution branch into the dilated convolution branch of the hybrid convolution module, and add the outputs of the depthwise separable convolution and dilated convolution branches to obtain the large-scale overall features of the data. The residual connection subunit is used to transmit the first meteorological data directly from the encoder input to the output through a residual connection, and output the first meteorological data. The feature fusion subunit is used to fuse the small-scale detailed features of the data, the large-scale overall features of the data, and the meteorological data output by residual connection through feature reuse, and output the convolutional features extracted by the hybrid convolution module.
6. The radar reflectivity inversion system based on the UNet model and meteorological data as described in claim 5, characterized in that, The pooling enhancement unit includes: a wavelet transform subunit, a max pooling subunit, and a downsampling subunit; The wavelet transform subunit is used to input the convolutional features output by the hybrid convolutional module into the pooling enhancement module; the discrete wavelet transform branch of the pooling enhancement module performs noise filtering and size compression on the convolutional features to obtain wavelet transform information. The max pooling subunit is used to perform pooling sampling on the convolutional features through the max pooling branch of the pooling enhancement module, divide the convolutional features into segments according to a preset size to obtain each segmented feature block, and select the data with the largest value in each segmented feature block for combination to obtain max pooling information. The downsampling subunit is used to fuse wavelet variation information and max pooling information using a channel attention mechanism to obtain the downsampling features output by the pooling enhancement module.
Citation Information
Patent Citations
Deep learning-based stationary orbit meteorological satellite radar reflectivity factor inversion method
CN113534158A
Landslide identification method and device based on satellite data UNet network model
CN115131684A
