Next Article in Journal
Semi-Supervised Black-Soil Area Detection on the Qinghai–Tibetan Plateau
Previous Article in Journal
Evaluating Global and National Datasets in an Ensemble Approach to Estimating Carbon Emissions as Part of SERVIR’s CArbon Pilot
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Machine Learning-Based Quality Control Algorithm for Heavy Rainfall Using Multi-Source Data

1
China Meteorological Administration Meteorological Observation Centre, Beijing 100081, China
2
State Key Laboratory of Environment Characteristics and Effects for Near-Space, Beijing 100081, China
3
China Meteorological Administration Research Centre on Meteorological Observation Engineering Technology, Beijing 100081, China
4
Anqing Meteorological Bureau, Anqing 246001, China
5
Jiangxi Meteorological Observation Centre, Nanchang 330096, China
6
Shanghai Meteorological Information and Technical Support Centre, Shanghai 200030, China
*
Author to whom correspondence should be addressed.
Remote Sens. 2025, 17(24), 3976; https://doi.org/10.3390/rs17243976
Submission received: 14 October 2025 / Revised: 26 November 2025 / Accepted: 8 December 2025 / Published: 9 December 2025

Highlights

What are the main findings?
  • Machine learning-based algorithm significantly outperforms conventional methods in heavy rainfall quality control.
  • The remote sensing and minute-level data are identified as dominant contributors to model predictions.
What is the implication of the main finding?
  • The traditional quality control algorithm will be replaced gradually by the machine learning-based one in operational service, resulting in a substantial enhancement of heavy rainfall data quality.
  • The advantages of multi-source data are leveraged by a machine learning model for heavy rainfall quality control.

Abstract

In this study, a machine learning-based quality control algorithm for heavy rainfall was developed by integrating automatic weather station observations with remote sensing data, minute-level data, and metadata. Based on heavy rainfall samples from 1 June 2022 to 31 December 2024, the performances of four gradient boosting models—eXtreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LightGBM), Categorical Boosting (CatBoost), and Gradient Boosted Regression Trees (GBRT)—significantly outperformed precipitation-threshold-based conventional methods, including regional extreme value checks, temporal consistency checks, and others. Specifically, the XGBoost in particular achieves an increase in precision by 0.110 and recall by 0.162. This translates to a substantial reduction in both false alarms (higher precision) and missed detections (higher recall) of anomalous heavy rainfall events, thereby significantly enhancing the reliability of the quality-controlled data. The radar composite reflectivity, satellite cloud-top temperature, and minute-level precipitation were identified as dominant contributors to model predictions. The integration of multi-sensor observations effectively addressed limitations inherent in conventional threshold-based approaches. Through SHapley Additive exPlanations (SHAP)-based interpretability analysis, the model’s decision logic was shown to align with meteorological physical principles. Characteristic patterns such as combinations of low radar reflectivity and elevated cloud-top temperatures were flagged as anomalous rainfall events, typically corresponding to manual operational errors. Moreover, the model identified anomalous minute-level precipitation extremes to be critical signals for detecting instrument malfunctions, data encoding and transmission errors. The physical consistency of the model’s reasoning enhances its trustworthiness and supports its potential for operational implementation in heavy rainfall quality control.

1. Introduction

In surface meteorological observation, precipitation data are regarded as one of the most frequently utilized and critically supportive datasets [1,2,3]. The utilization of accurate precipitation data extends across weather forecasting, climate change studies, and numerical model assimilation [3,4,5], with heavy rainfall observations being particularly valuable for understanding extreme weather events and their hydrological impacts [6,7,8]. These data also serve as essential decision-making bases for key societal sectors such as agricultural production, water resource management, and ecological security [9,10,11].
With the continuous construction and expansion of the Chinese surface observation network, the number of automatic weather stations (AWSs) has exceeded 70,000, significantly improving observational coverage and density [12]. However, more than 95% of them are unmanned. Without dedicated on-site maintenance or backup precipitation observation devices, these unmanned stations often suffer from operational instability and non-standard installation, making them prone to various data quality anomalies [13,14,15].
Currently, the quality control (QC) of surface precipitation data in China primarily relies on precipitation-threshold-based traditional methods, such as regional extreme value checks, temporal consistency checks, and spatial consistency comparisons between stations [16,17,18,19]. For instance, the Meteorological Data Operation System (MDOS) of the China Meteorological Administration (CMA) employs a combination of file-level rapid QC, hourly batch QC, and daily data QC to achieve automated processing [20]. However, these methods still exhibit high rates of missed detections and false alarms in cases such as isolated heavy rainfall caused by human operational errors or continuous large precipitation values resulting from equipment malfunctions [21,22,23,24,25]. Although manual review can serve as an effective supplement to automated QC, it is typically conducted several hours after data arrival, making it difficult to meet the timeliness requirements for real-time heavy rainfall monitoring and emergency response [20,26].
With the advancement of ground- and satellite-based observation technologies and the explosive growth of meteorological data, multi-source data collaborative QC for precipitation has demonstrated significant advantages [27,28,29,30,31]. Compared with traditional approaches, these methods integrate various observational data, including Doppler weather radar, geostationary meteorological satellite, and weather detector, effectively reducing the false alarm rate in anomaly detection [27,28,29]. Furthermore, multi-source collaborative QC also contributes positively to the quality improvement of hydrological precipitation data [30,31]. However, multi-source collaborative QC methods rely mainly on statistically based static thresholds and have not yet fully exploited the complementary potential of multi-source data. Therefore, their optimization and fusion mechanisms require further exploration.
The machine learning-based QC algorithm enables the establishment of non-linear relationships between multi-source data and QC outcomes, facilitating the identification of potentially effective features [24,32,33]. This approach effectively mitigates the limitations associated with single-data-source dependency inherent in precipitation threshold-based QC algorithms. Additionally, through built-in libraries, the contribution weights of input features can be optimally configured, thereby leveraging the distinct advantages of features derived from diverse data sources [34,35]. For example, machine learning algorithms such as decision trees, K-nearest neighbors, and isolation forests have been applied to classify outliers, significantly improving the detection accuracy of anomalous precipitation data [36,37,38,39]. Neural networks have been used to construct real-time precipitation confidence intervals, enabling model adaptation across spatial and seasonal variations [40,41]. By incorporating topographic elevation data through deep neural networks and multi-scale ensemble learning techniques, the capability to detect precipitation quality anomalies in data-sparse regions such as coastal and mountainous areas has been enhanced [42].
The practical objective of this research is to enhance the operational capability of the Chinese meteorological service in automatically and accurately identifying heavy rainfall anomalies. This is critical for improving the reliability of input data for numerical weather prediction models and flash flood early warning systems, which are highly sensitive to spurious precipitation extremes. To this end, we have developed a machine learning-based QC algorithm by integrating multi-source data, including AWS observations, Doppler weather radar data, satellite data, and minute-level precipitation records, covering the period from June 2022 to December 2024. This algorithm is designed to address the high rates of missed detections and false alarms inherent in the current threshold-based method, particularly those caused by manual operational errors and instrument malfunctions. Furthermore, the interpretability analysis is employed to verify that the model’s decision logic is physically consistent with established meteorological principles. This validation is crucial for ensuring the reliability and operational adoption of the automated QC algorithm.

2. Data and Methods

2.1. Data and Workflow

The data employed in this study were drawn from a two-and-a-half-year period, from 1 June 2022 to 31 December 2024, and encompassed the entirety of China. The dataset was categorized into three primary types: (1) surface observational data, including both hour-level and minute-level records; (2) remote sensing data; and (3) metadata. For the development of the heavy rainfall QC algorithm, a focus was placed on surface observational data where the hourly precipitation exceeded 40 mm. The corresponding remote sensing data and metadata from these events were selectively extracted, resulting in a total dataset of 127,889 samples. For model development and evaluation, the entire dataset was partitioned into training, validation, and testing sets with a ratio of 5.8:1.7:2.5, corresponding to 74,176, 21,741, and 31,972 samples, respectively.

2.1.1. Surface Observational Data

The surface observational data were obtained from a CMA-maintained network comprising national and provincial AWSs [9,12,20], with a station density higher in the eastern and southern regions than in the western and northern areas (Figure 1). Thirteen hour-level parameters, including hourly precipitation (PRE_1h), temperature (TEM), dew point temperature (DPT), atmospheric pressure (PRS), 3 h atmospheric pressure change (PRS_Change_3h), 24 h atmospheric pressure change (PRS_Change_24h), relative humidity (RHU), instantaneous wind speed (WIN_S_INST), maximum instantaneous wind speed in 1 h (WIN_S_INST_Max), 10 min average wind speed (WIN_S_Avg_10mi), instantaneous wind direction (WIN_D_INST), direction of maximum instantaneous wind speed in 1 h (WIN_D_INST_Max), and 10 min average wind direction (WIN_D_Avg_10mi), were extracted as input features for the models.
In addition to the hour-level surface observational data, minute-level precipitation data were also incorporated in this study. Due to the substantial volume of the minute-level data, feature extraction processes were performed to characterize its mean, extremums, and degree of dispersion. The average (PRE_1m_Ave), maximum (PRE_1m_Max), minimum (PRE_1m_Min), and standard deviation (PRE_1m_Std) of all minute-level values in each hour were calculated and used as input features for the models. The average and standard deviation of minute-level precipitation were defined by Equations (1) and (2), respectively.
P R E _ 1 m _ A v e = 1 N i = 1 N P R E i
P R E _ 1 m _ S t d = 1 N i = 1 N ( P R E i P R E _ 1 m _ A v e ) 2
where P R E i represents the minute-level precipitation value of the i-th sample, and N indicates the record number of minute-level precipitation in this hour.

