A precipitation spatial downscaling method based on a physical perception cross-scale spectral network

By constructing a precipitation reconstruction backbone input branch and a physical variable input branch based on a physical sensing cross-scale spectral network, and introducing a physical sensing channel attention block, the problem of inaccurate precipitation field reconstruction in existing technologies is solved, and high-resolution, physically consistent precipitation field generation is achieved, improving the recovery capability of local heavy precipitation and high-frequency details.

CN123138940APending Publication Date: 2026-11-20NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611636377.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-22
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies struggle to generate high-resolution, physically consistent precipitation fields that adequately recover local heavy precipitation centers and high-frequency details, and existing methods are computationally expensive or lack generalization ability.

Method used

A spatial downscaling method for precipitation based on a physical sensing cross-scale spectral network is designed. By constructing a precipitation reconstruction backbone input branch and a physical variable input branch, a physical sensing channel attention block is introduced, features are extracted using a multi-scale physical encoder, and the network is trained through a joint loss function to generate a high-resolution precipitation field.

Benefits of technology

It improves the accuracy and physical consistency of precipitation reconstruction, reduces oversmoothing problems, enhances the ability to recover local heavy precipitation centers and high-frequency details, while maintaining the model's generalization ability and computational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138940A_ABST
    Figure CN123138940A_ABST
Patent Text Reader

Abstract

The application discloses a precipitation spatial downscaling method based on a physical perception cross-scale spectrum network, comprising the following steps: obtaining a high-resolution precipitation field and synchronously obtaining auxiliary variables; generating an up-sampling low-resolution precipitation field based on the high-resolution precipitation field; constructing a precipitation reconstruction main trunk input branch and a physical variable input branch of a precipitation super-resolution network; the precipitation reconstruction main trunk input branch is used for generating high-resolution precipitation characteristics; the physical variable input branch is used for extracting physical characteristics; a physical perception channel attention block is introduced after the precipitation reconstruction main trunk network to obtain physical perception channel recalibration characteristics, which are mapped into a high-resolution precipitation field; a joint loss function is constructed to obtain a trained precipitation super-resolution network; the application can alleviate the problems that a traditional pixel-level reconstruction method is prone to produce oversmoothing results and is difficult to recover local strong precipitation structure, and is suitable for application scenarios such as hydrological forecasting, flood risk assessment, climate impact analysis and fine meteorological service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of meteorology, artificial intelligence, and hydrometeorological data processing technology, specifically to a spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network. Background Technology

[0002] High-resolution precipitation data is crucial for hydrological forecasting, flood risk assessment, water resource management, and climate impact analysis. However, global climate models, reanalysis products, and numerical weather prediction products used in operational and research settings often fail to provide sufficiently fine spatial resolution directly. For localized heavy rainfall, short-duration storms, and precipitation events influenced by complex topography, coarse-resolution data often cannot accurately describe the location, extent, and intensity of precipitation centers. These errors are further propagated into hydrological and hazard assessment models, affecting runoff simulation, flood peak estimation, and risk warning results.

[0003] Precipitation downscaling is an important technical approach to alleviate this problem. Traditional dynamic downscaling methods rely on regional climate models or high-resolution numerical simulations, offering strong physical interpretation, but are computationally expensive and difficult to meet the needs of large-scale, long-term series, or multi-scenario ensemble simulations. Statistical downscaling methods are computationally efficient, but typically rely on empirical mapping relationships, and are prone to insufficient generalization when there are significant changes in climate background or regional differences. Precipitation itself exhibits significant intermittent, non-negative, and long-tailed distribution characteristics, often spatially manifesting as the coexistence of large areas of rainless regions and localized heavy precipitation cores, making precipitation downscaling more challenging than continuous smoothing variables such as temperature.

[0004] In recent years, deep learning methods have been widely used in meteorological downscaling tasks. Convolutional neural networks, residual networks, generative adversarial networks, and diffusion models have improved the accuracy of precipitation field reconstruction to some extent. However, many methods directly borrow from natural image super-resolution models, treating precipitation as ordinary image texture for restoration. These methods often prioritize minimizing pixel-level errors, easily generating overly smoothed precipitation fields and failing to adequately restore local heavy precipitation centers and high-frequency details. Precipitation is not an isolated image variable; it is influenced by humidity, temperature, air pressure, wind field, and underlying surface conditions. In existing methods, auxiliary meteorological variables are often simply concatenated into the input channel, with the network learning the relationships between variables. This approach makes it difficult to ensure that physical variables play a clear role in feature transformation and to dynamically adjust precipitation reconstruction features based on local atmospheric conditions.

[0005] Therefore, it is necessary to propose a new precipitation downscaling super-resolution method that enables the model to explicitly utilize multi-source physical variables to modulate precipitation characteristics, jointly constrain the output results at the spatial domain, frequency domain, and scale aggregation levels, and improve the ability to identify and reconstruct heavy precipitation events. Summary of the Invention

[0006] The purpose of this invention is to provide a spatial downscaling method for precipitation based on a physically-aware cross-scale spectral network. This method can explicitly fuse multi-source meteorological and geographic information, constrain the precipitation reconstruction results at the spatial, frequency, and scale levels, generate physically consistent and high-fidelity high-resolution precipitation data, and take into account both model generalization ability and computational efficiency.

[0007] To achieve the above functions, this invention designs a precipitation spatial downscaling method based on a physically-sensing cross-scale spectral network, executing the following steps S1-S5 to obtain a high-resolution predicted precipitation field for the target region:

[0008] Step S1: Obtain the high-resolution precipitation field of the target area, and simultaneously obtain auxiliary variables that are spatially aligned with the high-resolution precipitation field, including land-sea mask and preset physical variables; perform downsampling on the high-resolution precipitation field to generate a low-resolution precipitation field; restore the grid of the low-resolution precipitation field to be consistent with the high-resolution precipitation field to obtain the upsampled low-resolution precipitation field.

[0009] Step S2: Construct two input branches of the precipitation super-resolution network, including a precipitation reconstruction backbone input branch and a physical variable input branch. The precipitation reconstruction backbone input branch takes in the upsampled low-resolution precipitation field and the land-sea mask from the auxiliary variables, and generates high-resolution precipitation features through the precipitation reconstruction backbone network, which includes an encoder, a bottleneck module, and a decoder. The physical variable input branch takes in the preset physical variables from the auxiliary variables and extracts physical features through a multi-scale physical encoder.

[0010] Step S3: For the precipitation reconstruction backbone input branch of the precipitation super-resolution network, a physical perception channel attention block is introduced after the precipitation reconstruction backbone network. The physical features extracted by the multi-scale physical encoder are used to generate channel weights, and the high-resolution precipitation features are recalibrated to obtain the physical perception channel recalibrated features. The physical perception channel recalibrated features are then mapped to the high-resolution precipitation field.

[0011] Step S4: Construct a joint loss function to train the precipitation super-resolution network and obtain the trained precipitation super-resolution network;

[0012] Step S5: Apply the trained precipitation super-resolution network to obtain the predicted high-resolution precipitation field for the target area.

[0013] As a preferred technical solution of the present invention, the specific steps of step S1 are as follows:

