Two-step method for downscaling and quantifying uncertainty of surface air temperature based on bamlss
By using the BAMLSS two-step method to fit the mean and uncertainty of temperature stepwise within the framework of a Bayesian additive location-scale shape model, the problem of temperature downscaling accuracy and uncertainty in complex terrain regions is solved, and efficient and reliable high-resolution temperature field output is achieved.
Patent Information
- Application Number
- CN202611350072.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing near-surface temperature downscaling techniques suffer from insufficient accuracy in complex terrain regions, weak uncertainty quantification capabilities, and poor physical consistency. They struggle to balance high-resolution spatial downscaling effects with probabilistic uncertainty estimation, and also exhibit low computational efficiency and poor resolution adaptability.
A two-step near-surface temperature downscaling method based on BAMLSS is adopted. Through the Bayesian additive location-scale shape model framework, the mean temperature and uncertainty are fitted step by step. By combining spatial smoothing and topographic nonlinear terms, a high-resolution temperature field and uncertainty results are output.
It achieves high-precision temperature downscaling, provides reliable uncertainty estimation, improves computational efficiency and resolution adaptability, and meets the needs of refined meteorological applications.
Smart Images

Figure CN123176907A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of meteorological data downscaling and reanalysis technology, specifically to a two-step near-surface temperature downscaling and uncertainty quantification method based on BAMLSS. Background Technology
[0002] Near-surface air temperature (2 meters) is a core input element in intelligent grid forecasting, climate change assessment, agricultural production scheduling, atmospheric pollution transmission analysis, public health risk prevention and control, meteorological disaster loss assessment, and refined urban planning. As a key near-surface scalar meteorological variable, the spatiotemporal distribution of air temperature is jointly regulated by large-scale weather systems, boundary layer thermal structure, topographic elevation and slope, underlying surface type, local circulation, and human activities, exhibiting significant spatial non-uniformity and temporal evolution characteristics.
[0003] Atmospheric reanalysis data, through the fusion of multi-source historical observation data with numerical models and data assimilation systems, can provide a spatiotemporally continuous and physically consistent atmospheric state sequence, becoming an important data foundation for weather process diagnosis, climate pattern analysis, model performance evaluation, and operational applications across various industries. Compared to global reanalysis products, regional reanalysis products, despite having higher spatial resolution and denser local observation constraints, are limited by model dynamics frameworks, physical parameterization schemes, and computational resource costs. Their spatial resolution is typically on the order of several kilometers to tens of kilometers, far smaller than the scale of key near-surface temperature influencing factors. This makes it difficult to effectively characterize the heterogeneity of the underlying surface and the regulatory role of local atmospheric processes: it is difficult to capture local thermal differences caused by topographic undulations at the hundred-meter level, it is unable to distinguish temperature differentiation formed by different land use types, and it is even more difficult to reproduce the spatial changes in temperature driven by small-scale circulations such as valley winds and sea-land winds. As a result, near-surface temperature simulation results for complex terrain, urban agglomerations, and coastal areas still inevitably have significant systematic biases.
[0004] Taking a certain region as an example, the underlying surface conditions are extremely complex: the northwest is a mountainous and hilly area with significant elevation differences; the southeast is a vast plain; and the east borders the ocean. Throughout the region, mountains, plains, water bodies, and mega-city clusters are interspersed. This complex geographical environment results in a distinct seasonal variation in near-surface temperature: in winter, dominated by continental cold air masses, the spatial temperature gradient is mainly determined by latitude and topographic elevation; in summer, the large-scale circulation background weakens, while local thermal-driven valley winds, sea-land winds, and the urban heat island effect significantly strengthen, leading to a substantial increase in small-scale spatial variability of temperature. Therefore, relying solely on regional reanalysis data at the original resolution is insufficient to meet the current demands for refined near-surface temperature applications at the kilometer or even hundred-meter level. There is an urgent need to integrate high-density observations with multi-source underlying surface information to conduct high-precision temperature downscaling and bias correction.
[0005] Dynamic downscaling is one of the mainstream technical solutions for developing high-resolution global and regional climate simulation and meteorological reanalysis products, and it is also a classic way to improve the spatial resolution of meteorological elements in the industry.
[0006] The core logic of this method is dynamic nesting: using global climate model outputs or large-scale reanalysis data as initial fields and lateral boundary conditions, a higher spatial resolution regional climate model or mesoscale numerical forecasting model is nested and run within the target study area. Internally, the model numerically discretizes and solves the Navier-Stokes governing equations for atmospheric motion, coupling physical parameterization schemes such as radiative transfer, planetary boundary layer, land surface processes, cumulus convection, and cloud microphysics. This explicitly characterizes the forcing effects of complex topographic relief, land use heterogeneity, and differences in surface properties on local atmospheric dynamics and thermodynamic processes, downscaling large-scale meteorological information to a finer spatial grid, ultimately outputting high-resolution sequences of near-surface temperature, wind fields, and other meteorological elements. The core characteristic of this method is that it is constrained by atmospheric physical laws throughout the process, the simulation results have clear physical meaning and spatiotemporal consistency, and it can simultaneously output the results of coordinated changes in multiple meteorological elements.
[0007] The complete implementation process of dynamic scaling can be divided into four core stages, as follows: (1) Acquisition and preprocessing of large-scale driving fields This system collects large-scale three-dimensional meteorological field data from global climate models or global / regional reanalysis data, covering core variables such as geopotential height, temperature, wind field, humidity, and surface pressure. It performs standardized preprocessing on the driving data, completing data format and projection conversions to adapt to model input standards.
[0008] (2) Preparation of high-resolution underlying surface basic data Prepare a refined dataset of surface attributes for the study area as the lower boundary condition of the model: topographic data, underlying surface cover data, and other surface parameters (soil type, soil texture, vegetation cover, etc.).
[0009] (3) Configuration and debugging of physical parameterization scheme for the model Based on the climate characteristics, simulation objectives, and spatial resolution of the study area, a complete set of physical parameterization schemes was selected and configured. After the scheme was determined, parameter debugging was completed through multiple sets of sensitivity experiments to verify the simulation stability of the model in the study area.
[0010] (4) Numerical integration and post-processing output of results The simulation period, spatial resolution, and corresponding time integration step are set. Typically, a 1-4 week spin-up integration is initiated first to eliminate dynamic imbalance errors in the initial field. Once the model stabilizes, the formal simulation phase begins. The model performs continuous numerical integration calculations according to the time step. After completing the full-time simulation, the original model output results undergo quality control, target variable extraction, spatiotemporal cropping, and format conversion to ultimately obtain high-resolution gridded products of meteorological elements such as near-surface air temperature.
[0011] The existing solutions mentioned above have the following main drawbacks: (1) High consumption of computing resources and poor product generation timeliness: Power downscaling requires parallel solution of large-scale partial differential equations by high-performance computing clusters. The amount of computation increases exponentially with the expansion of the simulation area and the improvement of resolution. The product generation cycle is long and it is difficult to support near real-time business updates and customized downscaling requirements. The application scenarios are significantly constrained by computing power.
[0012] (2) The original output has inherent systematic bias: Due to the coupling effect of multiple factors such as physical parameterization approximation, input field error, terrain smoothing effect, and insufficient representativeness of land surface parameters, the near-surface temperature has a significant systematic cold and warm bias. The bias is particularly prominent in complex terrain areas. The original output accuracy is insufficient and additional bias correction is required before it can be put into business application.
[0013] (3) Limited resolution improvement and weak customization and adaptation capabilities: Due to the rigid constraints of computing power cost, the scaled resolution of large-area business is usually only 5 to 10 kilometers. When it is increased to the kilometer level and below, the computing cost increases exponentially. The output resolution needs to be set in advance. Adjustment requires reconfiguration of the mode and redoing of the whole process integration. It cannot flexibly adapt to ultra-fine application scenarios with arbitrary resolution.
[0014] (4) The uncertainty quantification of the whole link is difficult: the sources of dynamic downscaling error cover multiple dimensions such as input field, parameterization, mode structure, and numerical discretization. The error propagation and coupling mechanism is complex, making it difficult to achieve full-link grid point uncertainty quantification. Existing ensemble test methods have high computational costs and can only output the macroscopic uncertainty range, and cannot provide grid point reliable confidence intervals that match the actual error level.
[0015] Traditional statistical downscaling is the most widely used and lowest-cost technical approach in the field of spatial downscaling of meteorological elements. It is also a common implementation method in business and scientific research scenarios such as real-time grid product generation and climate impact assessment.
[0016] The core logic of this type of method is empirical statistical mapping. It does not require solving atmospheric motion control equations; instead, it achieves resolution improvement solely through statistical correlations between data. Based on historical observation data from the same period, it establishes a stable statistical relationship between coarse-resolution large-scale climate variables (forecast factors) and high-resolution local temperatures (forecast quantities), assuming consistency across the spatiotemporal dimensions. The trained statistical model is then applied to the global coarse-resolution forecast factor field to derive high-resolution gridded temperature products. Based on differences in modeling logic, this type of method mainly falls into two branches: one is spatial interpolation, which relies solely on the spatial autocorrelation of station observation data and achieves gridded derivation through spatial weighting; the other is regression downscaling, which introduces covariates such as altitude and land use, constructing regression functions to characterize the regulatory effect of these covariates on temperature, thus achieving resolution improvement.
[0017] The complete implementation process of traditional statistical downscaling can be divided into four core stages, as follows: (1) Collection and preprocessing of multi-source basic data Three types of core data were collected and standardized to provide basic input for subsequent modeling. Hourly or daily 2-meter temperature observation data from surface meteorological stations within the study area were collected. Quality control was performed according to meteorological industry standards, including extreme value testing, temporal consistency testing, and spatial consistency testing. Outliers were removed and used as true values for model fitting. Global or regional reanalysis data were collected to extract large-scale meteorological elements such as 2-meter temperature, geopotential height, and surface pressure. These were matched to the coordinates of all stations using bilinear interpolation, and the reanalysis element values corresponding to the station locations were extracted as meteorological forecasting factors. A high-resolution digital elevation model of the study area was prepared to derive and calculate topographic factors such as altitude, slope, aspect, and topographic relief. Simultaneously, surface parameters such as normalized vegetation index and land use cover type were acquired, and the projection and spatial resolution were unified as geographic forecasting factors.
[0018] (2) Forecasting factor extraction and screening The selection and optimization of modeling factors were completed based on the preprocessed data. First, Pearson correlation analysis was used to screen forecasting factors that were significantly correlated with near-surface air temperature and had clear physical meaning. Then, the variance inflation factor test was used to eliminate variables with severe multicollinearity. Finally, the core set of factors to be included in the model was determined to avoid model instability caused by factor redundancy.
[0019] (3) Statistical model construction and parameter calibration Based on the topographic complexity, station density, and downscaling objectives of the study area, a corresponding statistical model was selected, and the parameters were solved using station samples. For spatial interpolation models, the spatial distance or spatial variability function between stations was calculated, and the weighting coefficients or interpolation parameters were determined through optimal criteria to establish a spatial weighted mapping relationship. For regression models, station temperature was used as the dependent variable and the selected forecast factors were used as independent variables. The model parameters were solved using the least squares method, maximum likelihood method, or generalized cross-validation method to balance the fitting accuracy and the model's generalization ability.
[0020] (4) Global grid downscaling derivation The high-resolution forecast factor grid field covering the entire study area is input into the calibrated statistical model, and the high-resolution temperature grid field is calculated grid by grid. For spatial interpolation methods that rely solely on station observations, the temperature grid product is output as a continuous product covering the entire region by directly calculating the spatial weights of the station observations.
[0021] The existing solutions mentioned above have the following main drawbacks: (1) Downscaling accuracy is insufficient in complex terrain areas, making it difficult to characterize the nonlinear response relationship between temperature and topography: Traditional statistical downscaling is mostly based on linear assumptions or global smoothing constraints to construct mapping relationships. Methods such as multiple linear regression and geographically weighted regression assume that temperature and covariates such as altitude are linear or locally linearly related, which cannot capture the nonlinear variation characteristics of the vertical temperature lapse rate with altitude and slope aspect in complex terrain areas. Interpolation methods such as Kriging and thin disk splines are limited by spatial smoothing constraints and are prone to oversmoothing local topographic-driven temperature differences. In high-altitude mountainous areas and areas with drastic topographic relief, the deviation between downscaling results and actual observations increases significantly, making it difficult to accurately restore the small-scale spatial distribution characteristics of temperature, such as thermal differentiation of valleys and ridges and slope aspect radiative temperature differences.
[0022] (2) The ability to quantify uncertainty is incomplete, and only deterministic estimation results can be output: Traditional statistical downscaling is mostly based on the framework of frequency statistics, and the model output is the single-point optimal estimate, which cannot provide the probability distribution and confidence interval of temperature for each grid point; Although some statistical interpolation methods can output interpolation variance, they can only reflect the uncertainty brought about by the spatial sampling density of the station, and cannot cover multiple sources such as model structure error and covariate input error. It is difficult to output a reliable uncertainty estimate that matches the actual error level, and cannot support the refined business application and risk assessment scenarios that require confidence of the results.
[0023] In summary, existing near-surface temperature downscaling techniques still have the following technical shortcomings in practical applications: First, existing mainstream downscaling techniques all have inherent technical bottlenecks, making it difficult to balance accuracy, efficiency, and physical consistency. Dynamic downscaling relies on regional climate models to improve resolution, with a clear physical mechanism, but it is computationally expensive, has inherent uncertainties in parameterization schemes, and offers limited accuracy improvement in complex terrain areas. Traditional statistical downscaling methods are computationally efficient and easy to implement, but they lack the ability to fit the nonlinear relationship between temperature and underlying surface factors. Machine learning-based statistical downscaling methods have outstanding nonlinear fitting capabilities, but they generally suffer from weak interpretability and are prone to overfitting, making it difficult to guarantee the physical rationality of the results.
[0024] Secondly, traditional downscaling methods generally lack the ability to quantitatively model uncertainties. Existing technologies typically only output a single deterministic temperature result, failing to effectively characterize the error distribution characteristics across different regions, seasons, and weather backgrounds. Particularly in complex mountainous areas, urban-rural transition zones, and coastal regions, temperature simulation errors exhibit significant spatial heteroscedasticity. If only the conditional mean of temperature is downscaled without effectively modeling the conditional dispersion, the resulting deterministic results will be insufficient to support sophisticated applications that heavily rely on probabilistic information, such as climate risk assessment, agricultural disaster early warning, and atmospheric pollution probability forecasting.
[0025] Therefore, how to break through the accuracy bottleneck of existing downscaling methods, balance the high-resolution spatial downscaling effect with physical consistency, and simultaneously achieve probabilistic uncertainty estimation with spatial heteroscedasticity characteristics is a technical problem that urgently needs to be solved in the current refined meteorological services and related fields. Summary of the Invention
[0026] To address the technical problems of insufficient accuracy, weak uncertainty quantification capability, and poor physical consistency of existing downscaling methods in complex terrain areas, this invention provides a two-step near-surface temperature downscaling and uncertainty quantification method based on BAMLSS. By fusing multi-source underlying surface covariate information, it can achieve high-resolution spatial downscaling of temperature while outputting reliable uncertainty estimation results. It has the core advantages of high downscaling accuracy, strong uncertainty quantification capability, and good physical interpretability, and can provide high-quality data support for refined meteorological applications.
[0027] To achieve the above-mentioned objectives, the technical solution adopted by this invention is as follows: A two-step method for scaling and quantifying near-surface temperature downscales based on BAMLSS includes the following steps: Acquire low-resolution near-surface air temperature reanalysis data, hourly air temperature observation data from surface meteorological stations, and topographic data from digital elevation models for the target area; Quality control was performed on the station temperature observation data, preprocessing was performed on the reanalysis data, the reanalysis data was aligned with the time series of station temperature observation data, and the temperature values in the reanalysis data were interpolated to the station locations to construct the sample dataset and model covariates; Within the framework of the Bayesian additive location-scale shape model, a full-feature additive predictor is constructed based on the location parameters of air temperature using only the sample dataset. The main effects of the spatial distribution of air temperature are fitted by two-dimensional spatial smoothing and elevation smoothing terms, and the preliminary predicted values of the mean air temperature for each station are output. A fully parameter additive predictor for temperature is constructed using the preliminary forecast of the mean temperature as the core covariate, which simultaneously optimizes the location and scale parameters of temperature. The location parameter equation performs global scale calibration on the preliminary forecast of the mean temperature, and the scale parameter equation characterizes the spatial heterogeneity of the downscaling error dispersion and the nonlinear influence of topographic relief on the error dispersion. The corrected mean temperature and temperature condition standard deviation are output. The generalization ability of the model is evaluated by spatial hierarchical sliding cross-validation. The trained two-step model is then applied to covariates at high-resolution grid points to output the grid-level mean temperature and temperature conditional standard deviation. A high-resolution gridded corrected temperature mean field is generated as a deterministic reanalysis product, and a high-resolution gridded temperature conditional standard deviation field is generated as a probabilistic uncertainty product.
[0028] Furthermore, within the framework of the Bayesian additive position-scale shape model, constructing a full-feature additive predictor based on a sample dataset includes: By adopting the homoscedasticity assumption, the scaling parameter is set to a constant form containing only the intercept; A full-feature additive predictor is constructed by summing the global intercept term, the linear term, and the nonlinear smoothing term; The linear terms mentioned above include latitude and longitude linear terms, altitude linear terms, and reanalysis temperature linear terms; The nonlinear smoothing term includes a two-dimensional spatial smoothing term used to capture the large-scale spatial distribution trend and local spatial variation characteristics of air temperature, and an altitude-based one-dimensional smoothing term used to characterize the vertical decrease law of air temperature with altitude.
[0029] Furthermore, the full-feature additive predictor specifically comprises:
[0030] in, For linear predictors of position parameters, For the global intercept term of the position parameter, For the two-dimensional nonlinear smoothing term of the position parameters, The regression coefficients for the latitudinal linear term are... The regression coefficients for the longitude linear term are... The regression coefficient for the altitude linear term is . To further analyze the regression coefficients of the linear term of temperature, For the elevation one-dimensional smoothing term of the location parameter, Latitude Longitude For altitude, To further analyze the temperature, For linear predictors with scale parameters, The constant intercept is the scale parameter.
[0031] Furthermore, a fully parameter additive predictor for temperature, which simultaneously optimizes the location and scale parameters of temperature using the preliminary forecast of the mean temperature as the core covariate, includes: The mean correction coefficient is used to perform global-scale calibration on the preliminary forecast of the mean temperature, and a location parameter equation in the form of no intercept is constructed. A fully parameter additive predictor is constructed by summing the global intercept term, the linear term, and the nonlinear smoothing term. The linear terms mentioned above include the preliminary forecast term for the mean temperature, the latitude and longitude linear term, the altitude linear term, and the reanalysis temperature linear term; The nonlinear smoothing term includes a two-dimensional spatial smoothing term for characterizing the spatial heterogeneity of the downscaling error dispersion, and an elevation one-dimensional smoothing term for characterizing the nonlinear effect of terrain undulation on the error dispersion.
[0032] Furthermore, the fully parameter additive predictor specifically comprises:
[0033] in, For linear predictors of position parameters, This is the mean correction factor. This is a preliminary forecast of the average temperature. For linear predictors with scale parameters, For the global intercept term of the scale parameter, The regression coefficients are the initial linear terms of the mean. The regression coefficients for the latitudinal linear term are... The regression coefficients for the longitude linear term are... The regression coefficient for the altitude linear term is . To further analyze the regression coefficients of the linear term of temperature, For the scale parameter, a two-dimensional nonlinear smoothing term. The elevation is a one-dimensional smoothing term for the scale parameter.
[0034] Furthermore, the spatial hierarchical sliding cross-validation method is used to evaluate the model's generalization ability, including: The stations in the target area are divided into multi-fold spatial groups. The modeling process of the first step of the full feature additive predictor and the second step of the full parameter additive predictor is executed independently and repeatedly in each fold. There is no parameter transfer between each fold, which ensures that the test set of each fold is completely independent unobserved data. The test set prediction results of all folds are merged by site to obtain an outlier prediction dataset covering all sites. Based on the outlier prediction dataset, the deterministic accuracy verification index and the uncertainty verification index are calculated.
[0035] Furthermore, the covariates of the trained two-step model applied to high-resolution grid points include: Construct a high-resolution grid of the target area and extract the latitude and longitude coordinates and elevation of each grid point; The low-resolution reanalysis temperature field was spatially interpolated to match the high-resolution grid points, and a grid covariate dataset consistent with the station modeling dimension was constructed. The grid covariate dataset is sequentially input into the trained full-feature additive predictor and full-parameter additive predictor to obtain the corrected mean temperature and temperature condition standard deviation for each grid point.
[0036] Furthermore, quality control of station temperature observation data includes: performing extreme value range verification, removing missing values, and checking temporal consistency and spatial consistency.
[0037] Furthermore, preprocessing of the reanalysis data includes: map projection standardization, spatial interpolation of missing values, and outlier truncation.
[0038] Furthermore, the modeling covariates include station latitude and longitude coordinates, altitude, reanalysis temperature value, and at least one of the following: interaction term between altitude and reanalysis temperature, terrain slope, aspect, land use type, and vegetation index.
[0039] The present invention has the following beneficial effects: This invention employs a two-step decoupled Bayesian additive temperature downscaling modeling method, decoupling the fitting process of temperature location parameters and scale parameters. The first step uses the homoscedasticity assumption to complete the initial mean fitting and system bias correction. The second step completes the mean refinement and heteroscedasticity uncertainty modeling based on the initial prediction values, avoiding the problems of convergence difficulty and poor stability of single-step full-parameter models. Furthermore, it adopts a spatial-topographic joint BAMLSS location and scale parameter modeling method, using BAMLSS to construct additive predictors for temperature location parameters and scale parameters respectively, integrating two-dimensional spatial smoothing, altitude nonlinear smoothing, and background temperature factors. The location parameters are used to output high-precision temperature correction values, and the scale parameters are used to output spatially heterogeneous downscaling uncertainty. Next, a high-resolution gridded temperature downscaling correction method is adopted, applying the trained two-step BAMLSS model to the target high-resolution grid to generate a corrected high-resolution temperature field, realizing the downscaling transformation from coarse-resolution reanalysis / model background field to refined temperature products. Finally, a spatiotemporal heterogeneous temperature uncertainty quantification method is adopted, based on the conditional standard deviation of the scale parameter output, to obtain the temperature downscaling uncertainty for each grid point and each time interval. Its spatiotemporal distribution is highly consistent with the actual error characteristics, which can provide probabilistic data support for climate assessment and risk evaluation. Attached Figure Description
[0040] Figure 1 This is a schematic diagram of the two-step near-surface temperature downscaling and quantification uncertainty method based on BAMLSS of the present invention; Figure 2 This is a comparison diagram of the near-surface air temperature correction effect and high-resolution downscaling spatial distribution in this invention; Figure 3 This is a comparison chart of near-surface air temperature errors in typical months in this invention; Figure 4 This is a detailed comparison of the near-surface temperature drop scale in a typical mountainous region in this invention; Figure 5 This is a comparison chart of the scaling uncertainty and RMSE of near-surface air temperature in a typical month in this invention. Detailed Implementation
[0041] The specific embodiments of the present invention are described below to enable those skilled in the art to understand the present invention. However, it should be understood that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, various changes are obvious as long as they are within the spirit and scope of the present invention as defined and determined by the appended claims. All inventions utilizing the concept of the present invention are protected.
[0042] The technical problems to be solved by this invention specifically include the following four aspects: First, it addresses the core issue of insufficient downscaling accuracy in complex terrains and extreme scenarios. It resolves the limitations of traditional statistical downscaling, which is constrained by linear assumptions and global smoothing constraints, making it unable to characterize the nonlinear response relationship between temperature and factors such as altitude and aspect in complex terrain areas. This leads to significant downscaling biases in high-altitude undulating regions, weak fitting ability for the tail distribution of extreme temperature events, and low downscaling accuracy for extreme values. Simultaneously, it addresses the problem that dynamic downscaling is affected by physical parameterization approximations and terrain smoothing effects, resulting in inherent systematic biases in the output results, and the original output accuracy cannot directly meet the requirements of refined applications. Furthermore, it addresses the issue that spatial interpolation methods are prone to unreasonable spatial abrupt changes in sparsely populated areas, and insufficient physical continuity of the spatial distribution of temperature. The aim is to generate high-resolution near-surface temperature downscaling data with stable accuracy and strong physical consistency across the entire domain.
[0043] Secondly, it addresses the issues of insufficient quantification capability or reliability of downscaling results, as well as the limitation that deterministic outputs cannot support high-order probabilistic applications. It overcomes the limitations of traditional statistical downscaling, which is based on a frequency statistics framework, can only output single-point deterministic estimates, and cannot provide grid-by-grid temperature probability distributions and confidence intervals. It also tackles the challenge of dynamic downscaling, which involves multiple sources of error including input fields, parameterization, and model structure, resulting in complex error propagation and coupling mechanisms that make it difficult to output reliable grid-by-grid uncertainty estimates that match actual error levels. This improves downscaling accuracy while ensuring that the output results possess complete probabilistic statistical properties.
[0044] Third, it addresses the issues of low computational efficiency and poor resolution adaptability in downscaling. It resolves the problem that dynamic downscaling relies on high-performance computing clusters for large-scale numerical integration, resulting in high computational resource consumption, long product development cycles, and difficulty in supporting near-real-time refined reanalysis product updates and customized downscaling needs across multiple scenarios. Simultaneously, it addresses the issue that the spatial resolution of dynamic downscaling is rigidly constrained by computational power bottlenecks, requiring pre-setting of the output resolution and hindering flexible adaptation to customized outputs at arbitrary spatial resolutions.
[0045] Fourth, it addresses the issue of high overfitting risk in high-dimensional nonlinear models. It resolves the problem that conventional machine learning downscaling models, with their high parameter dimensionality and limited regularization constraints, are prone to overfitting and significantly reduced generalization ability in regions with low site density and insufficient sample size. This invention ensures that the downscaling model maintains stable generalization performance even under complex sample conditions, and the output results combine accuracy and reliability.
[0046] This invention addresses the shortcomings of low-resolution near-surface temperature reanalysis data, such as insufficient spatial granularity, difficulty in characterizing local temperature details in complex terrain areas, the limitations of traditional statistical downscaling methods which only output deterministic results and cannot quantify spatially heterogeneous uncertainties, and the poor convergence stability and low computational efficiency of full-parameter probabilistic models when simultaneously fitting the mean and variance. It provides a two-step decoupled Bayesian additive downscaling reanalysis method. This method uses the low-resolution temperature reanalysis field as the background field and ground station observed temperatures as the ground truth constraint. Within the framework of Bayesian Additive Models for Location, Scale and Shape (BAMLSS), it steps to fit the spatial distribution of the temperature mean and the heterogeneous discrete characteristics of the error. Combined with spatial smoothing and terrain nonlinear terms, it achieves refined downscaling, ultimately outputting a high-resolution near-surface temperature reanalysis field and point-by-point uncertainty quantification results.
[0047] The basic theoretical framework of BAMLSS is as follows: Assume that the near-surface observed temperature T follows a normal distribution. ,in This is a location parameter (average temperature). This is a scale parameter (standard deviation of temperature). The two distribution parameters are obtained through monotonic... The link function of the derivative is associated with the additive predictor:
[0048]
[0049] In the formula, These are additive predictors for location and scale parameters, respectively. They consist of a sum of linear and nonlinear smoothing terms and can flexibly characterize the linear and nonlinear relationships between variables.
[0050] The following is a description of the definitions of abbreviations and key terms used in this invention.
[0051] BAMLSS: Bayesian Additive Models for Location, Scale and Shape. This invention's core modeling framework is used to fit the location and scale parameters of air temperature in two steps, simultaneously achieving high-precision downscaling and uncertainty quantification.
[0052] CMA-RRA: China Meteorological Administration-Regional Re-Analysis dataset. The original background field after downscaling in this invention is used as a benchmark to verify the correction effect of this invention.
[0053] CMA-MESO: China Meteorological Administration Mesoscale Model. One of the alternative background field data sources for this invention.
[0054] WRF: Weather Research and Forecasting Model. This invention is one of the alternative background field data sources and belongs to a typical dynamic downscaling numerical model.
[0055] ERA5: The European Centre for Medium-Range Weather Forecasts (ECMWF) Reanalysis v5 dataset, the fifth generation of atmospheric reanalysis data. This invention is one of the alternative reanalysis background field data sources.
[0056] NCEP / NCAR: National Centers for Environmental Prediction / National Center for Atmospheric Research reanalysis dataset. One of the alternative reanalysis background field data sources for this invention.
[0057] DEM: Digital Elevation Model. This invention is used to extract topographic covariates such as altitude and slope to support topographically driven refined downscaling calculations of temperature.
[0058] Dynamic downscaling: This technique uses large-scale meteorological fields as initial and boundary conditions, nested with high-resolution numerical models to solve the atmospheric motion control equations, thereby improving resolution. As one of the existing mainstream technologies, this invention is used for comparison to highlight its advantages of computational efficiency and flexible customization.
[0059] Statistical downscaling: This technique establishes a statistical mapping relationship between large-scale forecast factors and local forecast quantities based on historical observations, achieving resolution improvement without needing to solve dynamic equations. As one of the existing mainstream technologies, this invention is used to highlight its advantages in nonlinear fitting and uncertainty quantification capabilities.
[0060] Two-step decoupled Bayesian additive downscaling: The core technology proposed in this invention solves the mean temperature fitting and heteroscedasticity uncertainty estimation step by step, and completes downscaling modeling in two steps within the BAMLSS framework, balancing accuracy and computational stability.
[0061] Spatial hierarchical sliding cross-validation: A model generalization evaluation method that uses multi-fold spatial grouping and iterative training and validation, where each fold's test set is independent. This invention is used to verify the spatial generalization ability of a model and optimize its hyperparameters.
[0062] The Navier-Stokes governing equations are a set of partial differential equations describing the laws governing fluid motion and are the core governing equations of numerical weather prediction models. This invention is the core solution object for dynamic downscaling models.
[0063] Location parameter: A parameter representing the location of the distribution center in a probability distribution. In this invention, it corresponds to the conditional mean of near-surface air temperature and is used to output deterministic downscaling correction results.
[0064] Scale parameter: A parameter in a probability distribution that characterizes the degree of dispersion of the distribution. In this invention, it corresponds to the conditional standard deviation of near-surface air temperature and is used to quantify the uncertainty of the downscaling results point by point.
[0065] Additive predictor: A prediction expression consisting of the sum of linear and nonlinear smoothing terms, linked to probability distribution parameters via a link function. This invention is used to construct prediction equations for location and scale parameters in a BAMLSS model.
[0066] Link function: A monotonically differentiable function that connects the probability distribution parameters to the additive predictor, realizing the mapping from constrained distribution parameters to unconstrained predictors. In this invention, it is used to convert the always positive scaling parameters into an unconstrained additive predictor, ensuring the stability of the model solution.
[0067] Systematic bias: A constant bias in the overall prediction results, consistently overestimating or underestimating them, caused by systematic errors in model structure, parameterization scheme, etc. It is one of the core correction targets for downscaling correction.
[0068] Variance inflation factor: A statistical indicator for diagnosing the degree of multicollinearity of independent variables in a regression model. This invention is used in the predictive factor screening stage to eliminate variables with severe multicollinearity, thus ensuring model stability.
[0069] like Figure 1 As shown, an embodiment of the present invention provides a two-step method for scaling and quantifying uncertainty of near-surface temperature drop based on BAMLSS, comprising the following steps S1 to S6: S1. Acquire low-resolution near-surface air temperature reanalysis data, hourly air temperature observation data from ground meteorological stations, and topographic data from digital elevation model for the target area; In an optional embodiment of the present invention, step S1 performs multi-source basic data acquisition: acquiring three types of basic data: ① low-resolution near-surface 2m temperature reanalysis data of the target area; ② hourly temperature observation data of ground meteorological stations in the target area; ③ digital elevation model terrain data covering the target area.
[0070] S2. Perform quality control on the station temperature observation data, preprocess the reanalysis data, align the reanalysis data with the time series of station temperature observation data as the reference, interpolate the temperature values in the reanalysis data to the station locations, and construct the sample dataset and model covariates. In an optional embodiment of the present invention, step S2 performs quality control on the station temperature observation data, including: performing extreme value range verification, missing value removal, temporal consistency verification, and spatial consistency verification. Step S2 performs preprocessing on the reanalysis data, including map projection standardization, spatial interpolation of missing values, and outlier truncation.
[0071] The modeling covariates constructed in step S2 include the station's latitude and longitude coordinates, altitude, reanalysis temperature value, and at least one of the following: the interaction term between altitude and reanalysis temperature, terrain slope, aspect, land use type, and vegetation index.
[0072] This embodiment first performs data quality control: extreme value range verification, missing value removal, and spatiotemporal consistency verification are performed on the station observation data to remove abnormal stations with consecutive missing values exceeding the threshold and unreasonable observation values. For the reanalysis data, map projection standardization, spatial interpolation of missing values, and outlier truncation are performed to ensure the spatial continuity and reasonableness of the reanalysis field. Extreme value range verification determines whether the observed value falls within a reasonable range based on the climatological limits or historical extreme value ranges of meteorological elements; for example, temperature cannot exceed a certain physical upper limit or fall below a certain physical lower limit, and precipitation cannot be negative, etc. Values exceeding the reasonable range are considered erroneous or outliers. Missing value removal identifies and deletes missing, underreported, or invalid codes in the observation records to prevent missing values from participating in subsequent calculations or interpolation and affecting the statistical results. Spatiotemporal consistency verification includes both temporal and spatial consistency: temporal consistency checks whether the changes in observation values of the same station over time are continuous, and whether there are abrupt changes or changes that do not conform to physical laws; spatial consistency compares the observation values of a station with the observation values of surrounding stations during the same period to identify outliers that significantly deviate from the distribution of surrounding stations. Abnormal stations and unreasonable observations with consecutive missing data exceeding a threshold are removed. When a station's consecutive missing data time exceeds a set threshold, or the overall data quality of the station is too poor, the entire station is removed. Individual unreasonable observations are deleted or marked to ensure the usability and representativeness of the station data. Map projection standardization in reanalysis data preprocessing unifies the reanalysis data to the same map projection, spatial resolution, and grid system, facilitating spatial matching, fusion, and comparison with station observations or other data. Spatial interpolation for missing values involves filling in locally missing or missing grid points in the reanalysis field using surrounding valid grid points, ensuring the spatial continuity and integrity of the reanalysis field. Outlier truncation truncates values in the reanalysis data that exceed physically reasonable or statistically abnormal ranges, limiting them to set upper and lower limits to prevent extreme outliers from interfering with subsequent analysis.
[0073] Then, spatiotemporal matching and sample construction were performed: Based on the time series of station observations, reanalysis data for corresponding time periods were aligned; bilinear spatial interpolation was used to match coarse-resolution reanalysis temperature grid points to all station locations, establishing a sample dataset with a one-to-one correspondence between "station coordinates, observed temperature, and reanalysis temperature-elevation". Time series alignment involved extracting grid data with the same timestamp (or nearest time) from the reanalysis data based on the station's time series observations, achieving a strict correspondence between observations and the reanalysis field in the time dimension. Bilinear spatial interpolation matching used the reanalysis values of four grid points surrounding the station and their distance weights to calculate the reanalysis estimate at the station location, thus matching the coarse-resolution grid data to the station coordinates. Sample dataset construction involved organizing the matched station coordinates, observed station temperature, interpolated reanalysis temperature, and elevation information into a sample dataset with a one-to-one correspondence, providing structured input for subsequent training.
[0074] Finally, covariate feature construction is performed: a core covariate set is constructed, which includes three basic factors: station latitude and longitude coordinates, altitude, and reanalysis temperature values; for complex terrain areas, interaction terms between altitude and reanalysis temperature, and terrain slope / aspect derived variables can be further constructed to form a multi-dimensional modeling covariate system.
[0075] S3. Based on the sample dataset, construct a full-feature additive predictor for the location parameters of air temperature only within the framework of the Bayesian additive location-scale shape model. Fit the main effects of the spatial distribution of air temperature through two-dimensional spatial smoothing term and altitude smoothing term, and output the preliminary predicted values of the mean air temperature of each station. In an optional embodiment of the present invention, step S3, constructing a full-feature additive predictor based on a sample dataset within the framework of a Bayesian additive position-scale shape model, includes: By adopting the homoscedasticity assumption, the scaling parameter is set to a constant form containing only the intercept; A full-feature additive predictor is constructed by summing the global intercept term, the linear term, and the nonlinear smoothing term; The linear terms mentioned above include latitude and longitude linear terms, altitude linear terms, and reanalysis temperature linear terms; The nonlinear smoothing term includes a two-dimensional spatial smoothing term used to capture the large-scale spatial distribution trend and local spatial variation characteristics of air temperature, and an altitude-based one-dimensional smoothing term used to characterize the vertical decrease law of air temperature with altitude.
[0076] This embodiment performs the first step of Bayesian additive modeling: preliminary downscaling fitting of the mean field. This step constructs a basic downscaling model within the BAMLSS framework, optimizing only the location parameters. This decouples the mean fitting from the scale parameter estimation, prioritizing efficient fitting of the main effects of the spatial distribution of temperature and the systematic bias of the reanalysis field, reducing model complexity and improving fitting stability and computational efficiency.
[0077] This step employs the homoscedasticity assumption, setting the scale parameter as a constant containing only the intercept, and constructing a full-feature additive predictor only for the location parameters. The model form is as follows:
[0078] in, For linear predictors of position parameters, For the global intercept term of the position parameter, The two-dimensional nonlinear smoothing term for the location parameters is used to capture the large-scale spatial distribution trend and local spatial variability of air temperature. The complexity and smoothness of the spatial fitting are controlled by the number of basis functions. Let be the basis function for the horizontal distribution of temperature. Here, j represents the weight coefficients corresponding to the basis functions, j represents the summation index of the basis functions, and k represents the total number of basis functions; The regression coefficients for the latitudinal linear term are... The regression coefficients for the longitude linear term are... The regression coefficient for the altitude linear term is . To further analyze the regression coefficients of the linear term of temperature, The elevation is a one-dimensional smoothing term for the location parameter, used to characterize the linear vertical decrease in temperature with altitude. Let be the basis function for the vertical distribution of temperature, and These are the weighting coefficients corresponding to the basis functions; Latitude Longitude For altitude, For reanalysis of air temperature, used to correct systematic biases in the reanalysis field; For linear predictors with scaling parameters, The constant intercept is the scale parameter.
[0079] This embodiment uses an additive model parameter estimation algorithm to solve for the linear coefficients and nonlinear smoothing function of the above model. The specific solution process is as follows: (1) Parameter initialization. For the model structure under the homoscedasticity assumption, initial values are assigned to the location parameter predictor and the scale parameter predictor respectively: the initial value of the global intercept term of the location parameter is set to the sample mean of the observed air temperature, and the initial values of the regression coefficients of each linear term, the basis function coefficients of the two-dimensional spatial smoothing function and the altitude smoothing function are all set to 0; the scale parameter contains only a constant intercept term, and its initial value is determined by the sample standard deviation of the observed air temperature through logarithmic transformation. The global constant form is maintained during the estimation process, corresponding to the homoscedasticity assumption.
[0080] (2) Working residual calculation. Based on the parameter values of the current iteration, calculate the predicted values of the location parameters and scale parameters for each sample, derive the first gradient of the negative log-likelihood function with respect to the location parameter predictor, and use it as the working residual of this iteration, which is used as the fitting target for each additive component.
[0081] (3) Component-level successive fitting and parameter update. According to the component composition of the location parameter predictor, each additive term is fitted and incrementally updated separately: For linear terms, including latitude and longitude linear terms, altitude linear terms, and reanalysis temperature linear terms, the working residuals are used as the response variable and the corresponding covariates are used as the input. The regression coefficient increment of this component is solved by least squares and then superimposed on the current coefficient according to the preset learning rate. For nonlinear smoothing terms, including two-dimensional spatial smoothing terms and elevation one-dimensional smoothing terms, the working residuals are used as response variables and the corresponding covariates are used as inputs. The increments of the basis function coefficients are solved by least squares with penalty constraints and then superimposed on the coefficients of the current smoothing function according to a preset learning rate. During the fitting process, the roughness of the smoothing function is constrained by the penalty term to balance the model fitting accuracy and spatial generalization ability.
[0082] (4) Iterative convergence judgment. After completing one round of updating all additive components, the negative log-likelihood function value of the model is recalculated; the iterative process of working residual calculation and component-level parameter update is repeated. When the difference between the negative log-likelihood functions of two consecutive iterations is less than the preset convergence threshold, or the preset maximum number of iterations is reached, the iteration is terminated.
[0083] Preliminary prediction results are output. After iterative convergence, the optimal regression coefficients of all linear terms of the location parameter predictor and the optimal basis function coefficients of the nonlinear smoothing function are obtained. These are substituted into the location parameter additive predictor to calculate the preliminary predicted values of the average temperature at each station, completing the first step of spatial downscaling and preliminary correction of system bias.
[0084] S4. Construct a full-parameter additive predictor that simultaneously optimizes the location and scale parameters of temperature using the preliminary forecast of the mean temperature as the core covariate; wherein the location parameter equation performs global scale calibration on the preliminary forecast of the mean temperature, and the scale parameter equation characterizes the spatial heterogeneity of the downscaling error dispersion and the nonlinear influence of topographic relief on the error dispersion, and outputs the corrected mean temperature and the temperature condition standard deviation. In an optional embodiment of the present invention, step S4, which uses the preliminary forecast of the mean temperature as the core covariate to construct a fully parameter additive predictor that simultaneously optimizes the location and scale parameters of the temperature, includes: The mean correction coefficient is used to perform global-scale calibration on the preliminary forecast of the mean temperature, and a location parameter equation in the form of no intercept is constructed. A fully parameter additive predictor is constructed by summing the global intercept term, the linear term, and the nonlinear smoothing term. The linear terms mentioned above include the preliminary forecast term for the average temperature, the latitude and longitude linear term, the altitude linear term, and the reanalysis temperature linear term; The nonlinear smoothing term includes a two-dimensional spatial smoothing term for characterizing the spatial heterogeneity of the downscaling error dispersion, and an elevation one-dimensional smoothing term for characterizing the nonlinear effect of terrain undulation on the error dispersion.
[0085] This embodiment performs the second step of Bayesian additive modeling: mean refinement and heterogeneous uncertainty quantification. This step uses the preliminary mean prediction value output from the first step as the core input to construct a fully parameterized BAMLSS model that simultaneously optimizes both location and scale parameters. On one hand, it performs global scale refinement on the preliminary downscaling results; on the other hand, it characterizes the spatial heterogeneity of error dispersion, achieving point-by-point uncertainty quantification.
[0086] This embodiment uses the first step's mean prediction value. Construct a fully parameterized additive predictor with the core covariates as follows:
[0087] in, For linear predictors of position parameters, The mean correction coefficient is used to perform global scale calibration on the initial downscaling results from the first step, eliminating systematic scaling bias and further improving the mean fitting accuracy. The mean correction coefficient is determined by using the initial predicted temperature mean output from the first step during the solution process of the full-parameter Bayesian additive location-scale model in the second step. The model uses a component-level boosting algorithm with the negative log-likelihood function of a normal distribution as the optimization objective. In each iteration, the coefficient increment of the linear term is solved based on the gradient of the negative log-likelihood function with respect to the position parameter, and the coefficient values are updated according to the preset learning rate. Finally, the optimal mean correction coefficient is obtained through iterative convergence. This is a preliminary forecast of the average temperature. For linear predictors with scaling parameters, For the global intercept term of the scale parameter, The regression coefficients are the initial linear terms of the mean. The regression coefficients for the latitudinal linear term are... The regression coefficients for the longitude linear term are... The regression coefficient for the altitude linear term is . To further analyze the regression coefficients of the linear term of temperature, The two-dimensional nonlinear smoothing term, representing the scaling parameter, is used to characterize the spatial heterogeneity of the downscaling error dispersion, reflecting the differences in error dispersion across different geographical locations. The complexity and smoothness of the spatial fitting are controlled by the number of basis functions. Let be the basis function for the horizontal distribution of error dispersion. Here, j represents the weight coefficients corresponding to the basis functions, j represents the summation index of the basis functions, and k represents the total number of basis functions; The elevation is a one-dimensional smoothing term for the scale parameter, used to characterize the nonlinear effect of terrain undulation on error dispersion. This embodiment incorporates the first-step mean prediction value into the scale parameter equation. It captures the correlation between error magnitude and temperature itself, and achieves accurate fitting of heteroscedasticity.
[0088] After solving the above full-parameter model, two core downscaling results are obtained: 1. Corrected average temperature As a result of deterministic downscaling reanalysis, it has higher accuracy than the first step prediction; 2. Standard deviation of temperature conditions As a quantitative indicator of the uncertainty of point-by-point downscaling, it reflects the degree of error dispersion of the downscaling result at that location, and its value is always positive and has spatial heterogeneity.
[0089] This embodiment separates the mean main effect fitting from the heteroscedasticity uncertainty estimation through a two-step decoupled modeling architecture, thereby reducing the model complexity step by step. This solves the technical problems of difficult convergence and poor fitting stability in single-step full-parameter models, while ensuring the spatial heterogeneity and reliability of uncertainty estimation.
[0090] S5. The spatial hierarchical sliding cross-validation method is used to evaluate the generalization ability of the model, and the trained two-step model is applied to the covariates of high-resolution grid points to output the grid-level mean temperature and temperature condition standard deviation. In an optional embodiment of the present invention, step S5, which uses a spatially hierarchical sliding cross-validation method to evaluate the generalization ability of the model, includes: The stations in the target area are divided into multi-fold spatial groups. The modeling process of the first step of the full feature additive predictor and the second step of the full parameter additive predictor is executed independently and repeatedly in each fold. There is no parameter transfer between each fold, which ensures that the test set of each fold is completely independent unobserved data. The test set prediction results of all folds are merged by site to obtain an outlier prediction dataset covering all sites. Based on the outlier prediction dataset, the deterministic accuracy verification index and the uncertainty verification index are calculated.
[0091] This embodiment performs spatially hierarchical sliding cross-validation and model generalization verification. This step completes the generalization evaluation and hyperparameter optimization for full site coverage through multi-fold loops. The specific process is as follows: Folded loop execution: Traverse all outer groupings (default 5 folds), and independently repeat steps S3 to S4 for each fold. Complete the entire process of modeling and prediction based on the corresponding training, validation, and test sets. There is no parameter passing between folds, ensuring that the test set for each fold is completely independent unobserved data.
[0092] Results merging: The test set prediction results of all folds are merged by site to obtain an outlier prediction dataset covering all sites, which truly reflects the model's spatial generalization ability at unobserved sites.
[0093] Deterministic accuracy verification: Three core verification metrics are calculated based on the merged test set results: Average deviation: reflects the direction and magnitude of systematic deviation; Mean absolute error: reflects the average error level; Root mean square error: reflects the overall dispersion of the error.
[0094] Simultaneously, the consistency between the error magnitude and the standard deviation is analyzed to evaluate the effectiveness of heteroscedasticity modeling.
[0095] In an optional embodiment of the present invention, step S5, applying the trained two-step model to the covariates of the high-resolution grid, includes: Construct a high-resolution grid of the target area and extract the latitude and longitude coordinates and elevation of each grid point; The low-resolution reanalysis temperature field was spatially interpolated to match the high-resolution grid points, and a grid covariate dataset consistent with the station modeling dimension was constructed. The grid covariate dataset is sequentially input into the trained full-feature additive predictor and full-parameter additive predictor to obtain the corrected mean temperature and temperature condition standard deviation for each grid point.
[0096] This embodiment performs high-resolution grid downscaling extrapolation. This step generalizes the two-step Bayesian additive model obtained from site training to the target high-resolution grid, achieving downscaling transformation from site-level parameters to a continuous grid field. The specific process is as follows: 1. High-resolution grid covariate preparation: Construct a high-resolution grid for the target region and extract the latitude and longitude coordinates and elevation of each grid point; match the low-resolution reanalysis temperature field to the high-resolution grid points through spatial interpolation to construct a grid covariate dataset that is completely consistent with the station modeling dimensions.
[0097] 2. Two-step model grid-by-grid extrapolation: The trained two-step Bayesian additive model is applied sequentially to the covariates of each grid point: Step 1: Input gridded covariates into the preliminary mean model to obtain preliminary downscaling results of gridded temperature mean; Step 2: Substitute the preliminary downscaling results into the full-parameter model to obtain the mean temperature and conditional standard deviation after grid-level correction.
[0098] 3. Spatial consistency guarantee: By leveraging the continuous generalization ability of the two-dimensional spatial smoothing term and the elevation smoothing term in the model, the spatial continuity of the temperature field and the uncertainty field after downscaling is guaranteed. At the same time, the local temperature differences caused by topographic relief are accurately characterized, realizing the fine downscaling from low-resolution reanalysis data to high-resolution temperature field.
[0099] S6. Generate a high-resolution gridded corrected temperature mean field as a deterministic reanalysis product, and generate a high-resolution gridded temperature condition standard deviation field as a probabilistic uncertainty product.
[0100] In an optional embodiment of the invention, step S6 performs downscaling reanalysis product generation.
[0101] This step outputs a standardized downscaling reanalysis product and completes a quantitative evaluation of the method's effectiveness, specifically including: 1. Deterministic Reanalysis Product: Outputs a high-resolution gridded corrected mean temperature field. As a deterministic reanalysis product, it has richer terrain details and higher accuracy compared to the original low-resolution reanalysis data.
[0102] 2. Probabilistic Uncertainty Products: Outputs a high-resolution gridded standard deviation field of temperature conditions as a probabilistic reanalysis product, reflecting the downscaling uncertainty level at each grid point, and providing probabilistic data support for climate analysis, risk assessment and other scenarios.
[0103] To verify the effectiveness of this invention in downscaling and bias correction of near-surface air temperature reanalysis data, this embodiment uses CMA-RRA 3km resolution near-surface air temperature reanalysis data as the background field and compares the original reanalysis results with the BAMLSS downscaling correction results obtained by the method of this invention. The evaluation includes deterministic correction accuracy, high-resolution downscaling performance, spatial generalization ability, and uncertainty quantification capability. Specifically, deterministic correction accuracy is evaluated using mean bias, mean absolute error (MAE), and root mean square error (RMSE); uncertainty quantification capability is evaluated by comparing the consistency between the conditional standard deviation (spread) output by the model and the actual RMSE of the test samples.
[0104] First, to verify the overall correction capability of this invention for near-surface air temperature, this embodiment compares the overall error level and spatial distribution characteristics of different methods based on a spatially independent set of test stations. The results are as follows: Figure 2 As shown. By Figure 2 It is evident that the original CMA-RRA reanalysis data showed generally high errors at the test sites, with significantly greater errors in the northern high-altitude mountainous areas and terrain transition zones compared to the southern plains. After correction using the method of this invention, the temperature errors at all sites were significantly reduced, resulting in a more uniform spatial distribution of errors and the absence of any abnormal clustering of local errors. In terms of quantitative results, the original CMA-RRA had a mean absolute error (MAE) of 1.53℃ and a root mean square error (RMSE) of 1.85℃. The method of this invention reduced the MAE to 0.58℃ (a relative reduction of 62.1%) and the RMSE to 0.84℃ (a relative reduction of 54.6%). These results demonstrate that the two-step Bayesian additive modeling of this invention can effectively reduce the systematic bias and random errors in reanalysis data, achieving a significant improvement in accuracy at independent test sites and exhibiting good spatial generalization ability.
[0105] To further verify the stability of the correction for the diurnal temperature variation process of this invention, this embodiment compares the diurnal variation law of hourly errors of different methods, and the results are as follows: Figure 3 As shown. By Figure 3 It is evident that the original CMA-RRA reanalysis data exhibits a significant systematic bias in diurnal variation: a positive bias is observed from night to early morning, turning into a significant negative bias around noon, with the peak bias exceeding 1.0℃. This reflects an inherent systematic bias in the reanalysis data's simulation of the diurnal temperature cycle. The method of this invention, through a two-step framework of initial mean fitting and scale refinement, effectively corrects this diurnal variation bias. The corrected bias remains stably around 0℃ throughout the day, essentially eliminating the systematic bias. Furthermore, the MAE and RMSE of the method of this invention are significantly lower than those of the original reanalysis data at all times of the day, with a particularly outstanding correction effect during the peak error period at noon. This demonstrates that the invention possesses stable correction performance under different circulation and thermodynamic conditions, such as nighttime radiative cooling and daytime thermal warming.
[0106] Secondly, to verify the high-resolution downscaling capability and adaptability to complex terrain of this invention, this embodiment spatially compares the original 3km resolution CMA-RRA reanalysis field with the 1km and 100m resolution downscaled temperature fields output by this invention, and selects a typical mountainous area in the north for magnified display. The results are as follows: Figure 4 As shown. By Figure 4As can be seen, the original 3km CMA-RRA temperature field has a high degree of spatial smoothness, making it difficult to depict the local temperature differences caused by small-scale topography. The temperature transition between the mountain edge and the valley area is blurred, and the local topographic features are severely lost. The 1km downscaling result output by this invention can present richer spatial textures, and the modulating effect of topography on temperature begins to appear. After further improving to 100m resolution, the temperature field can clearly reflect the temperature differences in valleys and ridges, which is highly consistent with the regional altitude distribution and accurately reproduces the details of the spatial distribution of temperature under complex topography.
[0107] from Figure 4 As can be seen more clearly, as the resolution gradually increases from 3km to 100m, the downscaled temperature field maintains good spatial continuity without significant noise or grid jumps. Simultaneously, the details of temperature variations caused by local topography gradually become richer, and the temperature gradients between mountains and valleys become clearer and more natural. This effect is attributed to the combined design of a two-dimensional spatial smoothing term and an altitude nonlinear smoothing term in this invention: the two-dimensional spatial smoothing term ensures the spatial continuity of the large-scale temperature field, while the altitude nonlinear smoothing term uses high-resolution DEM data to characterize the local temperature differences caused by topographic undulations. The combination of these two terms achieves a downscaling effect of "spatial continuity + rich detail," solving the problem of traditional downscaling methods struggling to balance resolution improvement and spatial continuity.
[0108] In addition to deterministic correction results, this invention can also output point-by-point temperature downscaling uncertainty. To verify whether the uncertainty output by the heteroscedastic scaling parameter model has practical physical meaning, this embodiment compares the conditional standard deviation (spread) output by the BAMLSS model with the actual RMSE of the test sample hourly, as shown in Figure 5. As can be seen from Figure 5, the spread output by the model and the actual RMSE have a high degree of consistency in diurnal variation trends: both maintain a high level from night to early morning, and drop to their lowest level around noon, synchronously reflecting the increase and decrease of error levels at different times; overall, the spread value is close to the magnitude of the actual RMSE, and the phase of change is perfectly matched. Combining spatial distribution characteristics, the high uncertainty value area output by this invention mainly corresponds to the northern high-altitude mountainous area and terrain transition zone, which is consistent with the spatial distribution characteristics of the actual error. The above results show that the heteroscedastic scaling parameter model of the present invention can accurately capture the spatiotemporal variation of temperature error. The output uncertainty is not a statistical quantity without physical meaning, but can truly reflect the risk differences of downscaling error in different geographical environments and at different times. It can provide quantitative probabilistic information support for applications such as climate assessment and disaster risk assessment.
[0109] In summary, this embodiment demonstrates that the present invention can effectively reduce the systematic error of near-surface temperature reanalysis in complex terrain areas, significantly improving the deterministic accuracy of temperature estimation. Simultaneously, it enables refined downscaling from the kilometer to the hundred-meter scale, accurately characterizing the spatial details of terrain-driven local temperature. Furthermore, the uncertainty output based on the heteroscedastic scaling parameter model exhibits good spatiotemporal consistency with the actual error, possessing reliable probabilistic quantification capabilities. Therefore, the present invention not only outputs high-resolution, refined temperature reanalysis products but also provides grid-by-grid, time-by-time uncertainty information, providing high-quality data support for fields such as refined meteorological services, climate resource assessment, and ecological environment simulation.
[0110] This invention is not limited to the embodiments described above. Without departing from the core principles of this invention, those skilled in the art can make substitutions or extensions regarding data sources, spatial resolution, covariate settings, training and verification methods, and output product formats. All of the above alternatives can be used to achieve downscaling, bias correction, and uncertainty quantification of near-surface air temperature reanalysis data, and should be considered equivalent or modified solutions within the scope of protection of this invention.
[0111] First, the source of the reanalysis background field data can be replaced. Besides CMA-RRA, reanalysis data such as ERA5 and NCEP / NCAR can also be used, as well as WRF model output, CMA-MESO model output, or other gridded meteorological products that can provide near-surface air temperature. As long as the data product can provide background air temperature information for the target area, it can be used as the background field input for this invention.
[0112] Second, the target resolution can be replaced. In the embodiment, 100m and 1km are used as the target downscaling resolution, but the present invention can also be set to 500m, 2km, 3km, 5km or other spatial resolutions according to business application requirements. Changing the target resolution does not affect the basic technical route of the present invention to achieve downscaling and bias correction through two-step Bayesian additive modeling.
[0113] Third, the sources of the ground observation data can be replaced or expanded. In addition to automatic weather stations, national reference weather stations, national basic weather stations, regional automatic weather stations, temperature gradient weather stations, mobile weather stations, satellite remote sensing inversion of surface temperature products, urban heat island monitoring stations, or other data sources that can provide near-surface temperature observation information can also be used. Different observation data can be used individually or integrated after quality control.
[0114] Fourth, the spatial covariates can be replaced or expanded. In addition to longitude, latitude, and altitude, slope, aspect, topographic relief, topographic shading, distance from the sea, land use type, vegetation index, surface albedo, urban building density, elevation zone, boundary layer height, relative humidity, surface radiation flux, weather patterns, circulation patterns, or other physical background variables that can characterize the spatial variation of local temperature can also be added.
[0115] Fifth, the spatial matching and interpolation methods can be replaced. Further analysis of the matching from the background field to the station or target grid point can employ bilinear interpolation, nearest neighbor interpolation, inverse distance weighted interpolation, kriging interpolation, spline interpolation, conservative interpolation, terrain-corrected interpolation, optimal interpolation, or other spatial interpolation methods.
[0116] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0117] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0118] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0119] Specific embodiments have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this invention. Therefore, the content of this specification should not be construed as a limitation of this invention.
[0120] Those skilled in the art will recognize that the embodiments described herein are intended to help the reader understand the principles of the invention, and should be understood that the scope of protection of the invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific modifications and combinations based on the technical teachings disclosed in this invention without departing from the spirit of the invention, and these modifications and combinations are still within the scope of protection of this invention.
Claims
1. A two-step near-surface temperature drop scaling and quantification uncertainty method based on BAMLSS, characterized in that, Includes the following steps: Acquire low-resolution near-surface air temperature reanalysis data, hourly air temperature observation data from surface meteorological stations, and topographic data from digital elevation models for the target area; Quality control was performed on the station temperature observation data, preprocessing was performed on the reanalysis data, the reanalysis data was aligned with the time series of station temperature observation data, and the temperature values in the reanalysis data were interpolated to the station locations to construct the sample dataset and model covariates; Within the framework of the Bayesian additive location-scale shape model, a full-feature additive predictor is constructed based on the location parameters of air temperature using only the sample dataset. The main effects of the spatial distribution of air temperature are fitted by two-dimensional spatial smoothing and elevation smoothing terms, and the preliminary predicted values of the mean air temperature for each station are output. A fully parameter additive predictor for temperature is constructed using the preliminary forecast of the mean temperature as the core covariate, which simultaneously optimizes the location and scale parameters of temperature. The location parameter equation performs global scale calibration on the preliminary forecast of the mean temperature, and the scale parameter equation characterizes the spatial heterogeneity of the downscaling error dispersion and the nonlinear influence of topographic relief on the error dispersion. The corrected mean temperature and temperature condition standard deviation are output. The generalization ability of the model is evaluated by spatial hierarchical sliding cross-validation. The trained two-step model is then applied to covariates at high-resolution grid points to output the grid-level mean temperature and temperature conditional standard deviation. A high-resolution gridded corrected temperature mean field is generated as a deterministic reanalysis product, and a high-resolution gridded temperature conditional standard deviation field is generated as a probabilistic uncertainty product.
2. The two-step near-surface temperature drop scaling and quantification uncertainty method based on BAMLSS according to claim 1, characterized in that, Within the framework of the Bayesian additive position-scale-shape model, constructing a full-feature additive predictor based on a sample dataset includes: By adopting the homoscedasticity assumption, the scaling parameter is set to a constant form containing only the intercept; A full-feature additive predictor is constructed by summing the global intercept term, the linear term, and the nonlinear smoothing term; The linear terms mentioned above include latitude and longitude linear terms, altitude linear terms, and reanalysis temperature linear terms; The nonlinear smoothing term includes a two-dimensional spatial smoothing term used to capture the large-scale spatial distribution trend and local spatial variation characteristics of air temperature, and an altitude-based one-dimensional smoothing term used to characterize the vertical decrease law of air temperature with altitude.
3. The two-step near-surface temperature drop scaling and quantification uncertainty method based on BAMLSS according to claim 1 or 2, characterized in that, The full-feature additive predictor is specifically: in, For linear predictors of position parameters, For the global intercept term of the position parameter, For the two-dimensional nonlinear smoothing term of the position parameters, The regression coefficients for the latitudinal linear term are... The regression coefficients for the longitude linear term are... The regression coefficient for the altitude linear term is . To further analyze the regression coefficients of the linear term of temperature, For the elevation one-dimensional smoothing term of the location parameter, Latitude Longitude For altitude, To further analyze the temperature, For linear predictors with scale parameters, The constant intercept is the scale parameter.
4. The two-step near-surface temperature drop scaling and uncertainty quantification method based on BAMLSS according to claim 1, characterized in that, A fully parameter additive predictor for temperature, using the preliminary forecast of the mean temperature as the core covariate and simultaneously optimizing the location and scale parameters of temperature, includes: The mean correction coefficient is used to perform global-scale calibration on the preliminary forecast of the mean temperature, and a location parameter equation without intercept is constructed. A fully parameter additive predictor is constructed by summing the global intercept term, the linear term, and the nonlinear smoothing term. The linear terms mentioned above include the preliminary forecast term for the average temperature, the latitude and longitude linear term, the altitude linear term, and the reanalysis temperature linear term; The nonlinear smoothing term includes a two-dimensional spatial smoothing term for characterizing the spatial heterogeneity of the downscaling error dispersion, and an elevation one-dimensional smoothing term for characterizing the nonlinear effect of terrain undulation on the error dispersion.
5. The two-step near-surface temperature drop scaling and quantification uncertainty method based on BAMLSS according to claim 1 or 4, characterized in that, The fully parameter additive predictor is specifically: in, For linear predictors of position parameters, This is the mean correction factor. This is a preliminary forecast of the average temperature. For linear predictors with scale parameters, For the global intercept term of the scale parameter, The regression coefficients are the initial linear terms of the mean. The regression coefficients for the latitudinal linear term are... The regression coefficients for the longitude linear term are... The regression coefficient for the altitude linear term is . To further analyze the regression coefficients of the linear term of temperature, For the scale parameter, a two-dimensional nonlinear smoothing term. The elevation is a one-dimensional smoothing term for the scale parameter.
6. The two-step near-surface temperature drop scaling and uncertainty quantification method based on BAMLSS according to claim 1, characterized in that, The spatial hierarchical sliding cross-validation method is used to evaluate the generalization ability of the model, including: The stations in the target area are divided into multi-fold spatial groups. The modeling process of the first step of the full feature additive predictor and the second step of the full parameter additive predictor is executed independently and repeatedly in each fold. There is no parameter transfer between each fold, which ensures that the test set of each fold is completely independent unobserved data. The test set prediction results of all folds are merged by site to obtain an outlier prediction dataset covering all sites. Based on the outlier prediction dataset, the deterministic accuracy verification index and the uncertainty verification index are calculated.
7. The two-step near-surface temperature drop scaling and quantification uncertainty method based on BAMLSS according to claim 1, characterized in that, The covariates for applying the trained two-step model to high-resolution grid points include: Construct a high-resolution grid of the target area and extract the latitude and longitude coordinates and elevation of each grid point; The low-resolution reanalysis temperature field was spatially interpolated to match the high-resolution grid points, and a grid covariate dataset consistent with the station modeling dimension was constructed. The grid covariate dataset is sequentially input into the trained full-feature additive predictor and full-parameter additive predictor to obtain the corrected mean temperature and temperature condition standard deviation for each grid point.
8. The two-step near-surface temperature drop scaling and quantification uncertainty method based on BAMLSS according to claim 1, characterized in that, Quality control of station temperature observation data includes: extreme value range verification, missing value removal, temporal consistency verification, and spatial consistency verification.
9. The two-step near-surface temperature drop scaling and uncertainty quantification method based on BAMLSS according to claim 1, characterized in that, Preprocessing of reanalysis data includes map projection standardization, spatial interpolation of missing values, and outlier truncation.
10. The two-step near-surface temperature drop scaling and uncertainty quantification method based on BAMLSS according to claim 1, characterized in that, The modeling covariates include station latitude and longitude coordinates, altitude, reanalysis temperature value, and at least one of the following: altitude-reanalysis temperature interaction term, terrain slope, aspect, land use type, and vegetation index.