2.1.2. Remote Sensing Data

The remote sensing data utilized in this study comprised the composite reflectivity (CR) mapping product from Doppler weather radars and the cloud-top temperature (CTT) product retrieved from the Fengyun-4B (FY-4B) geostationary meteorological satellite. Both products were quality-controlled data [43,44].
The CR mapping product is generated through periodic volume scans conducted by individual radar stations [45]. Base data, such as reflectivity, are transmitted in real time to processing centers, where they undergo rigorous QC algorithms to remove ground clutter and electromagnetic interference. The polar coordinate data from every single radar are then interpolated onto a unified latitude–longitude grid. Finally, a “maximum reflectivity” fusion algorithm is applied to produce the composite reflectivity mapping product. This mapping product is built upon a foundation of unified calibration across all radars in China, ensuring consistency and comparability of data from different stations. It provides complete coverage of China at high spatiotemporal resolutions of 6 min and 0.01°.
The FY-4B satellite-derived cloud-top temperature product is retrieved via multi-channel remote sensing detection [46]. The satellite employs an Advanced Geosynchronous Radiation Imager to observe specific infrared channels, such as the long-wave infrared window channels at 10.3–11.3 μm and 11.5–12.5 μm. The raw radiance emitted from cloud tops is acquired and radiometrically calibrated to obtain accurate top-of-atmosphere radiance values [47]. Based on Planck’s blackbody radiation law, these radiance values are subsequently inverted into cloud-top temperatures. The geographic projection coordinates from the satellite data are computed based on the World Geodetic System-1984 Coordinate System [48], and the row and column numbers of the detection products are thereby converted into geographical latitude and longitude values. This product covers East Asia with temporal and spatial resolutions of 15 min and ~4 km, respectively.
Radar and satellite data exhibit strong complementary characteristics. Radar observations provide high spatiotemporal resolution, enabling effective monitoring of the initiation and evolution of meso- and micro-scale severe convective systems, thereby compensating for the limitations of satellites in detailed monitoring. Satellite observations are not constrained by topography and can cover regions such as oceans, plateaus, and mountains, where radar deployment is challenging, thus mitigating radar blind zones in areas with complex topography. By integrating radar and satellite data, the technical advantages of both ground-based and satellite-based remote sensing can be leveraged, enhancing the reliability of heavy rainfall QC.

2.1.3. Metadata

Metadata are defined as “data about data”, which describe the context and provenance of the data and are essential for their correct interpretation and use. Key components include station location, instrument specifications, measurement method, etc. [49]
The acquisition of metadata is a systematic process. During station construction, geographical and instrumental information are surveyed and recorded. Subsequently, identifiers and timestamps are embedded by the data loggers during data collection and transmission. Finally, processing logs are integrated through standardized formats in processing and archiving. In this study, altitude (Alti), station level, and measurement method were selected as the input features for the models.

2.1.4. Overall Workflow

The machine learning-based QC process algorithm is structured into three consecutive stages (Figure 2): data preprocessing, feature extraction, and modeling with evaluation and interpretation.
The first stage focuses on data integration and preparation, beginning with the data matching of multi-source inputs (surface, radar, satellite, and metadata) to form a unified set of original features. In the second stage, this initial feature set undergoes a refinement process through the elimination of multicollinearity to remove redundancy and data standardization to ensure numerical stability, resulting in refined and effective extracted features. The final stage encompasses the core modeling and analysis, including algorithm building with multiple models, rigorous algorithm evaluation using confusion matrix-based metrics, and algorithm interpretability analysis. This analysis examines the consistency between the model’s decision logic and established meteorological principles.

2.2. Feature Engineering

2.2.1. Data Matching

Hourly precipitation data represent the cumulative rainfall during the one-hour period immediately preceding each hour (e.g., the precipitation recorded at 06:00 corresponds to the accumulated rainfall between 05:00 and 06:00). However, remote sensing data sources—with temporal resolutions of 6 min for radar and 15 min for satellite—exhibit significantly higher temporal resolution than hourly precipitation data. This discrepancy in temporal scale leads to fundamental inconsistencies when directly performing grid-to-grid matching in these heterogeneous datasets.
A sliding average temporal window method was applied to process the remote sensing data [50]. For each hourly precipitation value, all available radar or satellite gridded observations within the preceding one-hour window were extracted. The average of these high-resolution values was then computed (A schematic diagram is shown in Figure 3) and matched with the hourly precipitation data. This method effectively aligns the high-frequency remote sensing data with the hourly precipitation observations on a consistent temporal scale, thus achieving temporal consistency for multi-source data matching.
For spatial matching, a spatial nearest-neighbor averaging method was employed in this study [51]. Centered on the latitude and longitude coordinates of each AWS, the CR and CTT gridded data within the surrounding area were searched. The arithmetic mean of the five nearest grid points was then calculated and used as the remote sensing observation values matched to the hourly precipitation data.
The utilization of multiple grid points within a defined spatial domain for averaging is motivated by practical considerations regarding spatial representation and error minimization. During heavy rainfall events, accompanying strong low-level winds can induce horizontal advection of hydrometeors, resulting in a displacement between the precipitation measured at ground stations and the cloud properties observed directly overhead via remote sensing. Relying solely on the single grid value immediately above one AWS may introduce significant mismatches. This method reduced small-scale spatial inconsistencies, thereby providing a more reliable representation of the remote sensing data within the vicinity of the station.

2.2.2. Feature Selection

In high-dimensional datasets, redundancy and multicollinearity among input features are frequently observed [52]. These issues can increase computational complexity, prolong training time, and potentially lead to overfitting, thus reducing model generalization capability and interpretability. Therefore, feature selection is a critical preprocessing step in machine learning. It aims to construct a low-dimensional and efficient feature subset while preserving essential information from the original data. This process enhances model performance and computational efficiency.
This study adopted a strategy based on correlation analysis to systematically eliminate redundant features [53]. The Pearson correlation coefficient matrix was calculated for all pairwise combinations of the input features and a threshold was set to identify highly correlated feature pairs. For each such pair, one of the features was retained while the other was eliminated. This process effectively removed redundant information, ensuring that the final feature subset consists of features with low mutual correlation.
Based on absolute Pearson correlation coefficient analysis (Figure 4) with a threshold of |r| > 0.5, a systematic elimination of redundant features from the initial 22 input features was conducted. This process resulted in the removal of 7 redundant features (Table 1), including altitude (Alti), dew point temperature (DPT), 24 h pressure change (PRS_Change_24h), instantaneous wind speed (WIN_S_INST), instantaneous wind direction (WIN_D_INST), minute-level precipitation mean (PRE_1m_Ave) and standard deviation (PRE_1m_Std) in an hour. The refined feature set retained 15 core features, achieving a 31.8% reduction in feature dimensionality while fully preserving critical precipitation-related information encompassing dynamic, thermodynamic, moisture, and cloud microphysical characteristics.

2.3. Machine Learning Models

The Gradient boosting machine (GBM) was adopted in this study due to its strong capability in modeling complex non-linear relationships and handling heterogeneous, multi-source datasets commonly found in meteorological applications [54,55]. As an ensemble learning method, GBM iteratively combines multiple base learners (typically decision trees) to progressively improve prediction performance, making it highly effective for both classification and regression tasks.
Within this framework, four state-of-the-art GBM variants were selected for a comprehensive comparative analysis: eXtreme Gradient Boosting (XGBoost) [56,57], Light Gradient Boosting Machine (LightGBM) [58], Categorical Boosting (CatBoost) [59,60], and Gradient Boosted Regression Trees (GBRT) [61]. Each model brings distinct algorithmic advantages: XGBoost is known for its regularization mechanisms and robustness, LightGBM offers high training efficiency through histogram-based learning, CatBoost effectively handles categorical features and reduces prediction bias, while GBRT represents a classical and interpretable implementation of the boosting paradigm.
To ensure these models achieve their designed performance, the hyperparameters of all models were optimized using the Optuna library, which employed a 5-fold cross-validation strategy on the training data to select the most robust parameter set [62].
Since the input data are derived from multiple heterogeneous sources, significant differences are observed in their measurement principles, accuracy, and acquisition environments. Considerable variations are exhibited in the value ranges, distribution characteristics, and systematic biases among different inputs [63]. Therefore, Z-score normalization was applied to preprocess each type of input feature separately, by using the formula given in Equation (3).
z i j = X i j μ i σ i
where z i j denotes the Z-score of the j-th sample in the i-th feature, X i j represents the observed value of the j-th sample in the i-th feature, μ i is the mean value of the i-th feature, and σ i is the standard deviation of the i-th feature.
By transforming features into a unified scale through mean subtraction and standard deviation division, Z-score normalization effectively reduces distributional discrepancies and prevents numerically dominant features from exerting disproportionate influence during model training. While it is recognized that precipitation data often follow skewed distributions, the primary purpose of applying Z-score normalization to tree-based models (which are invariant to linear scaling) is not to achieve normality in feature distributions, but rather to stabilize gradient-based optimization and enhance numerical convergence, thereby contributing to accelerated training and improved generalization capability.