[0014] Step S1.1: Obtain high-resolution precipitation field Simultaneously, auxiliary variables P, spatially aligned with the high-resolution precipitation field, are acquired, including land-sea mask and preset physical variables; among which the preset physical variables include surface air pressure, 2-meter temperature, relative humidity, and 10-meter wind speed.

[0015] Step S1.2: Convert the high-resolution precipitation field Perform average pooling downsampling to generate a low-resolution precipitation field. :

[0016] ;

[0017] in, This indicates average pooling downsampling;

[0018] Step S1.3: Use bicubic interpolation to convert the low-resolution precipitation field... The grid was restored to be consistent with the high-resolution precipitation field, and the upsampled low-resolution precipitation field was obtained. ;

[0019] Step S1.4: Convert the high-resolution precipitation field Compared with upsampled low-resolution precipitation fields Perform a logarithmic transformation:

[0020] ;

[0021] ;

[0022] in, This represents the upsampled low-resolution precipitation field after logarithmic transformation. This represents the high-resolution precipitation field after logarithmic transformation. Represents logarithmic transformation;

[0023] The auxiliary variables, surface air pressure, 2-meter temperature, relative humidity, and 10-meter wind speed, were standardized to form six-channel input data. as follows:

[0024] ;

[0025] in, This represents the upsampled low-resolution precipitation field after logarithmic transformation. Indicates surface air pressure. Indicates the temperature at 2 meters. Indicates relative humidity. This indicates a wind speed of 10 meters per second. Indicates a land cover. This indicates standardized processing.

[0026] As a preferred technical solution of the present invention: In step S2:

[0027] The physical variable input branch includes a multi-scale physical encoder, which takes in preset physical variables from the auxiliary variables and extracts physical features at different spatial scales.

[0028] The multi-scale physical encoder consists of three hierarchical structures, with the first hierarchical structure containing two... The convolutional layer, the second layer structure, successively contains an average pooling layer, and two... The convolutional layer, the third layer structure, successively contains one average pooling layer, two... The convolutional layer, with its three hierarchical structure, extracts physical features at their respective spatial scales.

[0029] As a preferred technical solution of the present invention: In step S2:

[0030] The precipitation reconstruction backbone input branch includes the precipitation reconstruction backbone network, which includes an encoder, a bottleneck module, and a decoder.

[0031] The encoder's input branch upsamples the low-resolution precipitation field and the land-sea mask from auxiliary variables to extract the main precipitation features. The encoder contains three hierarchical structures, corresponding to the physical features at three spatial scales output by the multi-scale physical encoder. The first hierarchical structure of the encoder contains two physical modulation modules and one... The convolutional layer, the second layer structure, successively contains two physical modulation modules and one... The convolutional layer, the third layer structure, contains two physical modulation modules in sequence;

[0032] In each level of the encoder's physical modulation module, the following calculations are performed for the main precipitation characteristics and physical characteristics at the same spatial scale:

[0033] ;

[0034] ;

[0035] in, and Modulation parameters generated for physical characteristics, Indicates group normalization, This represents the physical modulation characteristics output by the physical modulation module. Indicates the main precipitation characteristics, Indicates physical characteristics.

[0036] As a preferred technical solution of the present invention: In step S2:

[0037] The bottleneck module of the precipitation reconstruction backbone network includes a residual bottleneck block and an SE channel attention block; the residual bottleneck block is input to the features output from the third level of the encoder, and the input features of the residual bottleneck block are denoted as... ,in, Indicates batch size. This indicates the number of basic characteristic channels in the precipitation-reconstructed backbone network. and These represent the grid height and grid width of a high-resolution precipitation field, respectively. This represents the number of input feature channels for the residual bottleneck block. and This represents the spatial size after downsampling the grid relative to the high-resolution precipitation field by four times;

[0038] In the residual bottleneck block, the input features First, it goes through a group normalization layer, the SiLU activation function, and the first... Convolutional layer, SiLU activation function and second Convolutional layers yield residual mappings. Subsequently, the residuals are mapped. Input features By performing element-wise addition, the bottleneck residual characteristics are obtained:

[0039] ;

[0040] in, Indicates the bottleneck residual characteristics;

[0041] Bottleneck residual characteristics Further input to the SE channel attention block; the SE channel attention block first focuses on the bottleneck residual features. Global average pooling is performed to obtain the channel statistics vector; then the channel data is passed through the first linear layer and the second linear layer in sequence. The first linear layer reduces the number of channels from... Compress to , The compression ratio is used; the second linear layer reduces the number of channels from... Restore to The SiLU activation function is used between the first and second linear layers, and the channel attention weights are finally generated using the Sigmoid activation function.

[0042] ;

[0043] in, Indicates channel attention weights. , Indicates global average pooling. This represents the SiLU activation function. and These represent the linear mapping parameters for the first linear layer and the second linear layer, respectively. This represents the Sigmoid activation function;

[0044] Channel attention weights Along spatial dimensions and After broadcasting, the characteristics of the bottleneck residuals By multiplying each channel sequentially, we obtain the output characteristics of the bottleneck module:

[0045] ;

[0046] in, This represents element-wise multiplication. This indicates the output characteristics of the bottleneck module.

[0047] As a preferred technical solution of the present invention: In step S2:

[0048] The output features of the bottleneck module of the precipitation reconstruction backbone network are input into the decoder. The decoder contains two hierarchical structures, which are skip-connected to the hierarchical structures of the encoder at the same scale. The first hierarchical structure of the decoder contains an upsampling layer and a... The first layer consists of a convolutional layer and two residual blocks; the second layer structure contains an upsampling layer and a... Convolutional layer, two residual blocks; final output backbone features , as a high-resolution precipitation feature.

[0049] As a preferred technical solution of the present invention: in step S3, the main features are... Physical characteristics Input physical perception channel attention block; among which, backbone features Physical characteristics , This indicates the number of basic characteristic channels in the precipitation-reconstructed backbone network. Representing physical characteristics Number of channels;

[0050] The main feature branches of the attention block in the physical perception channel first address the main features. Perform global average pooling to obtain the backbone channel description vector:

[0051] ;

[0052] in, Indicates global average pooling. This represents the description vector of the main channel;

[0053] The physical context branch of the attention block in the physical perception channel first considers physical features. Global average pooling is performed, and then a projection transformation is applied to map the vector to a channel space that matches the backbone features, resulting in a physical channel description vector:

[0054] ;

[0055] in, Represents the physical channel description vector. Indicates projection transformation;

[0056] Describing the main channel Physical channel description vector By concatenating along the channel dimension, we obtain the joint channel description vector:

[0057] ;

[0058] in, This represents vector concatenation. Represents the joint channel description vector;

[0059] The joint channel description vector is input into the MLP bottleneck layer, which consists of two layers. The convolutional layer uses the SiLU activation function in the middle, and finally uses the Sigmoid activation function to generate sample adaptive channel attention weights:

[0060] ;

[0061] in, and These represent the two bottleneck layers in the MLP, respectively. Parameters of convolutional layers, This represents the SiLU activation function. Adaptive channel attention weights for samples;

[0062] The generated samples will be adapted with channel attention weights and backbone features. By multiplying each channel sequentially, we obtain the physical sensing channel recalibration features:

[0063] ;

