A precipitation prediction method and system based on ensemble learning
By using an ensemble learning-based method, combining multiple machine learning models and high-density automatic station observation data, the problem of overfitting and insufficient stability of a single machine learning method in satellite spectral remote sensing precipitation prediction is solved, and the accuracy of precipitation prediction is improved. It is practical and practical, and enhances the monitoring and forecasting capabilities of summer precipitation in East Asia.
Patent Information
- Application Number
- CN202211569847.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-12-08
AI Technical Summary
When the existing technology uses a single machine learning method to predict satellite spectral remote sensing precipitation, it is prone to overfitting and insufficient stability, which affects the accuracy and practicality of precipitation prediction.
Using an ensemble learning-based method, a training set and a test set are constructed by obtaining forecast factors, and random forest, XGBoost and extreme random tree models are trained respectively, and the quantitative precipitation estimation results are subjected to linear regression weighted addition, combined with biharmonic spline interpolation. Optimal interpolation and fusion with high-density automatic station observation data for precipitation prediction.
It improves the accuracy and practicality of precipitation prediction, reduces extremes and uncertainties, and enhances the ability of satellite cloud parameters to retrieve precipitation, which has important scientific support and application value.
Smart Images

Figure CN116306215B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of precipitation forecasting, and in particular relates to a precipitation prediction method and system based on ensemble learning. Background Art
[0002] Affected by the westerly system and the subtropical monsoon, East Asia is one of the regions with the longest rainy season, the most abundant rainfall, and frequent rainstorms. Therefore, it is very important to strengthen the research on precipitation monitoring methods in China and its surrounding areas during the flood season, which will help improve the early warning and emergency response capabilities for large-scale rainstorm disasters.
[0003] Satellite observation of precipitation is not restricted by geographical conditions and has the characteristics of wide coverage and high temporal and spatial resolution. Using satellite remote sensing spectral data to invert large-scale, high-quality precipitation products has always been a hot and difficult issue in satellite quantitative precipitation estimation (Quantitative Precipitation Estimation, QPE). Fengyun-4 (FY-4) is China's second-generation geostationary meteorological satellite. Its multi-channel scanning imaging radiometer (Advanced Geostationary Radiation Imager, AGRI) has 14 detection bands from visible light to long-wave infrared, covering visible light, short-wave infrared, medium-wave infrared and long-wave infrared bands. However, in terms of improving the level of weather monitoring and forecasting, most current studies use a single machine learning method to perform satellite spectral remote sensing precipitation, which has problems such as over-learning and insufficient stability, and is prone to overfitting, affecting the accuracy and practicality of the model. Summary of the invention
[0004] In order to solve the deficiencies in the prior art, the present invention provides a precipitation prediction method and system based on ensemble learning, which improves the accuracy and practicability of precipitation prediction.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is:
[0006] In a first aspect, a precipitation prediction method based on ensemble learning is provided, comprising: obtaining forecast factors for time periods and regions requiring precipitation prediction, and constructing quasi-spatiotemporally synchronized training sets and test sets; using the training sets to respectively train three single machine learning models, namely random forest, XGBoost and extremely random tree, through mutual cross-validation, and performing linear regression on the quantitative precipitation estimation results of the three single machine learning models to obtain the weights of the three single machine learning models, performing weighted addition on the quantitative precipitation estimation results of the three single machine learning models of the test set to obtain a quantitative precipitation estimation based on ensemble learning; setting the quantitative precipitation estimation based on ensemble learning as an initial estimation field, setting high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation as observation values, and performing optimal interpolation fusion on the initial estimation field and the observation values for precipitation prediction.
[0007] Furthermore, the method of obtaining prediction factors for time periods and regions requiring precipitation prediction and constructing training and test sets includes: obtaining FY-4A spectral data with a time resolution of 1h, cloud parameter products, ERA5 reanalysis physical quantity data, precipitation observations from high-density automatic stations, and digital elevation data, and constructing training and test sets through linear interpolation, spline interpolation, and biharmonic spline interpolation for training integrated learning models and quantitative precipitation estimation, wherein FY-4A refers to Fengyun-4A.
[0008] Furthermore, it also includes: constructing combined channel information strongly correlated with precipitation through FY-4A spectral data, which are six brightness temperature differences constructed by subtracting multiple different spectral channels of Fengyun-4A: T6.25-T10.7, T8.5-T10.7, T7.1-T12.0, T12.0-T10.7, T3.75L-T7.1 and T3.75L-T10.7; brightness gradient CTT G ; Among them, the brightness gradient CTT G is defined as follows:
[0009]
[0010] Where T represents the spectral brightness temperature at 10.7 microns, and i and j represent the pixel positions.
[0011] Furthermore, the training set and the test set are constructed by linear interpolation, spline interpolation, and biharmonic spline interpolation for training the integrated learning model and quantitative precipitation estimation, including: based on the difference in spatial resolution of FY-4A / AGRI, ERA5 and DEM, the data are interpolated to construct a quasi-temporal and spatially synchronized training set and test set; the method for constructing the training set is to perform spline interpolation with a spatial resolution of 0.01°×0.01° on the satellite observation data according to the geographical location information of the high-density automatic station, and select the ERA5 data and DEM data of the four nearest points for linear interpolation; match the hourly precipitation data observed by the high-density automatic station for model training; the method for constructing the test set is to select the ERA5 data and DEM data of the four nearest points for linear interpolation according to the geographical location information of the satellite observation data, so the spatial resolution of the test set is 4km×4km; match the high-density automatic station precipitation data with biharmonic spline interpolation for evaluating the integrated learning model and quantitative precipitation estimation performance.
[0012] Furthermore, three single machine learning models, random forest, XGBoost and extremely random trees, were trained respectively through five-fold cross validation, including: determining two parameters of random forest and extremely random trees, which are the maximum number of features used by a single decision tree, max_features, and the number of decision trees, n_trees; the value of max_features is less than the input variable parameter, and the value of max_features is 1, k / 2, Or log2(k)+1, k is the number of variables input to the model; the number of decision trees n_trees is 500-800; therefore, n_trees is set to an increasing series with 500 as the first item, 10 as the tolerance, and 800 as the last item. The correlation coefficient between the model precipitation estimate and the precipitation observation is used as the evaluation index. In the increasing series, the item with the highest correlation coefficient is the model n_trees parameter; the correlation coefficient is defined as:
[0013]
[0014] Among them, G i represents the precipitation observed at the i-th observation station; represents the average precipitation observed by all observation stations; Si represents the precipitation at the i-th grid point estimated by the QPE algorithm; represents the precipitation of all precipitation grid points estimated by the QPE algorithm; n represents the number of observation stations; five parameters of the XGBoost model are determined, namely the number of weak evaluators n_estimators, the learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma and the regularization penalty coefficient alpha; among them, the number of weak evaluators n_estimators is set to the number of decision trees n_trees obtained by training, the value of learning_rate is 0.01~0.2, the value of max_depth is 3~10, the value range of gamma is 0~0.3, and the value range of alpha is 0~0.3; using the same training method when training n_trees, the learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma and the regularization penalty coefficient alpha are set in the valid value range. Arithmetic progressions are set, and the optimal correlation coefficient is used as the evaluation index for training. When training each parameter, the values of the other parameters remain unchanged.
[0015] Furthermore, the quantitative precipitation estimation based on ensemble learning is set as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation are set as the observed values. The initial estimation field and the observed values are optimally interpolated and fused for precipitation prediction, including: for any pixel X to be analyzed, its background value is defined as X b , then analyze the result X a It can be expressed as
[0016] X a =X b +K(Y o -HX b ) (3)
[0017] Among them, Y o is the M in the neighborhood of the pixel to be analyzed n observations; H is the observation operator; HX b Represents the observed value Y o The corresponding background value; K is the Kalman gain, which is used to quantify the relative contribution of neighboring observations to the analysis point and can be expressed as
[0018] K=P b H T (HP b H T +R) -1 (4)
[0019] Among them, H T is the transposed matrix of H; the observation error covariance matrix R is a diagonal matrix, and the diagonal elements are the observation error variances ε of the corresponding products. oComposition; Background error covariance matrix P b is a symmetric matrix and can be expressed as
[0020]
[0021] Among them, ε b is the background error variance; the error variance of the background field and the observation field is estimated by the measured value; ρ(i,j) represents the spatial correlation between grid points i and j, and the Gaussian weight function is used to approximate this spatial correlation:
[0022]
[0023]
[0024] Among them, dx and dy represent the spatial distance d between data points i and j respectively. ij The orthogonal components in the radial and latitudinal directions, lx and ly, represent the correlation distance in space.
[0025] In a second aspect, a precipitation prediction system based on ensemble learning is provided, including: a data acquisition module, used to obtain prediction factors for time periods and regions requiring precipitation prediction, and to construct training sets and test sets; a precipitation estimation module, used to use the training set to train three single machine learning models, namely random forest, XGBoost and extremely random tree, respectively through mutual cross-validation, and perform linear regression on the quantitative precipitation estimation results of the three single machine learning models to obtain the weights of the three single machine learning models, perform weighted addition on the quantitative precipitation estimation results of the three single machine learning models of the test set, and obtain the quantitative precipitation estimation based on ensemble learning; a fusion module, used to set the quantitative precipitation estimation based on ensemble learning as the initial estimation field, and set the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation as the observation values, and perform optimal interpolation fusion on the initial estimation field and the observation values for precipitation prediction.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] (1) The present invention trains three single machine learning models, namely random forest, XGBoost and extremely random tree, respectively through mutual cross-validation, and performs linear regression on the quantitative precipitation estimation results of the three single machine learning models to obtain the weights of the three single machine learning models, and weighted addition is performed on the quantitative precipitation estimation results of the three single machine learning models of the test set to obtain the quantitative precipitation estimation based on ensemble learning; the quantitative precipitation estimation based on ensemble learning is set as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation are set as the observation value, and the initial estimation field and the observation value are optimally interpolated and fused for precipitation prediction; the accuracy and practicality of precipitation prediction are improved;
[0028] (2) The present invention combines multiple weak learners into a strong learner by using ensemble learning, ensuring the diversity of weak learners so that the results obtained are often better than those of a single learner, which is conducive to reducing the extremeness and uncertainty in the quantitative estimation of precipitation. In addition, machine learning uses multi-channel and combined information input, coupled with ensemble learning algorithms, which can make up for the single defect of previous infrared information.
[0029] (3) The FY-4A QPE algorithm established by the present invention, by combining high-density automatic stations and meteorological physical fields, has important scientific support and application value for monitoring and forecasting summer precipitation in East Asia and disaster prevention and mitigation. In comparison, previous studies only included cloud top information. The present invention, by introducing meteorological physical fields, is conducive to improving the precipitation inversion capability based on satellite cloud parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A flowchart of a precipitation prediction method based on ensemble learning provided in an embodiment of the present invention (the dotted line represents the ensemble learning model training path, and the solid line represents the implementation path of quantitative precipitation estimation);
[0031] Figure 2 Comparison of quantitative precipitation estimates of three single machine learning models with high-density automatic station precipitation observations (the black dot-dashed line is the 1:1 line, and the color scale is the frequency of occurrence at intervals of 0.5 mm / h on a logarithmic scale; (a) is the precipitation estimate of the random forest model for the daytime test set; (b) is the precipitation estimate of the random forest model for the nighttime test set; (c) is the precipitation estimate of the XGBoost model for the daytime test set; (d) is the precipitation estimate of the XGBoost model for the nighttime test set; (e) is the precipitation estimate of the extremely random tree model for the daytime test set; (f) is the precipitation estimate of the extremely random tree model for the nighttime test set);
[0032] Figure 3 Comparison between the quantitative precipitation estimation of ensemble learning and the high-density automatic station precipitation observation (the black dot-dash line is the 1:1 line, and the color scale is the frequency of occurrence at intervals of 0.5 mm / h on a logarithmic scale; (a) is the precipitation estimation of the ensemble learning daytime test set; (b) is the precipitation estimation of the ensemble learning nighttime test set);
[0033] Figure 4 Comparison between the quantitative precipitation estimation results of the fused data and the high-density automatic station precipitation observations (the black dot-dashed line is the 1:1 line, and the color scale is the frequency of occurrence at intervals of 0.5 mm / h on a logarithmic scale). DETAILED DESCRIPTION
[0034] 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.
[0035] Embodiment 1:
[0036] like Figure 1 As shown, a precipitation prediction method based on ensemble learning, namely, a FY-4 geostationary satellite quantitative precipitation estimation and multi-source precipitation fusion method based on ensemble learning, comprises: obtaining prediction factors for the time period and area where precipitation prediction is required, and constructing a training set and a test set; using the training set to respectively train three single machine learning models, namely, random forest, XGBoost and extremely random tree, through mutual cross-validation, and performing linear regression on the quantitative precipitation estimation results of the three single machine learning models to obtain the weights of the three single machine learning models, performing weighted addition on the quantitative precipitation estimation results of the three single machine learning models of the test set to obtain the quantitative precipitation estimation based on ensemble learning; setting the quantitative precipitation estimation based on ensemble learning as the initial estimation field, setting the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation as the observation values, performing optimal interpolation fusion on the initial estimation field and the observation values for precipitation prediction.
[0037] 101. Obtain forecast factors for the time period and area where precipitation prediction is required, and construct quasi-temporal and spatially synchronized training and test sets. Obtain FY-4A (Fengyun-4A) spectral data, cloud parameter products, ERA5 (ECMWF Reanalysis v5) reanalysis physical quantity data, precipitation observations from high-density automatic stations, and digital elevation model (DEM) data with a time resolution of 1h for the past period of time near the area where quantitative precipitation estimation is required. All monitoring data involved in the present invention are automatically uploaded by instrument monitoring and downloaded from the website, without the need to be obtained through manual monitoring.
[0038] All precipitation prediction factors used in the present invention are shown in Table 1.
[0039] Table 1 Precipitation prediction factors
[0040]
[0041] FY-4A spectral data and cloud parameter products can be downloaded from the Fengyun Satellite Remote Sensing Data Service Network (http: / / satellite.nsmc.org.cn / PortalSite / Data / Satellite.aspx);
[0042] ERA5 reanalysis physical quantity data can be downloaded from the European Centre for Medium-Range Weather Forecasts website (https: / / cds.climate.copernicus.eu / cdsapp#! / dataset / reanalysis-era5-single-levels?tab=form);
[0043] Precipitation observations can be automatically uploaded after being detected by high-density automatic station rain gauges;
[0044] Digital elevation data can be downloaded from the Geospatial Data Cloud website (http: / / www.gscloud.cn / sources / ?cdataid=302&pdataid=10).
[0045] In addition, the combined channel information strongly correlated with precipitation can be constructed through the FY-4 spectral data, which are: T6.25-T10.7, T8.5-T10.7, T7.1-T12.0, T12.0-T10.7, T3.75L-T7.1, T3.75L-T10.7, CTT G Among them, the first six data represent the brightness temperature difference constructed by subtracting two different spectral channels of the Fengyun-4 satellite, CTT G is the brightness gradient, which is defined as follows:
[0046]
[0047] Where T represents the spectral brightness temperature at 10.7 microns, and i and j represent the pixel positions.
[0048] 102. Establish quasi-temporal and spatial synchronous datasets of Fengyun-4 satellite and multi-source precipitation respectively during the day and night; specifically, the daytime dataset can be used to train the quantitative precipitation estimation model from 8:00 to 16:00, and the nighttime dataset can be used to train the quantitative precipitation estimation model in other time periods. Since the visible light channel of Fengyun-4 satellite cannot identify effective information at night, the visible light channel information is removed from the nighttime dataset to reduce the complexity of the model and avoid overfitting.
[0049] The spatial resolution of FY-4A / AGRI is 4km×4km, the spatial resolution of ERA5 reanalysis data is 0.25°×0.25°, and the spatial resolution of DEM is 1km×1km. Due to the differences in their spatial resolutions, the data needs to be interpolated to construct quasi-temporal and spatially synchronized training and test sets. The method for constructing the training set is to perform spline interpolation of 0.01°×0.01° spatial resolution on the satellite observation data according to the geographical location information of the high-density automatic station, and select the ERA5 data and DEM data of the four nearest points for linear interpolation. The hourly precipitation data observed by the high-density automatic station is matched for model training. The method for constructing the test set is to select the ERA5 data and DEM data of the four nearest points for linear interpolation according to the geographical location information of the satellite observation data, so the spatial resolution of the test set is 4km×4km. The high-density automatic station precipitation data matched with biharmonic spline interpolation is used to evaluate the performance of the algorithm.
[0050] The training set was used to train three single machine learning models, namely random forest, XGBoost and extremely random tree, through mutual cross-validation. The quantitative precipitation estimation results of the three single machine learning models were linearly regressed to obtain the weights of the three single machine learning models. The quantitative precipitation estimation results of the three single machine learning models in the test set were weighted added to obtain the quantitative precipitation estimation based on ensemble learning.
[0051] 103. Use the constructed quasi-temporal and spatial synchronized training set to train three single machine learning models: Random Forest (RF), XGBoost, and Extra Tree (ET).
[0052] Both RF and ET are based on random decision tree averaging algorithms. To build these two models, two important parameters need to be determined, namely the maximum number of features used by a single decision tree, max_features, and the number of decision trees, n_trees. The value of max_features should be smaller than the input variable parameter. In general, the value of max_features is 1, k / 2, Or log2(k)+1, etc., k is the number of variables input to the model. The present invention selects k / 2 as the number of input variables of the tree node, that is, max_features=17. When the number of decision trees n_trees is between 500 and 800, it is an ideal classification. Therefore, n_trees is set to an increasing sequence with 500 as the first item, 10 as the tolerance, and 800 as the last item. The correlation coefficient between the model precipitation estimate and the precipitation observation value is used as the evaluation index. It is considered that the item in the sequence with the highest correlation coefficient is the model n_trees parameter. The correlation coefficient is defined as:
[0053]
[0054] Among them, G i represents the precipitation observed at the i-th observation station; represents the average precipitation observed by all observation stations; Si represents the precipitation at the i-th grid point estimated by the QPE algorithm; represents the precipitation of all precipitation grid points estimated by the QPE algorithm; n represents the number of observation stations;
[0055] The XGBoost algorithm needs to observe and determine five important parameters, namely the number of weak evaluators n_estimators, the learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma, and the regularization penalty coefficient alpha. Among them, the number of weak evaluators n_estimators can be compared to the number of decision trees n_trees in the RF algorithm and the ET algorithm, so n_estimators is set to n_trees obtained by training through the above method; the typical value of learning_rate is 0.01-0.2, max_depth usually ranges from 3 to 10, gamma usually ranges from 0 to 0.3, and alpha usually ranges from 0 to 0.3. Use the same training method as when training n_trees above, set arithmetic progressions for these four parameters within the valid value range, and train them separately with the optimal correlation coefficient as the evaluation index. When training each parameter, the values of the other parameters remain unchanged.
[0056] 104. The quasi-temporally synchronized training set is input into three single machine learning models to obtain three precipitation estimation results. The three precipitation estimation results are matched with the precipitation observations in the training set, and the weights of each single machine learning are obtained through linear regression.
[0057] 105. Input the quasi-temporally synchronized test set into three single machine learning models to obtain three precipitation estimation results. Linearly add the three precipitation estimation results and the single machine learning weight obtained in step 104 to obtain the quantitative precipitation estimation of the Fengyun-4 satellite based on ensemble learning.
[0058] The quantitative precipitation estimation based on ensemble learning is set as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation are set as the observation values. The initial estimation field and the observation values are optimally interpolated and fused for precipitation prediction.
[0059] 106. Using optimal interpolation (OI), the quantitative precipitation estimation of the Fengyun-4 satellite based on ensemble learning and the precipitation observations of high-density automatic stations are fused to obtain the precipitation estimation of the Fengyun-4 geostationary satellite quantitative precipitation estimation based on ensemble learning and the fusion of multi-source precipitation.
[0060] The optimal interpolation analysis first requires an initial estimate field. The spatial coverage of the quantitative precipitation estimate of the Fengyun-4 satellite based on ensemble learning is high, so it is set as the initial estimate field. At the grid points with station distribution in the grid, the high-density automatic station precipitation observation has high accuracy and is used as the observation value. The basic principle of optimal interpolation is summarized as follows: For any pixel X to be analyzed, define its background value as X b , then analyze the result Xa It can be expressed as
[0061] X a =X b +K(Y o -HX b ) (3)
[0062] Among them, Y o is the M in the neighborhood of the pixel to be analyzed n observations; H is the observation operator; HX b Represents the observed value Y o The corresponding background value; K is the Kalman gain, which is used to quantify the relative contribution of neighboring observations to the analysis point and can be expressed as
[0063] K=P b H T (HP b H T +R) -1 (4)
[0064] Among them, H T is the transposed matrix of H; the observation error covariance matrix R is a diagonal matrix, and the diagonal elements are the observation error variances ε of the corresponding products. o Composition; Background error covariance matrix P b is a symmetric matrix and can be expressed as
[0065]
[0066] Among them, ε b is the background error variance; the error variance of the background field and the observation field is estimated by the measured value; ρ(i,j) represents the spatial correlation between grid points i and j, and the Gaussian weight function is used to approximate this spatial correlation:
[0067]
[0068]
[0069] Among them, dx and dy represent the spatial distance d between data points i and j respectively. ij The orthogonal components in the radial and latitudinal directions, lx and ly, represent the correlation distance in space.
[0070] The following is a detailed description of this method with an application scenario example:
[0071] A rainstorm with long precipitation duration and large coverage in South China (109-118°E, 20-26°N) from June 23 to 24, 2019 was selected as a case to illustrate the process of this method. The FY-4A satellite spectral data, cloud parameter products, ERA5 reanalysis physical quantity data and ground precipitation data sets observed by high-density automatic stations with hourly resolution were matched in time and space to make the precipitation information and satellite spectral signals have high quasi-time and space synchronization. A method for quantitative precipitation estimation and multi-source precipitation fusion based on ensemble learning for FY-4 geostationary satellite was established. The specific steps are as follows:
[0072] Step A: Obtain all the data for the study area and study period mentioned in step 101, i.e., the FY-4A spectral data with a time resolution of 1 h from June 23 to 24, 2019 in South China (109-118°E, 20-26°N), cloud parameter products, ERA5 reanalysis physical quantity data, precipitation observations from high-density automatic stations, and DEM, and construct the training set and test set for daytime and nighttime, respectively, according to the method in step 102.
[0073] Step B: Train a single machine learning model according to the method in step 103, specifically, train the optimal parameters of the three models of RF, XGBoost, and ET. For the RF and ET parameters, the maximum number of features used by a single decision tree is 17, and the number of decision trees is 550; for the parameters of XGBoost, the number of weak estimators is 550, the learning rate is 0.1, the maximum depth of the tree is 10, the minimum value of the loss function is 0.1, and the regularization penalty coefficient is 0.3.
[0074] Step C: Use the training set to train three single machine learning models respectively, and input the test set into the model to verify the quantitative precipitation estimation ability of each single machine learning model. The comparison of their quantitative precipitation estimation results with the high-density automatic station precipitation observations is shown in Figure 2. Figure 2 As shown in the figure, the correlation coefficients all reached above 0.65.
[0075] Step D: Perform linear regression on the quantitative precipitation estimation results of the three single machine learning models in the training set to obtain the weights of each single machine learning model, and linearly add the output results of the three single machine learning models in the test set to obtain the quantitative precipitation estimation of ensemble learning. The comparison between the quantitative precipitation estimation results of ensemble learning and the high-density automatic station precipitation observations is shown in Figure 2. Figure 3 As shown in the figure, the correlation coefficient of quantitative precipitation estimation by ensemble learning is improved compared with that of each single machine learning model.
[0076] Step E: Using optimal interpolation (OI), the quantitative precipitation estimation of the Fengyun-4 satellite based on ensemble learning and the precipitation observations of the high-density automatic station are fused. The quantitative precipitation estimation results of the fused data are compared with the precipitation observations of the high-density automatic station. Figure 4 shown.
[0077] In summary, the quantitative precipitation estimation and multi-source precipitation fusion method of Fengyun-4 geostationary satellite based on ensemble learning established by the present invention, by combining high-density automatic stations and meteorological physical quantity fields, has important scientific support and application value for monitoring and forecasting of summer precipitation in East Asia and disaster prevention and mitigation. In comparison, previous studies only included cloud top information. The present invention, by introducing meteorological physical fields, is conducive to improving the precipitation inversion capability based on satellite cloud parameters. In practical applications in the future, meteorological forecast fields such as China's T639 global forecast system, the European Center for Medium-Term Weather Forecasts or the U.S. National Center for Environmental Prediction Global Forecast System can be used, combined with real-time FY-4A satellite spectral information and cloud parameter products to achieve large-scale, dynamic and continuous monitoring of precipitation in East Asia, which has important demonstration significance and application value.
[0078] Embodiment 2:
[0079] Based on the precipitation prediction method based on ensemble learning described in Example 1, this embodiment provides a precipitation prediction system based on ensemble learning, including:
[0080] The data acquisition module is used to obtain the forecast factors for the period and area where precipitation forecasting is required, and to construct training and test sets;
[0081] The precipitation estimation module is used to train three single machine learning models, namely random forest, XGBoost and extremely random tree, respectively using the training set through mutual cross-validation, and perform linear regression on the quantitative precipitation estimation results of the three single machine learning models to obtain the weights of the three single machine learning models, and perform weighted addition on the quantitative precipitation estimation results of the three single machine learning models of the test set to obtain the quantitative precipitation estimation based on ensemble learning;
[0082] The fusion module is used to set the quantitative precipitation estimation based on ensemble learning as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation as the observation value, and to perform optimal interpolation fusion on the initial estimation field and the observation value for precipitation prediction.
[0083] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A precipitation prediction method based on ensemble learning, characterized in that: include: Obtain forecast factors for the time period and area where precipitation forecasting is required, and construct quasi-temporally and spatially synchronized training and test sets; The training set was used to train three single machine learning models, random forest, XGBoost and extremely random tree, respectively through mutual cross-validation, and the quantitative precipitation estimation results of the three single machine learning models were linearly regressed to obtain the weights of the three single machine learning models. The quantitative precipitation estimation results of the three single machine learning models in the test set were weighted added to obtain the quantitative precipitation estimation based on ensemble learning. The quantitative precipitation estimation based on ensemble learning is set as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation are set as the observed values. The initial estimation field and the observed values are optimally interpolated and fused for precipitation prediction. The method of obtaining the forecast factors for the time period and area where precipitation forecasting is required, and constructing the training set and the test set includes: obtaining FY-4A spectral data with a time resolution of 1h, cloud parameter products, ERA5 reanalysis physical quantity data, precipitation observations of high-density automatic stations, and digital elevation data, and constructing the training set and the test set through linear interpolation, spline interpolation, and biharmonic spline interpolation for training the integrated learning model and quantitative precipitation estimation, wherein FY-4A refers to Fengyun-4A satellite; It also includes: the combined channel information strongly correlated with precipitation constructed through FY-4A spectral data, which are the six brightness temperature differences constructed by subtracting multiple different spectral channels of Fengyun-4A: T6.25-T10.7, T8.5-T10.7, T7.1-T12.0, T12.0-T10.7, T3.75L-T7.1 and T3.75L-T10.7; brightness gradient ; Among them, the brightness gradient is defined as follows: (1) Where T represents the spectral brightness temperature at 10.7 μm, i and j represent the pixel positions; The training set and the test set are constructed by linear interpolation, spline interpolation, and biharmonic spline interpolation for training the integrated learning model and quantitative precipitation estimation, including: Based on the differences in spatial resolution among FY-4A / AGRI, ERA5 and DEM, the data were interpolated to construct quasi-temporally and spatially synchronized training and test sets. The method of constructing the training set is to perform spline interpolation of 0.01°×0.01° spatial resolution on the satellite observation data according to the geographical location information of the high-density automatic station, select the ERA5 data and DEM data of the four nearest points for linear interpolation; match the hourly precipitation data observed by the high-density automatic station for model training; The method of constructing the test set is to select the ERA5 data and DEM data of the four nearest points for linear interpolation based on the geographic location information of satellite observation data, so the spatial resolution of the test set is 4km×4km; the high-density automatic station precipitation data with biharmonic spline interpolation is matched to evaluate the performance of the integrated learning model and quantitative precipitation estimation; Three single machine learning models, random forest, XGBoost and extremely random tree, were trained through five-fold cross validation, including: The two parameters that determine random forests and extremely random trees are the maximum number of features used by a single decision tree, max_features, and the number of decision trees, n_trees. The value of max_features is less than the input variable parameter, and the value of max_features is 1. , or , k is the number of variables input to the model; the number of decision trees n_trees is 500~800; therefore, n_trees is set to an increasing series with 500 as the first item, 10 as the tolerance, and 800 as the last item. The correlation coefficient between the model precipitation estimate and the precipitation observation is used as the evaluation index. In the increasing series, the item with the highest correlation coefficient is the model n_trees parameter; the correlation coefficient is defined as: (2) Among them, G i represents the precipitation observed at the i-th observation station; represents the average precipitation observed by all observation stations; Si represents the precipitation at the i-th grid point estimated by the QPE algorithm; represents the precipitation of all precipitation grid points estimated by the QPE algorithm; n represents the number of observation stations; Determine the five parameters of the XGBoost model, namely the number of weak estimators n_estimators, the learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma and the regularization penalty coefficient alpha; The number of weak evaluators n_estimators is set to the number of decision trees n_trees obtained by training, the value of learning_rate is 0.01~0.2, the value of max_depth is 3~10, the value range of gamma is 0~0.3, and the value range of alpha is 0~0.
3. The same training method is used when training n_trees. The learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma, and the regularization penalty coefficient alpha are set in an arithmetic progression within the valid value range, and the optimal correlation coefficient is used as the evaluation index for training. When training each parameter, the values of the other parameters remain unchanged. The quantitative precipitation estimation based on ensemble learning is set as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation are set as the observed values. The initial estimation field and the observed values are optimally interpolated and fused for precipitation prediction, including: For any pixel X to be analyzed, define its background value as X b , then analyze the result X a Expressed as (3) in, The neighborhood of the pixel to be analyzed observation values; H is the observation operator; Represents the observed value The corresponding background value; K is the Kalman gain, which is used to quantify the relative contribution of neighboring observations to the analysis point, expressed as (4) in, is the transposed matrix of H; the observation error covariance matrix R is a diagonal matrix, and the diagonal elements are the observation error variances of the corresponding products Composition; Background error covariance matrix is a symmetric matrix, expressed as (5) in, is the background error variance; the error variance of the background field and the observation field is estimated by the measured value; Represents the spatial correlation between grid points i and j, and a Gaussian weight function is used to approximate this spatial correlation: (6) (7) Among them, dx and dy represent the spatial distance between data points i and j respectively. The orthogonal components in the radial and latitudinal directions, lx and ly, represent the correlation distance in space.
2. A precipitation prediction system based on ensemble learning, characterized in that: include: The data acquisition module is used to obtain the forecast factors for the period and area where precipitation forecasting is required, and to construct training and test sets; The precipitation estimation module is used to train three single machine learning models, namely random forest, XGBoost and extremely random tree, respectively using the training set through mutual cross-validation, and perform linear regression on the quantitative precipitation estimation results of the three single machine learning models to obtain the weights of the three single machine learning models, and perform weighted addition on the quantitative precipitation estimation results of the three single machine learning models of the test set to obtain the quantitative precipitation estimation based on ensemble learning; A fusion module is used to set the quantitative precipitation estimation based on ensemble learning as the initial estimation field, set the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation as the observation value, and perform optimal interpolation fusion on the initial estimation field and the observation value for precipitation prediction; The method of obtaining the forecast factors for the time period and area where precipitation forecasting is required, and constructing the training set and the test set includes: obtaining FY-4A spectral data with a time resolution of 1h, cloud parameter products, ERA5 reanalysis physical quantity data, precipitation observations of high-density automatic stations, and digital elevation data, and constructing the training set and the test set through linear interpolation, spline interpolation, and biharmonic spline interpolation for training the integrated learning model and quantitative precipitation estimation, wherein FY-4A refers to Fengyun-4A satellite; It also includes: the combined channel information strongly correlated with precipitation constructed through FY-4A spectral data, which are the six brightness temperature differences constructed by subtracting multiple different spectral channels of Fengyun-4A: T6.25-T10.7, T8.5-T10.7, T7.1-T12.0, T12.0-T10.7, T3.75L-T7.1 and T3.75L-T10.7; brightness gradient ; Among them, the brightness gradient is defined as follows: (1) Where T represents the spectral brightness temperature at 10.7 μm, i and j represent the pixel positions; The training set and the test set are constructed by linear interpolation, spline interpolation, and biharmonic spline interpolation for training the integrated learning model and quantitative precipitation estimation, including: Based on the differences in spatial resolution among FY-4A / AGRI, ERA5 and DEM, the data were interpolated to construct quasi-temporally and spatially synchronized training and test sets. The method of constructing the training set is to perform spline interpolation of 0.01°×0.01° spatial resolution on the satellite observation data according to the geographical location information of the high-density automatic station, select the ERA5 data and DEM data of the four nearest points for linear interpolation; match the hourly precipitation data observed by the high-density automatic station for model training; The method of constructing the test set is to select the ERA5 data and DEM data of the four nearest points for linear interpolation based on the geographic location information of satellite observation data, so the spatial resolution of the test set is 4km×4km; the high-density automatic station precipitation data with biharmonic spline interpolation is matched to evaluate the performance of the integrated learning model and quantitative precipitation estimation; Three single machine learning models, random forest, XGBoost and extremely random tree, were trained through five-fold cross validation, including: The two parameters that determine random forests and extremely random trees are the maximum number of features used by a single decision tree, max_features, and the number of decision trees, n_trees. The value of max_features is less than the input variable parameter, and the value of max_features is 1. , or , k is the number of variables input to the model; the number of decision trees n_trees is 500~800; therefore, n_trees is set to an increasing series with 500 as the first item, 10 as the tolerance, and 800 as the last item. The correlation coefficient between the model precipitation estimate and the precipitation observation is used as the evaluation index. In the increasing series, the item with the highest correlation coefficient is the model n_trees parameter; the correlation coefficient is defined as: (2) Among them, G i represents the precipitation observed at the i-th observation station; represents the average precipitation observed by all observation stations; Si represents the precipitation at the i-th grid point estimated by the QPE algorithm; represents the precipitation of all precipitation grid points estimated by the QPE algorithm; n represents the number of observation stations; Determine the five parameters of the XGBoost model, namely the number of weak estimators n_estimators, the learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma and the regularization penalty coefficient alpha; The number of weak evaluators n_estimators is set to the number of decision trees n_trees obtained by training, the value of learning_rate is 0.01~0.2, the value of max_depth is 3~10, the value range of gamma is 0~0.3, and the value range of alpha is 0~0.
3. The same training method is used when training n_trees. The learning rate learning_rate, the maximum depth of the tree max_depth, the minimum value of the loss function gamma, and the regularization penalty coefficient alpha are set in an arithmetic progression within the valid value range, and the optimal correlation coefficient is used as the evaluation index for training. When training each parameter, the values of the other parameters remain unchanged. The quantitative precipitation estimation based on ensemble learning is set as the initial estimation field, and the high-density automatic station precipitation observations at the same spatiotemporal resolution through biharmonic spline interpolation are set as the observed values. The initial estimation field and the observed values are optimally interpolated and fused for precipitation prediction, including: For any pixel X to be analyzed, define its background value as X b , then analyze the result X a Expressed as (3) in, The neighborhood of the pixel to be analyzed observation values; H is the observation operator; Represents the observed value The corresponding background value; K is the Kalman gain, which is used to quantify the relative contribution of neighboring observations to the analysis point, expressed as (4) in, is the transposed matrix of H; the observation error covariance matrix R is a diagonal matrix, and the diagonal elements are the observation error variances of the corresponding products Composition; Background error covariance matrix is a symmetric matrix, expressed as (5) in, is the background error variance; the error variance of the background field and the observation field is estimated by the measured value; Represents the spatial correlation between grid points i and j, and a Gaussian weight function is used to approximate this spatial correlation: (6) (7) Among them, dx and dy represent the spatial distance between data points i and j respectively. The orthogonal components in the radial and latitudinal directions, lx and ly, represent the correlation distance in space.
Citation Information
Patent Citations
Air pollutant missing value supplementing method based on Stacking multi-model fusion design
CN114611706A