2.4. Model Performance Metrics

To evaluate model performance, a confusion matrix-based performance metric was employed in this study, utilizing accuracy, precision, recall, and F1-Score as key metrics. These metrics are defined by Equations (4)–(7), respectively [64,65].
a c c u r a c y = T P + T N T P + T N + F P + F N
p r e c i s i o n = T P T P + F P
r e c a l l = T P T P + F N
F 1   S c o r e = 2 × P r e × R e c P r e + R e c
where TP (true positive) denotes the number of samples that are positive and correctly predicted as positive; FN (false negative) refers to the number of samples that are positive but incorrectly predicted as negative; FP (false positive) is the number of samples that are negative but incorrectly predicted as positive; and TN (true negative) represents the number of samples that are negative and correctly predicted as negative.
The “actual value” in the confusion matrix is obtained from manually corrected hourly precipitation QC results, which are currently regarded as the most accurate benchmark (although its timeliness is relatively poor). Furthermore, by comparing the metrics calculated between the model’s outputs and the actual value against those derived from traditional MDOS results and the same actual value, the proposed GBM learning models effectively demonstrate their superiority over current operational QC methods.

2.5. Model Interpretation

The interpretability of the machine learning model is crucial for establishing trust in its operational application. In this study, the model’s decision logic was interpreted using SHapley Additive exPlanations (SHAP) [66,67], a method grounded in cooperative game theory that provides a unified framework for explaining the output of any machine learning model. The prediction of the black-box model is decomposed into the sum of individual feature effects by calculating each feature’s contribution, and renders the final prediction clear and interpretable. A lower SHAP value indicates a lower feature contribution, whereas a higher value corresponds to a greater contribution. The SHAP value is mathematically defined by Equation (8).
g ( x ) = 0 + i = 1 M i x i
where g ( x ) represents the explanation model, x denotes the input features, and M indicates the number of input features. i represents the Shapely values for feature i and 0 denotes the constant output value when all inputs are absent. For each feature, the term i is computed using Equations (9) and (10).
i ( f ,   x ) = z x | z | ! ( M | z | 1 ) ! M ! [ f x ( z ) f x ( z \ i ) ]
f x ( z ) = E [ f ( x ) | x S ]
where f represents the black box model. z denotes a subset of input features, and | z | is the number of non-zero entries in z . E [ f ( x ) | x S ] represents the expected value of the function and S is the set of non-zero indices in z .
SHAP values can be approximated using various methods, such as Kernel SHAP, Deep SHAP, and Tree SHAP. In this study, the Tree SHAP-based approach was employed and implemented via the SHAP library in Python 3.12.7.
Globally, the mean absolute SHAP value for each feature was analyzed to assess its overall importance to the model. Locally, the individual SHAP values were investigated to understand the reasoning behind specific predictions. This two-level analysis was visualized using summary plots and dependence plots, which collectively illustrate how different feature values and their interactions push the model’s prediction towards a classification of “anomalous” or “normal” precipitation. The primary objective of this interpretability analysis was to validate whether the model’s decision-making aligns with meteorological physical principles, thereby verifying the physical consistency and enhancing the reliability of the QC algorithm.

3. Results

3.1. Importance Analysis

The analysis of normalized feature importance in the four models for the 15 features revealed that remote sensing data played a dominant role in the predictions, with mean normalized feature importance values of 0.332 for CR and 0.220 for CTT, respectively (Figure 5). Precipitation-related features were consistently identified as stable predictors, where the PRE_1m_Max, PRE_1h, and PRE_1m_Min were identified as subdominant predictive factors, with mean normalized feature importance values of 0.089, 0.064, and 0.055. Moderate contributions were observed from wind speed, wind direction, PRS, and TEM, with mean normalized feature importance values ranging from 0.025 to 0.046. In contrast, the importance of PRS_Change_3h, RHU, and metadata features was relatively low, with normalized feature importance values all below 0.01.
However, distinct model-specific characteristics were observed in the feature weighting in the four models (Figure 6). In the XGBoost model, the ranking of feature importance was observed to be similar to the average of the four models, with remote sensing data identified as the most significant (CR, 0.363; CTT, 0.232), followed by precipitation-related features (PRE_1m_Max, 0.080; PRE_1m_Min, 0.067; PRE_1h, 0.056). Greater sensitivity to wind direction (WIN_S_Avg_10mi, 0.113; WIN_D_INST_Max, 0.051) and wind speed (WIN_S_INST_Max, 0.063; WIN_S_Avg_10mi, 0.056) features were exhibited by the LightGBM model, with these values being significantly elevated compared to other models. A unique pattern was presented by CatBoost, which was identified as the only model where a higher importance was allocated to CTT (0.313) than to CR (0.257). This model was also characterized by a considerably greater emphasis being placed on the WIN_S_INST_Max (0.078). In contrast, an extreme dependence on CR was displayed by the GBRT model, which was attributed a normalized feature importance value of 0.509, accounting for over half of the total feature importance. Concurrently, wind-related features were largely disregarded (normalized feature importance value ≤ 0.006). These discrepancies highlighted the inherent biases of different models in capturing complex feature-target relationships, underscoring that the selection of an appropriate model is critical for the accurate interpretation of feature influences in practical applications.
During the modeling process, feature elimination was performed based on feature importance. Only features whose cumulative contribution exceeded 99.5% after sorting in descending order were retained. This procedure further streamlined the model architecture and improved interpretability, following the initial feature selection outlined in Section 2.2.2.

3.2. Comparison of Performance in Different Models

The performances of the four models in heavy rainfall QC were systematically evaluated by the metrics outlined in Section 2.4. The accuracy measures the overall proportion of correct predictions. The precision quantifies the proportion of predicted anomalous events that are truly anomalous, where a higher value directly translates to fewer false alarms. In contrast, the recall quantifies the proportion of actual anomalous events that are correctly identified, with a higher value signifying a lower rate of missed detections. The F1-score, as the harmonic mean of precision and recall, provides a single metric to evaluate the model’s balanced performance.
Comparative analysis of two sets revealed that the performance degradation of the four models was not significant, with observed decreases in F1-scores of 0.045, 0.049, 0.047, and 0.044, respectively, thus indicating no substantial overfitting was detected (Table 2 and Table 3).
High accuracies (accuracy > 0.99) were observed by all models in the testing set (Table 3). However, it could be attributed to the significant class imbalance in the precipitation dataset employed, where normal precipitation events (negative samples) substantially outnumbered anomalous precipitation events (positive samples). The identification of true negative samples by the models was relatively easy, resulting in the TN value in Equation (2) being considerably larger than TP, FP, and FN. Consequently, the accuracies were universally inflated, failing to adequately reflect the capability to detect the critical minority class of anomalous precipitation. In comparison, the precision, recall, and F1-score demonstrated greater diagnostic value in identifying such imbalanced datasets.
According to the results, all evaluated metrics of the four models outperformed those of the MDOS QC (Table 3). The superiority of applying machine learning techniques to multi-source data, particularly remote sensing data, for heavy rainfall QC was effectively highlighted. The highest F1-score (0.816) and recall (0.789) were achieved by XGBoost, indicating its superior comprehensive performance in identifying anomalous precipitation. LightGBM was observed to closely follow, with its F1-score (0.811) nearly matching that of XGBoost, while a slightly higher precision (0.845) was attained. The highest precision (0.849) was recorded by the GBRT model, though its recall was found to be relatively lower. All metrics obtained by the CatBoost model on the test set were noted to be slightly inferior to those of the other three comparative models.
The precision-recall (PR) and receiver operating characteristic (ROC) curves [68] of the four models were observed to be similar (Figure 7). The highest average precisions (APs) of 0.777 were achieved by both XGBoost and CatBoost. Meanwhile, the highest two areas under the curves (AUCs) were exhibited by LightGBM and XGBoost, with values of 0.942 and 0.941, respectively. Therefore, through a synthesis of metrics, PR and ROC curves assessment, the XGBoost model was regarded as the preferred high-quality model and was chosen for further study (Section 3.4). Compared to the MDOS, the XGBoost model achieved an increase in precision by 0.110, recall by 0.162, and F1-score by 0.140 in the heavy rainfall QC.
The XGBoost model was implemented with its hyperparameters optimized using the Optuna library. The final architecture comprised 268 estimators and a maximum tree depth of 7. The learning process was configured with a learning rate of 0.0236 and substantial regularization, where L1 and L2 regularization terms were set to 0.9621 and 0.0527, respectively. Additionally, stochasticity was introduced through column subsampling at a ratio of 0.9166 and instance subsampling at a ratio of 0.8266.