[0064] in, This indicates the recalibration characteristics of the physical sensing channel;

[0065] Precipitation residuals in logarithmic space are predicted by outputting convolutional layers, and these residuals are then compared with the logarithmically transformed upsampled low-resolution precipitation field. Add them together to obtain the predicted logarithmic precipitation field. :

[0066] ;

[0067] In the formula, For the learned residual mapping, These are model parameters; As an auxiliary variable, This represents the upsampled low-resolution precipitation field after logarithmic transformation;

[0068] Predicting the logarithmic precipitation field Spatial precipitation converted back to millimeter units:

[0069] ;

[0070] in, This represents the predicted high-resolution precipitation field; It is a natural exponential function;

[0071] If a negative value is found, it is truncated to obtain the predicted high-resolution precipitation field.

[0072] As a preferred technical solution of the present invention: In step S4, the joint loss function is constructed as follows:

[0073] ;

[0074] In the formula, For the joint loss function, This represents the log-space reconstruction loss function. Represents the structural similarity loss function. This represents the Fourier frequency domain consistency loss function. Represents the scale consistency loss function. This represents the loss function for auxiliary classification of multi-threshold precipitation events. , , , and These are the weight coefficients for the log-space reconstruction loss function, structural similarity loss function, Fourier frequency domain consistency loss function, scale consistency loss function, and multi-threshold precipitation event auxiliary classification loss function, respectively.

[0075] The log-space reconstruction loss function is:

[0076] ;

[0077] In the formula, Indicates the th term in the predicted logarithmic precipitation field. The value of each element, Represents the th high-resolution precipitation field after logarithmic transformation The value of each element, This represents the total number of elements involved in the calculation of the logarithmic space reconstruction loss.

[0078] The structural similarity loss function is: ; in, This represents the total number of elements involved in the calculation of structural similarity loss; Indicates the first [unit] in the predicted high-resolution precipitation field The local mean of each element; Represents the first in a true high-resolution precipitation field The local mean of each element; Indicates the first [unit] in the predicted high-resolution precipitation field Local variance of each element; Represents the first in a true high-resolution precipitation field Local variance of each element; This represents the first [unit] in the predicted high-resolution precipitation field and the actual high-resolution precipitation field. Local covariance of each element; , These are the stability constants, For additional denominator stabilizing terms;

[0079] The Fourier spectral consistency loss function is:

[0080] ;

[0081] ;

[0082] ;

[0083] In the formula, Represents a two-dimensional Fourier transform. This represents the Fourier amplitude spectrum of the predicted high-resolution precipitation field. The Fourier amplitude spectrum represents the true high-resolution precipitation field. This represents the total number of frequency domain elements involved in the Fourier spectral consistency loss calculation. This represents the predicted high-resolution precipitation field. Represents a true high-resolution precipitation field. The Fourier amplitude spectrum representing the true high-resolution precipitation field. The value of each element, The fourth element in the Fourier amplitude spectrum of the predicted high-resolution precipitation field represents the... The value of each element.

[0084] The scale consistency loss function is:

[0085] ;

[0086] In the formula, This indicates that both the pooling kernel size and step size are 1. non-overlapping average pooling operator, Indicates the downsampling scaling factor. This represents the total number of elements involved in the scale consistency loss calculation after average pooling. Indicates the first [unit] in the predicted high-resolution precipitation field The value of each element, Represents the first in a true high-resolution precipitation field The value of each element.

[0087] The loss function for multi-threshold precipitation event auxiliary classification is:

[0088] ;

[0089] In the formula, For the predicted k-th threshold at pixel The probability of exceeding the limit at a certain point; Indicates the k-th threshold at pixel The label at the location, Total number of thresholds:

[0090] ;

[0091] in, For the k-th threshold, For indicator functions;

[0092] According to the joint loss function Backpropagation and updating of network parameters;

[0093] Repeat the preset number of training rounds until the preset number of training rounds is reached or the precipitation super-resolution network converges, and the trained precipitation super-resolution network is obtained.

[0094] The present invention also designs an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, it implements the aforementioned spatial downscaling method for precipitation based on a physically-aware cross-scale spectral network.

[0095] The present invention also designs a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the aforementioned spatial downscaling method for precipitation based on a physically-aware cross-scale spectral network.

[0096] Beneficial effects: Compared with the prior art, the advantages of the present invention include:

[0097] This invention introduces meteorological physical variables into the precipitation super-resolution reconstruction process and applies these variables to precipitation features at different scales by physically modulating residual blocks. Compared to simple channel stitching, this method can more directly utilize local meteorological conditions to constrain the generation of precipitation details.

[0098] This invention incorporates frequency domain consistency and scale consistency constraints during the training phase. Frequency domain consistency helps recover small-scale precipitation textures, while scale consistency limits the model from deviating from coarse-scale precipitation distributions when generating details. Together, they reduce the problem of overly smoothed or physically inconsistent high-resolution results. Attached Figure Description

[0099] Figure 1 This is a model architecture diagram of a precipitation spatial downscaling method based on a physically-sensing cross-scale spectral network provided according to an embodiment of the present invention;

[0100] Figure 2 This is a schematic diagram of the residual bottleneck block and the SE channel attention block provided in an embodiment of the present invention;

[0101] Figure 3 This is a schematic diagram of a physical sensing channel attention block provided according to an embodiment of the present invention;

[0102] Figure 4 This is a comparison chart of various indicators related to extreme precipitation events provided by an embodiment of the present invention;

[0103] Figure 5 This is a qualitative comparison chart of the downscaling results of various models according to an embodiment of the present invention;

[0104] Figure 6 These are spectral fidelity analysis diagrams of different models on the ERA5 test set provided in embodiments of the present invention. Detailed Implementation

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

[0106] This invention provides a spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network, referring to... Figure 1 Perform the following steps S1-S5 to obtain the predicted high-resolution precipitation field for the target area:

[0107] Step S1: Obtain the high-resolution precipitation field of the target area, and simultaneously obtain auxiliary variables that are spatially aligned with the high-resolution precipitation field, including land-sea mask and preset physical variables; perform downsampling on the high-resolution precipitation field to generate a low-resolution precipitation field; restore the grid of the low-resolution precipitation field to be consistent with the high-resolution precipitation field to obtain the upsampled low-resolution precipitation field.

[0108] The specific steps of step S1 are as follows:

[0109] Step S1.1: Obtain high-resolution precipitation field Simultaneously, auxiliary variables P, spatially aligned with the high-resolution precipitation field, are acquired, including land-sea mask and preset physical variables; among which the preset physical variables include surface air pressure, 2-meter temperature, relative humidity, and 10-meter wind speed.

[0110] Among them, surface air pressure is used to characterize the atmospheric pressure background, 2-meter temperature is used to characterize the near-surface thermal conditions, relative humidity is used to characterize water vapor conditions, 10-meter wind speed is used to characterize power transmission conditions, and land-sea mask is used to characterize the underlying surface properties.

[0111] This embodiment uses ERA5 reanalysis data to construct precipitation super-resolution downscaling experimental data. The dataset in this embodiment is organized by daily samples. Each sample is saved as a NetCDF format file, with the sample time range from July 1, 2010 to July 31, 2014, and is saved continuously by day. Each NetCDF file contains the high-resolution real precipitation field for that date, as well as auxiliary physical variables spatially aligned with the precipitation field. This method of storing data independently by date facilitates subsequent division of training, validation, and test sets, and also facilitates tracking the reconstruction effect under different precipitation processes by date during the model testing phase.

[0112] Step S1.2: Convert the high-resolution precipitation field Average pooling downsampling is performed. In this example, the kernel size and step size of the average pooling are both set as downscaling factors, with a downscaling factor of 6, to generate a low-resolution precipitation field. :

[0113] ;

[0114] in, This indicates average pooling downsampling;

[0115] Step S1.3: Use bicubic interpolation to convert the low-resolution precipitation field... The grid was restored to be consistent with the high-resolution precipitation field, and the upsampled low-resolution precipitation field was obtained. ;

[0116] Step S1.4: Convert the high-resolution precipitation field Compared with upsampled low-resolution precipitation fields Perform a logarithmic transformation:

[0117] ;

[0118] ;

[0119] in, This represents the upsampled low-resolution precipitation field after logarithmic transformation. This represents the high-resolution precipitation field after logarithmic transformation. Represents logarithmic transformation;

[0120] The auxiliary variables, surface air pressure, 2-meter temperature, relative humidity, and 10-meter wind speed, were standardized to form six-channel input data. as follows:

[0121] ;

[0122] in, This represents the upsampled low-resolution precipitation field after logarithmic transformation. Indicates surface air pressure. Indicates the temperature at 2 meters. Indicates relative humidity. This indicates a wind speed of 10 meters per second. Indicates a land cover. This indicates standardization processing, specifically using the z-score standardization method.

[0123] The precipitation field is logarithmically transformed to mitigate the impact of the long-tailed precipitation distribution on training stability. Surface air pressure, 2-meter air temperature, relative humidity, and 10-meter wind speed are standardized using the training set mean and standard deviation. To avoid validation and test set information from entering the training process, the mean and standard deviation are calculated only based on the training set. The land mask serves as static surface information input to the network, and its values ​​remain unchanged. The training set used in this embodiment contains 17,892 samples, while the validation and test sets each contain 2,236 samples.

[0124] Step S2: Construct two input branches of the precipitation super-resolution network, including a precipitation reconstruction backbone input branch and a physical variable input branch. The precipitation reconstruction backbone input branch takes in the upsampled low-resolution precipitation field and the land-sea mask from the auxiliary variables, and generates high-resolution precipitation features through the precipitation reconstruction backbone network, which includes an encoder, a bottleneck module, and a decoder. The physical variable input branch takes in the preset physical variables from the auxiliary variables and extracts physical features through a multi-scale physical encoder.

[0125] The precipitation reconstruction backbone network is a U-shaped encoder-decoder structure. The encoder is used to extract multi-scale precipitation features, and the decoder is used to restore high-resolution spatial structure. Features of the same scale are transferred between the encoder and decoder through skip connections.

[0126] The physical variable input branch includes a multi-scale physical encoder, which takes in preset physical variables from the auxiliary variables and extracts physical features at different spatial scales.

[0127] The multi-scale physical encoder consists of three hierarchical structures, with the first hierarchical structure containing two... The convolutional layer, the second layer structure, successively contains an average pooling layer, and two... The convolutional layer, the third layer structure, successively contains one average pooling layer, two... The convolutional layer, with its three hierarchical structure, extracts physical features at their respective spatial scales.

[0128] The precipitation reconstruction backbone input branch includes the precipitation reconstruction backbone network, which includes an encoder, a bottleneck module, and a decoder.

[0129] The encoder's input branch upsamples the low-resolution precipitation field and the land-sea mask from auxiliary variables to extract the main precipitation features. The encoder contains three hierarchical structures, corresponding to the physical features at three spatial scales output by the multi-scale physical encoder. The first hierarchical structure of the encoder contains two physical modulation modules and one... The convolutional layer, the second layer structure, successively contains two physical modulation modules and one... The convolutional layer, the third layer structure, contains two physical modulation modules in sequence;

[0130] In each level of the encoder's physical modulation module, the following calculations are performed for the main precipitation characteristics and physical characteristics at the same spatial scale:

[0131] ;

[0132] ;

[0133] in, and Modulation parameters generated for physical characteristics, Indicates group normalization, This represents the physical modulation characteristics output by the physical modulation module. Indicates the main precipitation characteristics, Indicates physical characteristics.

[0134] Reference Figure 2The bottleneck module is located at the deepest layer of the precipitation reconstruction backbone network. The bottleneck module of the precipitation reconstruction backbone network includes a residual bottleneck block and an SE channel attention block. The residual bottleneck block is input to the features output from the third-level structure of the encoder. The input features of the residual bottleneck block are denoted as... ,in, Indicates batch size. This indicates the number of basic characteristic channels in the precipitation-reconstructed backbone network. and These represent the grid height and grid width of a high-resolution precipitation field, respectively. This represents the number of input feature channels for the residual bottleneck block, and the number of feature channels for the deepest layer of the encoder is... After the decoder restores the spatial resolution step by step, the number of backbone feature channels output is restored to 1. , and This represents the spatial size after downsampling the grid relative to the high-resolution precipitation field by four times;

[0135] In the residual bottleneck block, the input features First, it goes through a group normalization layer, the SiLU activation function, and the first... Convolutional layer, SiLU activation function and second Convolutional layers yield residual mappings. Subsequently, the residuals are mapped. Input features By performing element-wise addition, the bottleneck residual characteristics are obtained:

[0136] ;

[0137] in, This represents the bottleneck residual feature; where residual connections are used to maintain the stability of deep feature propagation and avoid the loss of effective precipitation features caused by deep convolution transformations.

[0138] Bottleneck residual characteristics Further input to the SE channel attention block; the SE channel attention block first focuses on the bottleneck residual features. Global average pooling is performed to obtain the channel statistics vector; then the channel data is passed through the first linear layer and the second linear layer in sequence. The first linear layer reduces the number of channels from... Compress to , The compression ratio is used; the second linear layer reduces the number of channels from... Restore to The SiLU activation function is used between the first and second linear layers, and the channel attention weights are finally generated using the Sigmoid activation function.

[0139] ;

[0140] in, Indicates channel attention weights. , Indicates global average pooling. This represents the SiLU activation function. and These represent the linear mapping parameters for the first linear layer and the second linear layer, respectively. This represents the Sigmoid activation function;

[0141] Channel attention weights Along spatial dimensions and After broadcasting, the characteristics of the bottleneck residuals By multiplying each channel sequentially, we obtain the output characteristics of the bottleneck module:

[0142] ;

[0143] in, This represents element-wise multiplication. This represents the output characteristics of the bottleneck module. Through this structure, the network can adaptively enhance important channels and suppress redundant channels in the deepest layers based on the global context.

[0144] The output features of the bottleneck module of the precipitation reconstruction backbone network are input into the decoder. The decoder contains two hierarchical structures, which are skip-connected to the hierarchical structures of the encoder at the same scale. The first hierarchical structure of the decoder contains an upsampling layer and a... The first layer consists of a convolutional layer and two residual blocks; the second layer structure contains an upsampling layer and a... Convolutional layer, two residual blocks; final output backbone features , as a high-resolution precipitation feature.

[0145] Step S3: For the precipitation reconstruction backbone input branch of the precipitation super-resolution network, a physical perception channel attention block is introduced after the precipitation reconstruction backbone network. The physical features extracted by the multi-scale physical encoder are used to generate channel weights, and the high-resolution precipitation features are recalibrated to obtain the physical perception channel recalibrated features. The physical perception channel recalibrated features are then mapped to the high-resolution precipitation field.

[0146] The decoding stage gradually restores spatial resolution through upsampling and skip connections. The decoded high-resolution precipitation features are then input into the physical sensing channel attention block. Unlike channel attention that relies solely on internal feature statistics, the physical sensing channel attention block embeds physical features into the channel weight generation process, ensuring that the high-resolution reconstruction stage remains constrained by meteorological and physical conditions. This enhances the local heavy precipitation core, precipitation boundaries, and high-frequency texture structure.

[0147] The physical perception channel attention block is used to introduce physical context features in the high-resolution reconstruction stage, so that the channel attention weights not only depend on the main precipitation features themselves, but are also constrained by meteorological physical variables.

[0148] Reference Figure 3 Main features Physical characteristics Input physical perception channel attention block; among which, backbone features Physical characteristics , This indicates the number of basic characteristic channels in the precipitation-reconstructed backbone network. Representing physical characteristics Number of channels and These represent the grid height and grid width of the high-resolution precipitation field, respectively.

[0149] The main feature branches of the attention block in the physical perception channel first address the main features. Perform global average pooling to obtain the backbone channel description vector:

[0150] ;

[0151] in, Indicates global average pooling. This represents the description vector of the main channel;

[0152] The physical context branch of the attention block in the physical perception channel first considers physical features. Global average pooling is performed, and then a projection transformation is applied to map the vector to a channel space that matches the backbone features, resulting in a physical channel description vector:

[0153] ;

[0154] in, Represents the physical channel description vector. Indicates projection transformation;

[0155] Describing the main channel Physical channel description vector By concatenating along the channel dimension, we obtain the joint channel description vector:

[0156] ;

[0157] in, This represents vector concatenation. Represents the joint channel description vector;

[0158] The joint channel description vector is input into the bottleneck layer of the MLP (Multilayer Perceptron). The MLP bottleneck layer consists of two... The convolutional layer uses the SiLU activation function in the middle, and finally uses the Sigmoid activation function to generate sample adaptive channel attention weights:

[0159] ;

[0160] in, and These represent the two bottleneck layers in the MLP, respectively. Parameters of convolutional layers, This represents the SiLU activation function. Adaptive channel attention weights for samples;

[0161] The generated samples will be adapted with channel attention weights and backbone features. By multiplying each channel sequentially, we obtain the physical sensing channel recalibration features:

[0162] ;

[0163] in, This indicates the recalibration characteristics of the physical sensing channel;

[0164] Through the above structure, the physical perception channel attention block can use physical context information such as air pressure, temperature, humidity, wind speed and land-sea distribution to adjust the channel response of precipitation reconstruction features, thereby enhancing the feature representation related to local heavy precipitation cores, precipitation boundaries and high-frequency textures.

[0165] The output consists of two parts. One part is the continuous precipitation prediction branch, which outputs high-resolution precipitation field predictions. The other part is the multi-threshold prediction head, which outputs multi-threshold precipitation event predictions. The continuous high-resolution precipitation prediction uses a residual learning approach, predicting precipitation residuals in logarithmic space through the output convolutional layer, and then combining the precipitation residuals with the logarithmically transformed upsampled low-resolution precipitation field. Add them together to obtain the predicted logarithmic precipitation field. :

[0166] ;

[0167] In the formula, For the learned residual mapping, These are model parameters; As an auxiliary variable, This represents the upsampled low-resolution precipitation field after logarithmic transformation;

[0168] Predicting the logarithmic precipitation field Spatial precipitation converted back to millimeter units:

[0169] ;

[0170] in, This represents the predicted high-resolution precipitation field; It is a natural exponential function;

[0171] The multi-threshold precipitation event prediction head outputs pixel-level logits corresponding to multiple thresholds. In this example, based on the high-resolution precipitation field R... GT A multi-threshold event label is constructed using a fixed threshold set T. For any threshold τ∈T, the corresponding pixel label is 1 when the actual precipitation is greater than or equal to τ, and 0 otherwise. The fixed threshold set T is: {0.1, 1.0, 5.0, 10.0, 20.0, 50.0}, with units in mm / day. By training the model together with continuous precipitation prediction and threshold event prediction, the model can better focus on moderate, heavy, and extreme precipitation areas. If negative values ​​appear, truncation is performed to obtain the predicted high-resolution precipitation field.

[0172] Step S4: Construct a joint loss function to train the precipitation super-resolution network and obtain the trained precipitation super-resolution network;

[0173] The joint loss function is constructed as follows:

[0174] ;

[0175] In the formula, For the joint loss function, This represents the log-space reconstruction loss function. Represents the structural similarity loss function. This represents the Fourier frequency domain consistency loss function. Represents the scale consistency loss function. This represents the loss function for auxiliary classification of multi-threshold precipitation events. , , , and These are the weight coefficients for the log-space reconstruction loss function, structural similarity loss function, Fourier frequency domain consistency loss function, scale consistency loss function, and multi-threshold precipitation event auxiliary classification loss function, respectively.

[0176] The log-space reconstruction loss function is:

[0177] ;

[0178] In the formula, Indicates the th term in the predicted logarithmic precipitation field. The value of each element, Represents the th high-resolution precipitation field after logarithmic transformation The value of each element, This represents the total number of elements involved in the calculation of the logarithmic space reconstruction loss.

[0179] The structural similarity loss function is: ; in, This represents the total number of elements involved in the calculation of structural similarity loss; Indicates the first [unit] in the predicted high-resolution precipitation field The local mean of each element; Represents the first in a true high-resolution precipitation field The local mean of each element; Indicates the first [unit] in the predicted high-resolution precipitation field Local variance of each element; Represents the first in a true high-resolution precipitation field Local variance of each element; This represents the first [unit] in the predicted high-resolution precipitation field and the actual high-resolution precipitation field. Local covariance of each element; , These are the stability constants, For additional denominator stabilizing terms;

[0180] The Fourier spectral consistency loss function is:

[0181] ;

[0182] ;

[0183] ;

[0184] In the formula, Represents a two-dimensional Fourier transform. This represents the Fourier amplitude spectrum of the predicted high-resolution precipitation field. The Fourier amplitude spectrum represents the true high-resolution precipitation field. This represents the total number of frequency domain elements involved in the Fourier spectral consistency loss calculation. This represents the predicted high-resolution precipitation field. Represents a true high-resolution precipitation field. The Fourier amplitude spectrum representing the true high-resolution precipitation field. The value of each element, The fourth element in the Fourier amplitude spectrum of the predicted high-resolution precipitation field represents the... The value of each element.

[0185] The scale consistency loss function is:

[0186] ;

[0187] In the formula, This indicates that both the pooling kernel size and step size are 1. non-overlapping average pooling operator, Indicates the downsampling scaling factor. This represents the total number of elements involved in the scale consistency loss calculation after average pooling. Indicates the first [unit] in the predicted high-resolution precipitation field The value of each element, Represents the first in a true high-resolution precipitation field The value of each element.