3.3. Model Validation

An independent validation set of 21,741 samples was used to calculate the model performance metrics, which are summarized in Table 4. All models exhibited only marginal performance degradation on the validation set. Specifically, precision decreased by merely 0.006, 0.022, 0.010, and 0.025 for XGBoost, LightGBM, CatBoost, and GBRT, respectively. Recall also showed reduction, ranging from 0.053 to 0.066, while the F1-score experienced declines between 0.037 and 0.043. These limited decreases confirm that the models maintain strong generalization capability in validation.

3.4. Feature Contribution

Rooted in an individualized model interpretation method, SHAP values allow a distinct explanation to be provided for each feature. Figure 8 presents how a feature modulates its own contribution to the model output. In this figure, the color of the dot represents the value of that feature for the review (red: high, blue: low), and the position of the dot is the contribution of the feature to the review’s helpfulness. Positive SHAP values signify that the feature’s value contributes to the model’s prediction of “anomalous precipitation”, and a larger value indicates a stronger contribution. Conversely, negative SHAP values signify a contribution to the prediction of “normal precipitation”, with a smaller (more negative) value corresponding to a stronger contribution.
CR was regarded as the most discriminative feature in the model (Figure 6a and Figure 8). The SHAP summary plot demonstrated that lower CR values were significantly positively correlated with the probability of a record being classified by the model as “abnormal precipitation” (Figure 8). Additionally, CR SHAP values exhibited a dependence on CTT and PRE_1h (Figure 9a,d). The samples with CR values below 20 dBZ, combined with either hourly precipitation greater than 70 mm or CTT exceeding 260 K, were strongly classified as “anomalous precipitation” by the model. These phenomena were highly consistent with the physical mechanisms governing heavy rainfall formation. Weak radar echoes imply underdeveloped convective systems and weaker processes of water vapor condensation and hydrometeor growth, which are theoretically insufficient to support a precipitation rate greater than 40 mm/h. Consequently, when an observed hourly precipitation with a lower CR, the record is highly likely to be attributed to manual operational errors, such as garden watering, cleaning the gauge without disconnecting communication [23,28,29].
CTT was established as a key indicator in the model (Figure 6a and Figure 8). It showed that samples with elevated CTT (i.e., warmer cloud tops), particularly when combined with either a CR below 20 dBZ or hourly precipitation exceeding 70 mm, were readily classified as anomalous precipitation (Figure 10a,d). From a meteorological perspective, cloud systems capable of generating intense convection are typically characterized by high cloud top heights and low cloud top temperatures. A heavy rainfall event accompanied by a high CTT value is considered suspicious. Such events may be associated with shallow or warm-cloud-dominated systems, which typically lack the dynamic and microphysical conditions necessary for producing substantial rainfall. Similar to the CR SHAP analysis, these phenomena may also be attributed to non-meteorological factors.
The PRE_1m_Max was identified as a critical feature utilized for the model (Figure 6a and Figure 8). SHAP analysis indicated that the model was more likely to classify a precipitation event as anomalous under two scenarios: (1) the PRE_1m_Max was less than 0.5 mm (Figure 8 and Figure 11). This was primarily attributed to a logical inconsistency in the data, as such a low precipitation rate was physically implausible to support the observed hourly precipitation greater than 40 mm. This discrepancy is likely caused by data encoding or transmission errors [25,29]; (2) the PRE_1m_Max exceeded 3.5 mm, particularly when accompanied by either a CR of less than 20 dBZ or a CTT greater than 260 K (Figure 11a,b). An actual heavy rainfall event is composed of several high-intensity minute-scale segments, yet its maximum value usually falls within a reasonable physical range. These anomalously high minute values were likely to be induced by instrumental malfunctions [14,21,25,29], such as the persistent false triggering of a reed switch in a tipping-bucket rain gauge due to metal fatigue or foreign object adhesion, leading to an abnormally high count within a single minute. Additionally, occasional strong electromagnetic interference can also produce such physically implausible extreme peaks [23].
The PRE_1m_Min played a distinctive role in this model (Figure 6a and Figure 8). The SHAP analysis revealed that PRE_1m_Min did not heavily depend on other features (Figure 12). But anomalously low values (particularly negative values) of this feature served as a strong indicator for the model to classify a record as “abnormal precipitation”. As minute precipitation represents an accumulated quantity over a period, its value is inherently non-negative. Therefore, the occurrence of negative values exposes errors in the data encoding or transmission, such as improper sign bit handling or data type conversion errors [25,29]. Thus, it is also established as a sensitive indicator for heavy rainfall QC.

4. Discussion

This study demonstrates the superior performance of machine learning-based algorithms over traditional threshold-based methods for heavy rainfall QC. By effectively integrating multi-source data, the algorithm significantly reduces both false alarms and missed detections. However, before operational deployment, a comprehensive analysis is essential to enhance the algorithm’s robustness and interpretability.

4.1. Seasonal Variations in Algorithm Performance

To investigate seasonal variations in algorithm performance, monthly performance metrics from January to December were calculated using the XGBoost-based QC algorithm based on 31,972 samples from the testing set (Table 5).
The results revealed a clear and meteorologically consistent seasonal distribution in sample counts, characterized by a pronounced peak during summer months and a distinct minimum in winter [69]. Meanwhile, the monthly performance metrics indicated that accuracy and precision showed minimal seasonal variation, with values ranging from 0.990–0.997 and 0.839–0.866, respectively.
In contrast, recall and F1-scores showed distinct seasonal fluctuations. Although sample counts were at their highest during summer months, recall and F1-scores were comparatively lower, with values ranging from 0.763–0.772 and 0.802–0.807, respectively. This performance pattern is likely consistent with the more complex, localized, and microphysically diverse nature of warm-season convective rainfall [69,70,71], which presents a greater challenge for the QC algorithm. In the winter months, the algorithm exhibited higher recall and F1-scores (0.932–0.947 and 0.886–0.901) despite lower sample sizes. This can be attributed to the more organized and systemic nature of cool-season weather patterns [71,72], which leads to more spatially and temporally consistent signatures in the remote sensing and surface data, making events easier to classify.

4.2. Spatial Variations in Algorithm Performance

To evaluate the spatial generalization capability of the algorithm under different climatic backgrounds, a detailed regional performance assessment was conducted. China was divided into seven climatic regions based on multiple-year mean values of temperature, precipitation and altitude [73] (Figure 1): arid desert of Northwest China (NWC), semi-arid steppe of Inner Mongolia (IM), Qinghai-Tibetan Plateau (QTP), (semi-) humid cold-temperate Northeast China (NEC), semi-humid warm-temperate North China (NC), humid subtropical Central China (CC), and humid tropical South China (SC). The testing set was partitioned according to these seven regions, and performance metrics for the XGBoost-based QC algorithm were subsequently calculated (Table 6).
The results demonstrated a spatial variation in sample counts consistent with the station distribution, with the highest density observed in NC, CC and SC. The regional performance metrics revealed that the accuracy exhibited minimal spatial variation, with values ranging from 0.985 to 0.993.
Notably, the northwestern and high-latitude regions (NWC, IM, QTP, and NEC) achieved superior performance in multiple metrics, characterized by high precision (0.931–0.955), recall (0.937–0.970), and F1-scores (all above 0.93). This consistently strong performance may be attributed to the dominant heavy rainfall mechanisms in these regions, which are primarily driven by large-scale synoptic systems [74,75,76]. These systems typically produce organized precipitation cloud structures with well-defined spatial patterns, leading to clearer physical relationships between remote sensing features and surface precipitation.
In contrast, the eastern and southern regions (NC, CC, and SC) exhibited notably degraded performance in both recall (0.737–0.811) and F1-scores (0.786–0.827). This was compounded by substantially lower precision values (0.841–0.849) compared to those in the northwestern and high-latitude regions. This performance pattern reflects the greater algorithmic challenges posed by complex terrain and heterogeneous precipitation mechanisms prevalent in these regions [74,77,78]. Particularly in SC, which presented the most challenging scenario with the lowest recall (0.737) and F1-score (0.786), the frequent occurrence of highly localized warm-sector convective rainfall introduces substantial variability in remote sensing signatures and creates non-linear relationships with surface rain rates. These factors collectively contribute to the increased difficulty in accurate heavy rainfall identification by the algorithm.
The analysis reveals notable spatiotemporal variations in algorithm performance, particularly during the warm season and in regions with complex terrain or heterogeneous precipitation mechanisms, which indicates substantial room for improvement. The future work will prioritize the development of spatiotemporally adaptive algorithms capable of addressing distinct precipitation mechanisms in seasons and regions, thereby enhancing performance stability throughout annual cycles and diverse climatic regions. To support this goal, the temporal coverage of datasets will be expanded by continuously incorporating observational data from additional years, with particular emphasis on periods marked by strong climate anomaly events (e.g., strong ENSO). This systematic data diversification is expected to significantly improve the algorithm’s generalization capability under evolving climatic conditions.
Beyond these spatiotemporal considerations, the current specialization in heavy rainfall events (≥40 mm/h) will be extended to develop a unified, multi-class QC algorithm. This expansion addresses the critical need for a comprehensive QC system capable of handling the full spectrum of precipitation intensities, including light rain and snowfall. These types exhibit distinct physical signatures and error modes that require specialized detection approaches.
Additionally, false alarm cases will be systematically analyzed to identify specific causes (such as precipitation phase changes, radar beam blockage, or shallow warm-rain processes) that violate the typical relationship. Feature refinement and the creation of a specialized edge-case training library will then be guided by these insights, with the ultimate goal of enhancing the algorithm’s discriminative capability and reducing false alarms in operations.