[0188] The loss function for multi-threshold precipitation event auxiliary classification is:

[0189] ;

[0190] In the formula, For the predicted k-th threshold at pixel The probability of exceeding the limit at a certain point; Indicates the k-th threshold at pixel The label at the location, Total number of thresholds:

[0191] ;

[0192] in, For the k-th threshold, For indicator functions;

[0193] According to the joint loss function Backpropagation and updating of network parameters;

[0194] Repeat the preset number of training rounds until the preset number of training rounds is reached or the precipitation super-resolution network converges, and the trained precipitation super-resolution network is obtained.

[0195] In the training process described above, the log-space reconstruction loss function is used to constrain the numerical error of continuous precipitation. The structural similarity loss function is used to maintain the spatial organization of the precipitation field. The Fourier frequency domain consistency loss function reduces the oversmoothing problem of high-resolution results by comparing the two-dimensional Fourier amplitude spectra of the predicted and actual precipitation fields. The scale consistency loss function re-pools the predicted high-resolution precipitation field to a low-resolution scale, making it consistent with the actual precipitation distribution at a coarse scale. The multi-threshold precipitation event-assisted classification loss function uses binary cross-entropy loss, enabling the model to remain sensitive to precipitation events of different intensities while learning the reconstruction of continuous precipitation. The AdamW optimizer can be used. Cosine annealing learning rate scheduling and gradient clipping can be used during training to improve training stability.

[0196] Log-space reconstruction loss, structural similarity loss, Fourier frequency domain consistency loss, and scale consistency loss are calculated based on continuous precipitation prediction results. Binary cross-entropy loss is calculated using multi-threshold logit and actual precipitation threshold labels. The weighted sum of these five losses is then used to update the model parameters.

[0197] Step S5: Apply the trained precipitation super-resolution network to obtain the predicted high-resolution precipitation field for the target area.

[0198] This embodiment evaluates model performance from two perspectives: continuous precipitation reconstruction quality and precipitation event identification capability. Continuous precipitation reconstruction quality is primarily evaluated using RMSE, PSNR, and SSIM. Precipitation event identification capability is evaluated using POD, CSI, and HSS, with statistics compiled separately for different precipitation thresholds.

[0199] The root mean square error (RMSE) reflects the average deviation between the predicted precipitation field and the actual precipitation field. Its calculation formula is:

[0200] ;

[0201] In the formula, This represents the predicted precipitation at the i-th pixel location. This represents the actual precipitation at the corresponding location, and N represents the total number of pixels involved in the calculation. The smaller the RMSE, the smaller the overall deviation between the predicted and actual results.

[0202] Peak signal-to-noise ratio (PSNR) is used to measure the reconstruction quality of precipitation fields, and its calculation formula is:

[0203] ;

[0204] ;

[0205] In the formula, MAX represents the dynamic range of the precipitation data involved in the calculation, and MSE represents the mean square error between the predicted precipitation field and the actual precipitation field. A higher PSNR generally indicates a better pixel-level reconstruction effect.

[0206] Structural similarity index (SSIM) is used to evaluate how closely the predicted precipitation field resembles the actual precipitation field in terms of spatial structure. This index reflects the preservation of rainband morphology, precipitation core location, and local spatial organization. Compared to looking at numerical errors alone, SSIM is better suited for observing whether the model has restored a reasonable spatial morphology of precipitation.

[0207] For precipitation event identification and evaluation, this embodiment uses a fixed set of thresholds:

[0208] ;

[0209] For any threshold τ, when the actual precipitation for a pixel is greater than or equal to τ, it is recorded as a real event occurring. When the predicted precipitation is greater than or equal to τ, it is recorded as a predicted event occurring. Based on the correspondence between real and predicted events, the hit samples TP, false alarm samples FP, missed alarm samples FN, and correctly rejected samples TN are statistically analyzed. The hit rate POD is used to represent the proportion of real precipitation events correctly identified by the model, and its calculation formula is:

[0210] ;

[0211] The Critical Success Index (CSI) considers hits, false alarms, and missed alarms simultaneously, and its calculation formula is as follows:

[0212] ;

[0213] The Heidegger Skill Score (HSS) is used to measure the improvement of a model relative to stochastic forecasts. Its calculation formula is as follows:

[0214] ;

[0215] Higher values ​​for POD, CSI, and HSS indicate a stronger ability of the model to identify precipitation events at the corresponding thresholds. This embodiment focuses particularly on results at thresholds of 10.0 mm / day and above, as these thresholds better reflect the model's ability to recover from areas of heavy and extreme precipitation. Using these indicators avoids evaluating the model solely based on the mean error. RMSE and PSNR reflect the quality of numerical reconstruction, SSIM reflects the preservation of spatial structure, and POD, CSI, and HSS reflect the ability to detect precipitation events of different intensities. For precipitation, a sparse, non-negative meteorological variable with a long tail, these evaluation methods better reflect the model's performance in practical downscaling applications.

[0216] To verify the effectiveness of the method in this embodiment for precipitation super-resolution downscaling, the precipitation super-resolution downscaling method based on a physically-aware cross-scale spectral network was compared with several representative benchmark models. All models used the same ERA5 training, validation, and test sets and were tested under the same controlled synthetic degradation conditions. The downscaling factor was set to 6. The low-resolution input was obtained by spatial downsampling and bicubic interpolation of the high-resolution real precipitation field.

[0217] To ensure fairness in comparison results, all trainable models are tested using the same data partitioning and evaluation process. Standardized statistics for meteorological variables are calculated only from the training set; the validation and test sets do not participate in the calculation of mean and standard deviation. No data augmentation is used on the validation and test sets. Model outputs are converted back to linear precipitation space before calculating the indicators. PSNR and SSIM are calculated and averaged based on individual test samples, while POD, CSI, and HSS are calculated based on contingency tables accumulated from the entire test set. For randomly generated benchmark models, each test input uses only one fixed sampling result, without employing a method of selecting the best from multiple samplings.

[0218] The comparative models selected in this embodiment include:

[0219] DeepSD is a regression-based downscaling model based on convolutional neural networks.

[0220] Climate Downscaling is a deep learning super-resolution downscaling model.

[0221] Encoded-CGAN is a generative adversarial network-based precipitation super-resolution model.

[0222] Diffusion, or EDM-climate, belongs to the diffusion-generative downscaling model.

[0223] Consistency Model (CM) is a downscaling method belonging to the consistency generation model class.

[0224] Conditional DDPM belongs to the conditional diffusion probability model.

[0225] Table 1. Comparison of precipitation super-resolution downscaling results of different models on the ERA5 test set.

[0226]

[0227] Refer to Table 1 and Figure 4As can be seen, the method in this embodiment achieves the highest results in all five metrics: PSNR, SSIM, POD, CSI, and HSS. Compared to the best-performing baseline model, Conditional DDPM, the PSNR of this embodiment is improved from 28.644 dB to 29.483 dB, and the SSIM is improved from 0.8717 to 0.8971. This indicates that the method improves both pixel-level reconstruction quality and spatial structure preservation.

[0228] In terms of heavy precipitation event detection, the method in this embodiment achieves a POD of 0.875, a CSI of 0.774, and a HSS of 0.861 at a threshold of 10.0 mm / day. Compared to Conditional DDPM, the POD improves from 0.868 to 0.875, the CSI from 0.765 to 0.774, and the HSS from 0.855 to 0.861. These results demonstrate that the method in this embodiment not only improves image reconstruction metrics but also enhances the ability to identify heavy precipitation events.

[0229] Based on the results of different models, Encoded-CGAN exhibits low PSNR and SSIM in this experiment, indicating a significant deviation between its generated results and the actual precipitation field. Consistency Model and Diffusion methods outperform Encoded-CGAN in some meteorological skill indicators, but their spatial structure recovery remains unstable. DeepSD achieves a good SSIM, but its CSI and HSS are not high enough, indicating limited comprehensive identification ability for heavy precipitation events. Climate Downscaling performs well in CSI and HSS, but its PSNR and SSIM are lower than Conditional DDPM and the method in this embodiment. Conditional DDPM is the benchmark model with overall performance closest to the method in this embodiment, but it still lags behind PACSSRNet in continuous reconstruction quality and heavy precipitation detection indicators. A qualitative comparison chart of the downscaling results of each model in this invention is provided below. Figure 5 Spectral fidelity analysis plots of different models on the ERA5 test set are shown below. Figure 6 .

[0230] The experimental results above demonstrate that, under the same dataset, downscaling factor, and evaluation protocol, the method presented in this embodiment exhibits superior overall performance compared to convolutional regression models, GAN-type models, and diffusion-type models. This method simultaneously balances the accuracy of continuous precipitation field reconstruction, spatial structure preservation, and the ability to detect heavy precipitation events, making it suitable for applications requiring high-resolution precipitation input, such as hydrological forecasting, flood risk assessment, and climate impact analysis.

[0231] This invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, it implements the aforementioned spatial downscaling method for precipitation based on a physically-aware cross-scale spectral network.

[0232] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the aforementioned method for spatial downscaling of precipitation based on a physically-aware cross-scale spectral network.

[0233] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.

Claims

1. A spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network, characterized in that, Perform the following steps S1-S5 to obtain the predicted high-resolution precipitation field for the target area: Step S1: Obtain the high-resolution precipitation field of the target area, and simultaneously obtain auxiliary variables that are spatially aligned with the high-resolution precipitation field, including land-sea mask and preset physical variables; The high-resolution precipitation field is downsampled to generate a low-resolution precipitation field; the grid of the low-resolution precipitation field is restored to be consistent with that of the high-resolution precipitation field to obtain an upsampled low-resolution precipitation field. Step S2: Construct two input branches of the precipitation super-resolution network, including a precipitation reconstruction backbone input branch and a physical variable input branch. The precipitation reconstruction backbone input branch takes in the upsampled low-resolution precipitation field and the land-sea mask from the auxiliary variables, and generates high-resolution precipitation features through the precipitation reconstruction backbone network, which includes an encoder, a bottleneck module, and a decoder. The physical variable input branch takes in the preset physical variables from the auxiliary variables and extracts physical features through a multi-scale physical encoder. Step S3: For the precipitation reconstruction backbone input branch of the precipitation super-resolution network, a physical perception channel attention block is introduced after the precipitation reconstruction backbone network. The physical features extracted by the multi-scale physical encoder are used to generate channel weights, and the high-resolution precipitation features are recalibrated to obtain the physical perception channel recalibrated features. The physical perception channel recalibrated features are then mapped to the high-resolution precipitation field. Step S4: Construct a joint loss function to train the precipitation super-resolution network and obtain the trained precipitation super-resolution network; Step S5: Apply the trained precipitation super-resolution network to obtain the predicted high-resolution precipitation field for the target area.

2. The spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 1, characterized in that, The specific steps of step S1 are as follows: Step S1.1: Obtain high-resolution precipitation field Simultaneously, auxiliary variables P, spatially aligned with the high-resolution precipitation field, are acquired, including land-sea mask and preset physical variables; among which the preset physical variables include surface air pressure, 2-meter temperature, relative humidity, and 10-meter wind speed. Step S1.2: Convert the high-resolution precipitation field Perform average pooling downsampling to generate a low-resolution precipitation field. : ; in, This indicates average pooling downsampling; Step S1.3: Use bicubic interpolation to convert the low-resolution precipitation field... The grid was restored to be consistent with the high-resolution precipitation field, and the upsampled low-resolution precipitation field was obtained. ; Step S1.4: Convert the high-resolution precipitation field Compared with upsampled low-resolution precipitation fields Perform a logarithmic transformation: ; ; in, This represents the upsampled low-resolution precipitation field after logarithmic transformation. This represents the high-resolution precipitation field after logarithmic transformation. Represents logarithmic transformation; The surface air pressure, 2-meter temperature, relative humidity, and 10-meter wind speed in the auxiliary variables are standardized to form six-channel input data. as follows: ; in, This represents the upsampled low-resolution precipitation field after logarithmic transformation. Indicates surface air pressure. Indicates the temperature at 2 meters. Indicates relative humidity. This indicates a wind speed of 10 meters per second. Indicates a land cover. This indicates standardized processing.

3. The spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 2, characterized in that, In step S2: The physical variable input branch includes a multi-scale physical encoder, which takes in preset physical variables from the auxiliary variables and extracts physical features at different spatial scales. The multi-scale physical encoder consists of three hierarchical structures, with the first hierarchical structure containing two... The convolutional layer, the second layer structure, successively contains an average pooling layer, and two... The convolutional layer, the third layer structure, successively contains one average pooling layer, two... The convolutional layer, with its three hierarchical structure, extracts physical features at their respective spatial scales.

4. The spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 3, characterized in that, In step S2: The precipitation reconstruction backbone input branch includes the precipitation reconstruction backbone network, which includes an encoder, a bottleneck module, and a decoder. The encoder's input branch upsamples the low-resolution precipitation field and the land-sea mask from auxiliary variables to extract the main precipitation features. The encoder contains three hierarchical structures, corresponding to the physical features at three spatial scales output by the multi-scale physical encoder. The first hierarchical structure of the encoder contains two physical modulation modules and one... The convolutional layer, the second layer structure, successively contains two physical modulation modules and one... The convolutional layer, the third layer structure, contains two physical modulation modules in sequence; In the physical modulation module of each level of the encoder, the following calculations are performed for the main precipitation characteristics and physical characteristics at the same spatial scale: ; ; in, and Modulation parameters generated for physical characteristics, Indicates group normalization, This represents the physical modulation characteristics output by the physical modulation module. Indicates the main precipitation characteristics, Indicates physical characteristics.