5. Summary and Conclusions

In this study, a machine learning-based QC algorithm for heavy rainfall was developed by integrating AWS observations with radar, satellite, and metadata inputs. Based on heavy rainfall samples from 1 June 2022 to 31 December 2024, performance metrics and interpretability were analyzed on the model outputs. The main conclusions are summarized as follows:
In heavy rainfall QC, the four gradient boosting models (XGBoost, LightGBM, CatBoost, and GBRT) demonstrated a marked improvement over the conventional MDOS method, achieving consistently superior performance in precision, recall, and F1-score. Through a comprehensive evaluation of the performance metrics, PR and ROC curves, the XGBoost model achieved the best overall performance, with precision, recall, and F1-score reaching 0.844, 0.789, and 0.816 on the testing set. Compared to the MDOS, the XGBoost model achieved an increase in precision by 0.110, recall by 0.162, and F1-score by 0.140 in heavy rainfall QC. This finding indicates that by effectively learning the non-linear relationships from complex multi-source data, gradient boosting-based machine learning algorithms significantly improve heavy rainfall QC, yielding a substantial reduction in both false alarms (higher precision) and missed detections (higher recall). These algorithms significantly improved the identification of challenging QC issues like isolated anomalies and continuous heavy rainfall.
The radar, satellite, and minute-level precipitation data were found to play dominant roles in the model’s feature importance. The inclusion of these high-value features overcame the limitations of traditional QC methods that rely on static thresholds and single data sources. Moreover, radar data compensated for the spatiotemporal resolution limitations of satellite observations, while satellite data effectively covered the observational gaps of radar in complex terrain. Through the adaptive learning strategy of the machine learning model, these two data sources achieved complementary advantages and synergistic effects.
Interpretability analysis based on the SHAP method demonstrated that the model’s decision logic was highly consistent with meteorological physical mechanisms. For example, low CR or high CTT generally indicated weak precipitation or underdeveloped convective clouds. Heavy rainfall records associated with such features were accurately identified as anomalous by the model, which corresponds to manual operational errors (e.g., garden watering, cleaning the gauge without disconnecting communication) or other non-meteorological factors. Furthermore, anomalous minute-level precipitation extremes were confirmed by the model as key indicators for identifying instrument malfunctions (e.g., the persistent false triggering of a reed switch in a tipping-bucket rain gauge due to metal fatigue or foreign object adhesion), data encoding and transmission errors. This alignment between the decision logic mechanism and physical principles enhances the reliability of the model results and makes the decision process transparent and interpretable for forecasters, demonstrating strong potential for operational application.
Future work will be directed along three primary dimensions. First, spatiotemporally adaptive algorithms will be developed to better represent precipitation mechanisms in seasons and regions, supported by a continuous expansion of observational data. Second, the framework will be extended to establish a unified, multi-class QC system capable of handling all precipitation types and intensities. Finally, false alarm cases will be systematically analyzed to identify root causes. These developments are expected to collectively enhance the algorithm’s stability, generalization capability, and operational applicability.

Author Contributions

Conceptualization, H.S. and Q.Z.; methodology, H.S., Q.Z., L.S., C.L. and S.Q.; software, H.S. and Y.H.; validation, H.S. and M.X.; formal analysis, H.S. and M.X.; investigation, H.S. and Q.H.; resources, H.S. and Y.G.; data curation, H.S.; writing—original draft preparation, H.S.; writing—review and editing, H.S., Q.Z., L.S., C.L., S.Q. and D.Y.; visualization, H.S. and Y.H.; supervision, L.S., C.L. and S.Q.; project administration, H.S., Q.Z. and L.S.; funding acquisition, H.S., Q.Z. and D.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number U2342216. The APC was jointly supported by the High-Quality Program of the CMA Meteorological Observation Centre, grant number YZJH24-15 and the Early-Career Research Project of the CMA Meteorological Observation Centre, grant number MOCQN202405.

Data Availability Statement

The surface observational data, radar data, and metadata from the CMA used in this study are not publicly available due to national security and confidentiality policies governed by Chinese regulations. Therefore, the authors are not authorized to redistribute the raw data. The satellite data in this study is available and can be obtained from this website: https://satellite.nsmc.org.cn/DataPortal/cn/home/index.html (accessed on 11 November 2024).

Acknowledgments

This research was supported by data from several institutions. We gratefully acknowledge the CMA Meteorological Observation Centre for providing the radar observation data and surface observational metadata, the National Meteorological Information Centre, CMA, for providing the standardized surface observational data, and the National Satellite Meteorological Centre, CMA, for providing the FY-4B CTT data.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
Altialtitude
APaverage precision
AUCarea under the curve
AWSautomatic weather station
CatBoostCategorical Boosting
CChumid subtropical Central China
CMAChina Meteorological Administration
CRcomposite reflectivity
CTTcloud-top temperature
DPTdew point temperature
FNfalse negative
FPfalse positive
FY-4BFengyun-4B
GBMGradient Boosting Machine
GBRTGradient Boosted Regression Trees
IMsemi-arid steppe of Inner Mongolia
LightGBMLight Gradient Boosting Machine
MDOSthe Meteorological Data Operation System
NCsemi-humid warm-temperate North China
NEC(semi-) humid cold-temperate Northeast China
NWCarid desert of Northwest China
PRPrecision-Recall
PRE_1hhourly precipitation
PRE_1m_Aveaverage minute-level precipitation in 1 h
PRE_1m_Maxmaximum minute-level precipitation in 1 h
PRE_1m_Minminimum minute-level precipitation in 1 h
PRE_1m_Stdstandard deviation of minute-level precipitation in 1 h
PRSatmospheric pressure
PRS_Change_3h3 h atmospheric pressure change
PRS_Change_24h24 h atmospheric pressure change
QCquality control
QTPQinghai-Tibetan Plateau
RHUrelative humidity
ROCreceiver operating characteristic
SChumid tropical South China
SHAPSHapley Additive exPlanations
TEMtemperature
TNtrue negative
TPtrue positive
WIN_D_Avg_10mi10 min average wind direction
WIN_D_INSTinstantaneous wind direction
WIN_D_INST_MaxDirection of maximum instantaneous wind speed in 1 h
WIN_S_Avg_10mi10 min average wind speed
WIN_S_INSTinstantaneous wind speed
WIN_S_INST_Maxmaximum instantaneous wind speed in 1 h
XGBoosteXtreme Gradient Boosting

References

  1. Eltahir, E.A.; Bras, R.L. Precipitation recycling. Rev. Geophys. 1996, 34, 367–378. [Google Scholar] [CrossRef]
  2. New, M.; Todd, M.; Hulme, M.; Jones, P. Precipitation measurements and trends in the twentieth century. Int. J. Climatol. 2001, 21, 1889–1922. [Google Scholar] [CrossRef]
  3. Trenberth, K.E. Changes in precipitation with climate change. Clim. Res. 2011, 47, 123–138. [Google Scholar] [CrossRef]
  4. Ramage, C.S. Forecasting in meteorology. Bull. Am. Meteorol. Soc. 1993, 74, 1863–1872. [Google Scholar] [CrossRef]
  5. Lien, G.Y.; Kalnay, E.; Miyoshi, T. Effective assimilation of global precipitation: Simulation experiments. Tellus A Dyn. Meteorol. Oceanogr. 2013, 65, 19915. [Google Scholar] [CrossRef]
  6. Wilson, P.S.; Toumi, R. A fundamental probability distribution for heavy rainfall. Geophys. Res. Lett. 2005, 32, L14812. [Google Scholar] [CrossRef]
  7. Tang, Y.; Gan, J.; Zhao, L.; Gao, K. On the climatology of persistent heavy rainfall events in China. Adv. Atmos. Sci. 2006, 23, 678–692. [Google Scholar] [CrossRef]
  8. Pierce, D.W.; Cayan, D.R.; Das, T.; Maurer, E.P.; Miller, N.L.; Bao, Y.; Kanamitsu, M.; Yoshimura, K.; Snyder, M.A.; Sloan, L.C.; et al. The key role of heavy precipitation events in climate model disagreements of future annual precipitation changes in California. J. Clim. 2013, 26, 5879–5896. [Google Scholar] [CrossRef]
  9. Zhang, Q.; Sun, P.; Singh, V.P.; Chen, X. Spatial-temporal precipitation changes (1956–2000) and their implications for agriculture in China. Glob. Planet. Change 2012, 82, 86–95. [Google Scholar] [CrossRef]
  10. Raymondi, R.R.; Cuhaciyan, J.E.; Glick, P.; Capalbo, S.M.; Houston, L.L.; Shafer, S.L.; Grah, O. Water resources: Implications of changes in temperature and precipitation. In Climate Change in the Northwest: Implications for Our Landscapes, Waters, and Communities; Island Press/Center for Resource Economics: Washington, DC, USA, 2013; pp. 41–66. [Google Scholar]
  11. Wei, S.; Pan, J.; Liu, X. Landscape Ecological Safety Assessment and Landscape Pattern Optimization in Arid Inland River Basin: Take Ganzhou District as an Example. Hum. Ecol. Risk Assess. 2020, 26, 782–806. [Google Scholar] [CrossRef]
  12. Zhu, Y.; Yang, S.; Zhang, Z.; Qiu, J. Quality Control Method for Land Surface Hourly Precipitation Data in China. J. Appl. Meteorol. Sci. 2024, 35, 680–691. [Google Scholar]
  13. Groisman, P.Y.; Legates, D.R. The accuracy of United States precipitation data. Bull. Am. Meteorol. Soc. 1994, 75, 215–228. [Google Scholar] [CrossRef]
  14. González-Rouco, J.F.; Jiménez, J.L.; Quesada, V.; Valero, F. Quality control and homogeneity of precipitation data in the southwest of Europe. J. Clim. 2001, 14, 964–978. [Google Scholar] [CrossRef]
  15. Yang, D.Q.; Kane, D.; Zhang, Z.P.; Legates, D.; Goodison, B. Bias corrections of long-term (1973–2004) daily precipitation data over the northern regions. Geophys. Res. Lett. 2005, 32, L19501. [Google Scholar] [CrossRef]
  16. Kondragunta, C.R.; Shrestha, K.P. Automated Real-Time Operational Rain Gauge Quality-Control Tools in NWS Hydrologic Operations. In Proceedings of the 20th Conference on Hydrology, American Meteorological Society, Boston, MA, USA, 28 January–2 February 2006. [Google Scholar]
  17. Kim, D.; Nelson, B.; Seo, D.J. Characteristics of reprocessed Hydrometeorological Automated Data System (HADS) hourly precipitation data. Weather Forecast. 2009, 24, 1287–1296. [Google Scholar] [CrossRef]
  18. Schneider, U.; Becker, A.; Finger, P.; Meyer-Christoffer, A.; Ziese, M.; Rudolf, B. GPCC’s new land surface precipitation climatology based on quality-controlled in situ data and its role in quantifying the global water cycle. Theor. Appl. Climatol. 2014, 115, 15–40. [Google Scholar] [CrossRef]
  19. Blenkinsop, S.; Lewis, E.; Chan, S.C.; Fowler, H.J. Quality control of an hourly rainfall dataset and climatology of extremes for the UK. Int. J. Climatol. 2017, 37, 722–740. [Google Scholar] [CrossRef] [PubMed]
  20. Ren, Z.; Zhang, Z.; Sun, C.; Liu, Y.; Li, J.; Ju, X.; Zhao, Y.; Li, Z.; Zhang, W.; Li, H.; et al. Development of three-step quality control system of real-time observation data from AWS in China. Meteorol. Mon. 2015, 41, 1268–1277. [Google Scholar]
  21. Habib, E.; Krajewski, W.F.; Kruger, A. Sampling errors of tipping-bucket rain gauge measurements. J. Hydrol. Eng. 2001, 6, 159–166. [Google Scholar] [CrossRef]
  22. Sieck, L.C.; Burges, S.J.; Steiner, M. Challenges in obtaining reliable measurements of point rainfall. Water Resour. Res. 2007, 43, W01420. [Google Scholar]
  23. Einfalt, T.; Michaelides, S. Quality control of precipitation data. In Precipitation: Advances in Measurement, Estimation and Prediction; Springer: Berlin/Heidelberg, Germany, 2008; pp. 101–126. [Google Scholar]
  24. Yeung, H.Y.; Man, C.; Chan, S.T.; Seed, A. Development of an operational rainfall data quality-control scheme based on radar-raingauge co-kriging analysis. Hydrol. Sci. J. 2014, 59, 1293–1307. [Google Scholar] [CrossRef]
  25. Lewis, E.; Pritchard, D.; Villalobos-Herrera, R.; Blenkinsop, S.; McClean, F.; Guerreiro, S.; Schneider, U.; Becker, A.; Finger, P.; Meyer-Christoffer, A.; et al. Quality control of a global hourly rainfall dataset. Environ. Model. Softw. 2021, 144, 105169. [Google Scholar] [CrossRef]
  26. Mourad, M.; Bertrand-Krajewski, J.L. A method for automatic validation of long time series of data in urban hydrology. Water Sci. Technol. 2002, 45, 263–270. [Google Scholar] [CrossRef] [PubMed]
  27. Zhong, L.; Zhang, Z.; Chen, L.; Yang, J.; Zou, F. Application of the Doppler weather radar in real-time quality control of hourly gauge precipitation in eastern China. Atmos. Res. 2016, 172, 109–118. [Google Scholar] [CrossRef]
  28. Ośródka, K.; Otop, I.; Szturc, J. Automatic quality control of telemetric rain gauge data providing quantitative quality information (Rain Gauge QC). Atmos. Meas. Tech. 2022, 15, 5581–5597. [Google Scholar] [CrossRef]
  29. Yan, Q.; Zhang, B.; Jiang, Y.; Liu, Y.; Yang, B.; Wang, H. Quality control of hourly rain gauge data based on radar and satellite multi-source data. J. Hydroinform. 2024, 26, 1042–1058. [Google Scholar] [CrossRef]
  30. Li, S.; Huang, X.; Du, B.; Wu, W.; Jiang, Y. Application of gauge-radar-satellite data in surface precipitation quality control. Meteorol. Atmos. Phys. 2024, 136, 33. [Google Scholar] [CrossRef]
  31. Sathya, R.; Abraham, A. Comparison of supervised and unsupervised learning algorithms for pattern classification. Int. J. Adv. Res. Artif. Intell. 2013, 2, 34–38. [Google Scholar] [CrossRef]
  32. Jordan, M.I.; Mitchell, T.M. Machine learning: Trends, perspectives, and prospects. Science 2015, 349, 255–260. [Google Scholar] [CrossRef]
  33. Zhang, S.; Li, X.; Zong, M.; Zhu, X.; Wang, R. Efficient kNN classification with different numbers of nearest neighbors. IEEE Trans. Neural Netw. Learn. Syst. 2017, 29, 1774–1785. [Google Scholar] [CrossRef]
  34. Gheibi, O.; Weyns, D.; Quin, F. Applying machine learning in self-adaptive systems: A systematic literature review. ACM Trans. Auton. Adapt. Syst. 2021, 15, 1–37. [Google Scholar] [CrossRef]
  35. Celik, B.; Vanschoren, J. Adaptation strategies for automated machine learning on evolving data. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 43, 3067–3078. [Google Scholar] [CrossRef] [PubMed]
  36. Martinaitis, S.M.; Cocks, S.B.; Qi, Y.; Kaney, B.T.; Zhang, J.; Howard, K. Understanding winter precipitation impacts on automated gauge observations within a real-time system. J. Hydrometeorol. 2015, 16, 2345–2363. [Google Scholar] [CrossRef]
  37. Qi, Y.; Martinaitis, S.; Zhang, J.; Cocks, S. A real-time automated quality control of hourly rain gauge data based on multiple sensors in MRMS system. J. Hydrometeorol. 2016, 17, 1675–1691. [Google Scholar] [CrossRef]
  38. Niu, G.; Yang, P.; Zheng, Y.; Cai, X.; Qin, H. Automatic quality control of crowdsourced rainfall data with multiple noises: A machine learning approach. Water Resour. Res. 2021, 57, e2020WR029121. [Google Scholar] [CrossRef]
  39. Cheng, V.; Wang, X.L.; Feng, Y. A quality control system for historical in situ precipitation data. Atmos. Ocean. 2024, 62, 271–287. [Google Scholar] [CrossRef]
  40. Sciuto, G.; Bonaccorso, B.; Cancelliere, A.; Rossi, G. Quality control of daily rainfall data with neural networks. J. Hydrol. 2009, 364, 13–22. [Google Scholar] [CrossRef]
  41. Zhao, Q.; Zhu, Y.; Wan, D.; Yu, Y.; Cheng, X. Research on the data-driven quality control method of hydrological time series data. Water 2018, 10, 1712. [Google Scholar] [CrossRef]
  42. Sha, Y.; Gagne, I.I.D.J.; West, G.; Stull, R. Deep-learning-based precipitation observation quality control. J. Atmos. Ocean. Technol. 2021, 38, 1075–1091. [Google Scholar] [CrossRef]
  43. Ośródka, K.; Szturc, J. Improvement in algorithms for quality control of weather radar data (RADVOL-QC system). Atmos. Meas. Tech. Discuss. 2021, 15, 261–277. [Google Scholar] [CrossRef]
  44. Song, Z.; Zhao, L.; Ye, Q.; Ren, Y.; Chen, R.; Chen, B. The Reconstruction of FY-4A and FY-4B Cloudless Top-of-Atmosphere Radiation and Full-Coverage Particulate Matter Products Reveals the Influence of Meteorological Factors in Pollution Events. Remote Sens. 2024, 16, 3363. [Google Scholar] [CrossRef]
  45. Lakshmanan, V.; Smith, T.; Hondl, K.; Stumpf, G.J.; Witt, A. A Real-Time, Three-Dimensional, Rapidly Updating, Heterogeneous Radar Merger Technique for Reflectivity, Velocity, and Derived Products. Weather Forecast. 2006, 21, 802–823. [Google Scholar] [CrossRef]
  46. Yang, J.; Zhang, Z.; Wei, C.; Lu, F.; Guo, Q. Introducing the new generation of Chinese geostationary weather satellites, Fengyun-4. Bull. Am. Meteorol. Soc. 2017, 98, 1637–1658. [Google Scholar] [CrossRef]
  47. Hodges, K.I.; Chappell, D.W.; Robinson, G.J.; Yang, G. An improved algorithm for generating global window brightness temperatures from multiple satellite infrared imagery. J. Atmos. Ocean. Technol. 2000, 17, 1296–1312. [Google Scholar] [CrossRef]
  48. Macomber, M.M. World Geodetic System 1984; Defense Mapping Agency: Washington, DC, USA, 1984. [Google Scholar]
  49. Overton, A.K. A Guide to the Siting, Exposure and Calibration of Automatic Weather Stations for Synoptic and Climatological Observations; WMO: Geneva, Switzerland, 2007. [Google Scholar]
  50. Vergara, V.M.; Abrol, A.; Calhoun, V.D. An average sliding window correlation method for dynamic functional connectivity. Hum. Brain Mapp. 2019, 40, 2089–2103. [Google Scholar] [CrossRef] [PubMed]
  51. De, S. The use of nearest neighbor methods. Tijdschr. Econ. Soc. Geogr. 1973, 64, 307–319. [Google Scholar]
  52. Chan, J.Y.; Leow, S.M.; Bea, K.T.; Cheng, W.K.; Phoong, S.W.; Hong, Z.W.; Chen, Y.L. Mitigating the multicollinearity problem and its machine learning approach: A review. Mathematics 2022, 10, 1283. [Google Scholar] [CrossRef]
  53. Chen, P.; Li, F.; Wu, C. Research on intrusion detection method based on Pearson correlation coefficient feature selection algorithm. J. Phys. Conf. Ser. 2021, 1757, 12054. [Google Scholar] [CrossRef]
  54. Natekin, A.; Knoll, A. Gradient boosting machines, a tutorial. Front. Neurorobot. 2013, 7, 21. [Google Scholar] [CrossRef]
  55. Ayyadevara, V.K. Gradient Boosting Machine. In Pro Machine Learning Algorithms: A Hands-on Approach to Implementing Algorithms in Python and R; Apress: Berkeley, CA, USA; pp. 117–134.
  56. Kavzoglu, T.; Teke, A. Advanced Hyperparameter Optimization for Improved Spatial Prediction of Shallow Landslides Using Extreme Gradient Boosting (XGBoost). Bull. Eng. Geol. Environ. 2022, 81, 201. [Google Scholar] [CrossRef]
  57. Kavzoglu, T.; Teke, A. Predictive Performances of Ensemble Machine Learning Algorithms in Landslide Susceptibility Mapping Using Random Forest, Extreme Gradient Boosting (XGBoost) and Natural Gradient Boosting (NGBoost). Arab. J. Sci. Eng. 2022, 47, 7367–7385. [Google Scholar] [CrossRef]
  58. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. Lightgbm: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. 2017, 30, 3149–3157. [Google Scholar]
  59. Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: Unbiased boosting with categorical features. Adv. Neural Inf. Process. Syst. 2018, 31, 6638–6648. [Google Scholar]
  60. Hancock, J.T.; Khoshgoftaar, T.M. CatBoost for Big Data: An Interdisciplinary Review. J. Big Data 2020, 7, 94. [Google Scholar] [CrossRef]
  61. Yang, F.; Wang, D.; Xu, F.; Huang, Z.; Tsui, K.L. Lifespan prediction of lithium-ion batteries based on various extracted features and gradient boosting regression tree model. J. Power Sources 2020, 476, 228654. [Google Scholar] [CrossRef]
  62. Lai, L.H.; Lin, Y.L.; Liu, Y.H.; Lai, J.P.; Yang, W.C.; Hou, H.P.; Pai, P.F. The use of machine learning models with Optuna in disease prediction. Electronics 2024, 13, 4775. [Google Scholar] [CrossRef]
  63. Imron, M.A.; Prasetyo, B. Improving algorithm accuracy k-nearest neighbor using z-score normalization and particle swarm optimization to predict customer churn. J. Soft Comput. Explor. 2020, 1, 56–62. [Google Scholar]
  64. Helmud, E.; Fitriyani, F.; Romadiana, P. Classification Comparison Performance of Supervised Machine Learning Random Forest and Decision Tree Algorithms Using Confusion Matrix. J. Sisfokom. 2024, 13, 92–97. [Google Scholar] [CrossRef]
  65. Sathyanarayanan, S.; Tantri, B.R. Confusion matrix-based performance evaluation metrics. Afr. J. Biomed. Res. 2024, 27, 4023–4031. [Google Scholar] [CrossRef]
  66. Nohara, Y.; Matsumoto, K.; Soejima, H.; Nakashima, N. Explanation of machine learning models using shapley additive explanation and application for real data in hospital. Comput. Methods Programs Biomed. 2022, 214, 106584. [Google Scholar] [CrossRef]
  67. Ekanayake, I.U.; Meddage, D.P.P.; Rathnayake, U. A novel approach to explain the black-box nature of machine learning in compressive strength predictions of concrete using Shapley additive explanations (SHAP). Case Stud. Constr. Mater. 2022, 16, e01059. [Google Scholar] [CrossRef]
  68. Ozenne, B.; Subtil, F.; Maucort-Boulch, D. The Precision–Recall Curve Overcame the Optimism of the Receiver Operating Characteristic Curve in Rare Diseases. J. Clin. Epidemiol. 2015, 68, 855–859. [Google Scholar] [CrossRef]
  69. Sui, Y.; Jiang, D.; Tian, Z. Latest update of the climatology and changes in the seasonal distribution of precipitation over China. Theor. Appl. Climatol. 2013, 113, 599–610. [Google Scholar] [CrossRef]
  70. Haghroosta, T.; Ismail, W.R. Typhoon activity and some important parameters in the South China Sea. Weather Clim. Extrem. 2017, 17, 29–35. [Google Scholar] [CrossRef]
  71. Wen, G.; Xiao, H.; Yang, H.; Bi, Y.; Xu, W. Characteristics of summer and winter precipitation over northern China. Atmos. Res. 2017, 197, 390–406. [Google Scholar] [CrossRef]
  72. Zhang, L.; Fraedrich, K.; Zhu, X.; Sielmann, F.; Zhi, X. Interannual variability of winter precipitation in Southeast China. Theor. Appl. Climatol. 2015, 119, 229–238. [Google Scholar] [CrossRef]
  73. Fan, J.; Wu, L.; Zhang, F.; Cai, H.; Ma, X.; Bai, H. Evaluation and development of empirical models for estimating daily and monthly mean daily diffuse horizontal solar radiation for different climatic regions of China. Renew. Sustain. Energy Rev. 2019, 105, 168–186. [Google Scholar] [CrossRef]
  74. Song, Y.; Achberger, C.; Linderholm, H.W. Rain-season trends in precipitation and their effect in different climate regions of China during 1961–2008. Environ. Res. Lett. 2011, 6, 34025. [Google Scholar] [CrossRef]
  75. Zhang, Q.; Lin, J.; Liu, W.; Han, L. Precipitation seesaw phenomenon and its formation mechanism in the eastern and western parts of Northwest China during the flood season. Sci. China Earth Sci. 2019, 62, 2083–2098. [Google Scholar] [CrossRef]
  76. Fan, L.; Lu, C.; Yang, B.; Chen, Z. Long-term trends of precipitation in the North China Plain. J. Geogr. Sci. 2012, 22, 989–1001. [Google Scholar] [CrossRef]
  77. Luo, Y.; Xia, R.; Chan, J.C.L. Characteristics, physical mechanisms, and prediction of pre-summer rainfall over South China: Research progress during 2008–2019. J. Meteorol. Soc. Jpn. Ser. II 2020, 98, 19–42. [Google Scholar] [CrossRef]
  78. Li, H.; Huang, Y.; Hu, S.; Wu, N.; Liu, X.; Xiao, H. Roles of terrain, surface roughness, and cold pool outflows in an extreme rainfall event over the coastal region of South China. J. Geophys. Res. Atmos. 2021, 126, e2021JD035556. [Google Scholar] [CrossRef]