5. A spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 4, characterized in that, In step S2: The bottleneck module of the precipitation reconstruction backbone network includes a residual bottleneck block and an SE channel attention block; the residual bottleneck block is input to the features output from the third level of the encoder, and the input features of the residual bottleneck block are denoted as... , in, Indicates batch size. This indicates the number of basic characteristic channels in the precipitation-reconstructed backbone network. and These represent the grid height and grid width of a high-resolution precipitation field, respectively. This represents the number of input feature channels for the residual bottleneck block. and These represent the grid height and grid width of the high-resolution precipitation field after being downsampled four times, respectively. In the residual bottleneck block, the input features First, it goes through a group normalization layer, the SiLU activation function, and the first... Convolutional layer, SiLU activation function and second Convolutional layers yield residual mappings. Subsequently, the residuals are mapped. Input features By performing element-wise addition, the bottleneck residual characteristics are obtained: ; in, Indicates the bottleneck residual characteristics; Bottleneck residual characteristics Further input to the SE channel attention block; the SE channel attention block first focuses on the bottleneck residual features. Global average pooling is performed to obtain the channel statistics vector; then the channel data is passed through the first linear layer and the second linear layer in sequence. The first linear layer reduces the number of channels from... Compress to , The compression ratio is used; the second linear layer reduces the number of channels from... Restore to The SiLU activation function is used between the first and second linear layers, and the channel attention weights are finally generated using the Sigmoid activation function. ; in, Indicates channel attention weights. , Indicates global average pooling. This represents the SiLU activation function. and These represent the linear mapping parameters for the first linear layer and the second linear layer, respectively. This represents the Sigmoid activation function; Channel attention weights Along spatial dimensions and After broadcasting, the characteristics of the bottleneck residuals By multiplying each channel sequentially, we obtain the output characteristics of the bottleneck module: ; in, This represents element-wise multiplication. This indicates the output characteristics of the bottleneck module.

6. The spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 5, characterized in that, In step S2: The output features of the bottleneck module of the precipitation reconstruction backbone network are input into the decoder. The decoder contains two hierarchical structures, which are skip-connected to the hierarchical structures of the encoder at the same scale. The first hierarchical structure of the decoder contains an upsampling layer and a... The first layer consists of a convolutional layer and two residual blocks; the second layer structure contains an upsampling layer and a... Convolutional layer, two residual blocks; final output backbone features , as a high-resolution precipitation feature.

7. A spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 6, characterized in that, In step S3, the main features are... Physical characteristics Input physical perception channel attention block; among which, backbone features Physical characteristics , This indicates the number of basic characteristic channels in the precipitation-reconstructed backbone network. Representing physical characteristics Number of channels; The main feature branches of the attention block in the physical perception channel first address the main features. Perform global average pooling to obtain the backbone channel description vector: ; in, Indicates global average pooling. This represents the description vector of the main channel; The physical context branch of the attention block in the physical perception channel first considers physical features. Global average pooling is performed, and then a projection transformation is applied to map the vector to a channel space that matches the backbone features, resulting in a physical channel description vector: ; in, Represents the physical channel description vector. Indicates projection transformation; Describing the main channel Physical channel description vector By concatenating along the channel dimension, we obtain the joint channel description vector: ; in, This represents vector concatenation. Represents the joint channel description vector; The joint channel description vector is input into the MLP bottleneck layer, which consists of two layers. The convolutional layer uses the SiLU activation function in the middle, and finally uses the Sigmoid activation function to generate sample adaptive channel attention weights: ; in, and These represent the two bottleneck layers in the MLP, respectively. Parameters of convolutional layers, This represents the SiLU activation function. Adaptive channel attention weights for samples; The generated samples will be adapted with channel attention weights and backbone features. By multiplying each channel sequentially, we obtain the physical sensing channel recalibration features: ; in, This indicates the recalibration characteristics of the physical sensing channel; Precipitation residuals in logarithmic space are predicted by outputting convolutional layers, and these residuals are then compared with the logarithmically transformed upsampled low-resolution precipitation field. Add them together to obtain the predicted logarithmic precipitation field. : ; In the formula, For the learned residual mapping, These are model parameters; As an auxiliary variable, This represents the upsampled low-resolution precipitation field after logarithmic transformation; Predicting the logarithmic precipitation field Spatial precipitation converted back to millimeter units: ; in, This represents the predicted high-resolution precipitation field; It is a natural exponential function; If a negative value is found, it is truncated to obtain the predicted high-resolution precipitation field.

8. A spatial downscaling method for precipitation based on a physically-sensing cross-scale spectral network according to claim 7, characterized in that, In step S4, the joint loss function is constructed as follows: ; In the formula, For the joint loss function, This represents the log-space reconstruction loss function. Represents the structural similarity loss function. This represents the Fourier frequency domain consistency loss function. Represents the scale consistency loss function. This represents the loss function for auxiliary classification of multi-threshold precipitation events. , , , and These are the weight coefficients for the log-space reconstruction loss function, structural similarity loss function, Fourier frequency domain consistency loss function, scale consistency loss function, and multi-threshold precipitation event auxiliary classification loss function, respectively. The log-space reconstruction loss function is: ; In the formula, Indicates the th element in the predicted logarithmic precipitation field. The value of each element, Represents the th high-resolution precipitation field after logarithmic transformation The value of each element, This represents the total number of elements involved in the calculation of the logarithmic space reconstruction loss; The structural similarity loss function is: ; in, This represents the total number of elements involved in the calculation of structural similarity loss; Indicates the first [unit] in the predicted high-resolution precipitation field Local mean of elements; Represents the first in a true high-resolution precipitation field Local mean of elements; Indicates the first [unit] in the predicted high-resolution precipitation field Local variance of each element; Represents the first in a true high-resolution precipitation field Local variance of each element; This represents the first [unit] in the predicted high-resolution precipitation field and the actual high-resolution precipitation field. Local covariance of each element; , These are the stability constants, For additional denominator stabilizing terms; The Fourier spectral consistency loss function is: ; ; ; In the formula, Represents a two-dimensional Fourier transform. This represents the Fourier amplitude spectrum of the predicted high-resolution precipitation field. The Fourier amplitude spectrum represents the true high-resolution precipitation field. This represents the total number of frequency domain elements involved in the Fourier spectral consistency loss calculation. This represents the predicted high-resolution precipitation field. Represents a true high-resolution precipitation field. The Fourier amplitude spectrum representing the true high-resolution precipitation field. The value of each element, The fourth element in the Fourier amplitude spectrum of the predicted high-resolution precipitation field represents the... The value of each element; The scale consistency loss function is: ; In the formula, This indicates that both the pooling kernel size and step size are 1. The non-overlapping average pooling operator, Indicates the downsampling scaling factor. This represents the total number of elements involved in the scale consistency loss calculation after average pooling. Indicates the first [unit] in the predicted high-resolution precipitation field The value of each element, Represents the first in a true high-resolution precipitation field The value of each element; The loss function for multi-threshold precipitation event auxiliary classification is: ; In the formula, For the predicted k-th threshold at pixel The probability of exceeding the limit at a certain point; Indicates the k-th threshold at pixel The label at the location, Total number of thresholds: ; in, For the k-th threshold, For indicator functions; According to the joint loss function Backpropagation and updating of network parameters; Repeat the preset number of training rounds until the preset number of training rounds is reached or the precipitation super-resolution network converges, and the trained precipitation super-resolution network is obtained.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that, When the processor executes the computer program, it implements a precipitation spatial downscaling method based on a physically-aware cross-scale spectral network as described in any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements a precipitation spatial downscaling method based on a physically-aware cross-scale spectral network as described in any one of claims 1-8.