Figure 1. Surface station density over the seven climatic regions of China.
Figure 1. Surface station density over the seven climatic regions of China.
Remotesensing 17 03976 g001
Figure 2. Workflow of the machine learning-based QC algorithm for heavy rainfall.
Figure 2. Workflow of the machine learning-based QC algorithm for heavy rainfall.
Remotesensing 17 03976 g002
Figure 3. Temporal matching of hourly precipitation data with remote sensing data through a sliding average temporal window method with a case from the 05:00–06:00 period.
Figure 3. Temporal matching of hourly precipitation data with remote sensing data through a sliding average temporal window method with a case from the 05:00–06:00 period.
Remotesensing 17 03976 g003
Figure 4. Absolute Pearson correlation matrix of 22 input features.
Figure 4. Absolute Pearson correlation matrix of 22 input features.
Remotesensing 17 03976 g004
Figure 5. Normalized feature importance values for the four models (XGBoost, LightGBM, CatBoost, GBRT) and their average across models.
Figure 5. Normalized feature importance values for the four models (XGBoost, LightGBM, CatBoost, GBRT) and their average across models.
Remotesensing 17 03976 g005
Figure 6. Normalized feature importance ranking of the (a) XGBoost, (b) LightGBM, (c) CatBoost and (d) GBRT models.
Figure 6. Normalized feature importance ranking of the (a) XGBoost, (b) LightGBM, (c) CatBoost and (d) GBRT models.
Remotesensing 17 03976 g006
Figure 7. (a) PR curves with APs and (b) ROC curves with AUCs of the four models.
Figure 7. (a) PR curves with APs and (b) ROC curves with AUCs of the four models.
Remotesensing 17 03976 g007
Figure 8. SHAP summary plot of the XGBoost model.
Figure 8. SHAP summary plot of the XGBoost model.
Remotesensing 17 03976 g008
Figure 9. CR SHAP dependence on (a) CTT, (b) PRE_1m_Max, (c) PRE_1m_Min, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Figure 9. CR SHAP dependence on (a) CTT, (b) PRE_1m_Max, (c) PRE_1m_Min, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Remotesensing 17 03976 g009
Figure 10. CTT SHAP dependence on (a) CR, (b) PRE_1m_Max, (c) PRE_1m_Min, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Figure 10. CTT SHAP dependence on (a) CR, (b) PRE_1m_Max, (c) PRE_1m_Min, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Remotesensing 17 03976 g010
Figure 11. PRE_1m_Max SHAP dependence on (a) CR, (b) CTT, (c) PRE_1m_Min, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Figure 11. PRE_1m_Max SHAP dependence on (a) CR, (b) CTT, (c) PRE_1m_Min, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Remotesensing 17 03976 g011
Figure 12. PRE_1m_Min SHAP dependence on (a) CR, (b) CTT, (c) PRE_1m_Max, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Figure 12. PRE_1m_Min SHAP dependence on (a) CR, (b) CTT, (c) PRE_1m_Max, (d) PRE_1h, (e) WIN_D_Avg_10mi, (f) WIN_S_INST_Max, (g) TEM, and (h) PRS.
Remotesensing 17 03976 g012
Table 1. Input features before and after selection.
Table 1. Input features before and after selection.
Original FeaturesFeatures After Selection
MetaDataAlti, Station_Level, Measurement_MethodStation_Level, Measurement_Method
SurfacePRE_1h, TEM, DPT, PRS, PRS_Change_3h, PRS_Change_24h, RHU, WIN_S_INST, WIN_S_INST_Max, WIN_S_Avg_10mi, WIN_D_INST,
WIN_D_INST_Max, WIN_D_Avg_10mi
PRE_1h, TEM, PRS, PRS_Change_3h, RHU, WIN_S_INST_Max, WIN_S_Avg_10mi,
WIN_D_INST_Max, WIN_D_Avg_10mi
Remote SensingCR, CTTCR, CTT
Minute precipitationPRE_1m_Ave, PRE_1m_Min, PRE_1m_Max, PRE_1m_StdPRE_1m_Min, PRE_1m_Max
Total22 features15 features
Table 2. Performance metrics of the four models with control experiment on the training set.
Table 2. Performance metrics of the four models with control experiment on the training set.
AccuracyPrecisionRecallF1-Score
MDOS
(control experiment)
0.9860.7090.6190.661
XGBoost0.9940.890.8340.861
LightGBM0.9940.8940.8280.860
CatBoost0.9920.8850.8040.843
GBRT0.9920.8810.8110.845
Table 3. Performance metrics of the four models with control experiment on the testing set.
Table 3. Performance metrics of the four models with control experiment on the testing set.
AccuracyPrecisionRecallF1-Score
MDOS
(control experiment)
0.9860.7340.6270.676
XGBoost0.9920.8440.7890.816
LightGBM0.9910.8450.780.811
CatBoost0.9910.8430.7530.796
GBRT0.9910.8490.7580.801
Table 4. Performance metrics of the four models with control experiment on the validation set.
Table 4. Performance metrics of the four models with control experiment on the validation set.
AccuracyPrecisionRecallF1-Score
XGBoost0.9930.8380.7270.779
LightGBM0.9930.8230.7270.772
CatBoost0.9920.8330.6870.753
GBRT0.9920.8240.7020.758
Table 5. Monthly performance metrics of the XGBoost-based QC algorithm in testing set.
Table 5. Monthly performance metrics of the XGBoost-based QC algorithm in testing set.
MonthAccuracyPrecisionRecallF1-ScoreSample Count
January0.9900.8450.9320.886103
February0.9920.8560.9300.891243
March0.9910.8660.9230.894336
April0.9930.8530.8320.8422541
May0.9930.8430.8290.8363236
June0.9960.8420.7720.8056396
July0.9970.8560.7630.8078594
August0.9970.8390.7690.8026871
September0.9940.8420.8250.8332604
October0.9920.8490.9240.885630
November0.9910.8590.9470.901227
December0.9900.8590.9320.894191
Table 6. Regional performance metrics of the XGBoost-based QC algorithm in testing set in different climatic regions.
Table 6. Regional performance metrics of the XGBoost-based QC algorithm in testing set in different climatic regions.
Climatic RegionAccuracyPrecisionRecallF1-ScoreSample Count
NWC0.9910.9450.9400.942235
IM0.9890.9550.9500.952179
QTP0.9850.9550.9700.96267
NEC0.9900.9310.9370.934798
NC0.9920.8410.8110.8264116
CC0.9930.8490.8070.82716,641
SC0.9920.8430.7370.7869936
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sun, H.; Zhou, Q.; Shi, L.; Li, C.; Qin, S.; Yao, D.; Xu, M.; Huang, Y.; Hu, Q.; Guan, Y. A Machine Learning-Based Quality Control Algorithm for Heavy Rainfall Using Multi-Source Data. Remote Sens. 2025, 17, 3976. https://doi.org/10.3390/rs17243976

AMA Style

Sun H, Zhou Q, Shi L, Li C, Qin S, Yao D, Xu M, Huang Y, Hu Q, Guan Y. A Machine Learning-Based Quality Control Algorithm for Heavy Rainfall Using Multi-Source Data. Remote Sensing. 2025; 17(24):3976. https://doi.org/10.3390/rs17243976

Chicago/Turabian Style

Sun, Hao, Qing Zhou, Lijuan Shi, Cuina Li, Shiguang Qin, Dan Yao, Mingyi Xu, Yang Huang, Qin Hu, and Yunong Guan. 2025. "A Machine Learning-Based Quality Control Algorithm for Heavy Rainfall Using Multi-Source Data" Remote Sensing 17, no. 24: 3976. https://doi.org/10.3390/rs17243976

APA Style

Sun, H., Zhou, Q., Shi, L., Li, C., Qin, S., Yao, D., Xu, M., Huang, Y., Hu, Q., & Guan, Y. (2025). A Machine Learning-Based Quality Control Algorithm for Heavy Rainfall Using Multi-Source Data. Remote Sensing, 17(24), 3976. https://doi.org/10.3390/rs17243976

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop