A physics-guided deep learning approach for 3D ocean temperature forecasting
By introducing the seawater state equation and the monotonically increasing density of the deep learning model to design a physically guided loss function, the problem of high computational cost and physical inconsistency in ocean temperature and salinity forecasting is solved, and a more accurate and interpretable three-dimensional model is achieved. Ocean temperature forecast provides technical support for long-term forecasts of ocean temperature.
Patent Information
- Application Number
- CN202311687588.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-10
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-12-10
AI Technical Summary
Existing technologies suffer from high computational cost, insufficient model versatility, physical inconsistency, and poor model interpretability in ocean temperature and salinity forecasting, especially when dealing with multivariate heterogeneous data and nonlinear relationships.
Adopt a deep learning method based on physical guidance, use the ConvLSTM model to combine the seawater state equation and density monotonically increasing to design a physically guided loss function, build a PG_ConvLSTM model, fully capture the spatiotemporal characteristics of ocean temperature and salt data, and guide model training through physical information to Improve forecast accuracy and consistency.
It achieves a more accurate and interpretable three-dimensional ocean temperature forecast, enhances the physical consistency and interpretability of the model, and provides technical support for long-term ocean temperature forecasts, with strong scalability and versatility.
Smart Images

Figure CN117706657B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the intersection of computer, meteorology and oceanography, and specifically relates to a deep learning three-dimensional ocean temperature forecasting method based on physics guidance, which is suitable for accurate forecasting of three-dimensional ocean temperature. Background Art
[0002] Ocean temperature and salinity, as basic climate variables, can describe the most basic properties of seawater. They are important indicators for showing changes in the climate system and are also important analytical indicators for other basic ocean research. Ocean temperature and salinity play a vital role in ocean circulation, global climate and biological systems. At the same time, ocean temperature and salinity also determine the density of seawater. Understanding the temperature field and salinity field is very necessary for understanding and utilizing the ocean.
[0003] The prediction of ocean temperature, salinity and other factors using ocean surface information is usually divided into two categories: dynamics-based methods and statistics-based methods. Among them, dynamics-based numerical simulation is the most widely used method in various research institutions. This method is highly targeted and follows basic physical laws. However, facing massive multivariate heterogeneous data, this method has problems such as high computational cost and insufficient model versatility, making it difficult to efficiently analyze and mine data. In addition, the numerical method itself is a discrete approximate calculation method. How to correctly express the interaction between various physical parameters, parameterize physical processes, set initial values and boundaries, and solve multi-parameter nonlinear partial differential equations are all challenging problems. Statistical methods can be roughly divided into traditional statistical methods, empirical methods, machine learning methods, and deep learning methods. Traditional statistical methods and empirical methods are mostly based on (multi) linear regression or decomposition of empirical models, and cannot properly reveal and establish nonlinear relationships between available predictor variables and target variables. Machine learning methods and deep learning methods can learn the mapping relationship between variables by statistically analyzing a large amount of ocean observation data, and have the advantage of low computational cost. However, the model interpretability issues caused by the black-box nature of deep learning methods and possible physical inconsistencies make them face many problems in ocean-related research with serious physical and chemical properties.
[0004] In recent years, concepts of machine learning based on physics guidance have emerged one after another, and some scholars have applied this idea to solving partial differential equations, data generation, sequence data prediction, fluid flow prediction, etc. By using physical information as input features to achieve physical guidance initialization, adding physical guidance loss functions to guide model training, or designing physical guidance machine learning models in a hard-coded manner, the results show that the introduction of physical information has achieved certain effectiveness in improving prediction accuracy, minimizing training loss, maintaining physical consistency, and enhancing model interpretability. Summary of the invention
[0005] Based on the effectiveness of machine learning guided by physics, and in order to solve or at least alleviate the above problems, the present invention proposes a deep learning three-dimensional ocean temperature forecasting method based on physics guidance. The method uses the ConvLSTM model as the skeleton to fully capture the spatiotemporal characteristics of temperature and salinity data, and fully integrates the relationship between the upper and lower layer temperature, salinity and density when calculating the loss, integrates physical information with data-driven methods, realizes ocean temperature forecasting based on physics guidance, and provides technical support for the long-term forecast of ocean temperature.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A physics-guided deep learning three-dimensional ocean temperature forecasting method includes the following steps:
[0008] Step S1: Obtaining raw data of ocean surface temperature and salinity;
[0009] Furthermore, the data set in step S1 comes from the Hadley Centre of the UK Meteorological Office, which is the EN4.2.1 data set. Download data from 1940 to 2018 for a total of 79 years, converted by month, for a total of 948 months of data.
[0010] Step S2: Preprocess the original data to construct the data set required for the model. The specific process is as follows:
[0011] Step S2.1: Splice the ocean temperature and salinity data in monthly units, select the area to be studied according to longitude, latitude and depth, and handle missing values. For longitude and latitude selection: you can choose according to the actual research situation. For example, if you study the changes in ocean temperature in the Pacific near the equator, the longitude and latitude range can be selected in (92°E~ 330°E, 20°S~ 20°N); for depth selection: if you only predict the changes in ocean surface temperature, select the temperature and salinity data at three underwater depths. For example, the depth can be 5 meters, 10 meters and 50 meters; if you need to predict the entire vertical change trend of ocean temperature, increase the vertical dimension of the data according to the actual situation, corresponding to , Indicates Depth level n d Indicates the total number of vertical depth layers; Missing value processing method: If the four adjacent grids above, below, left and right of the grid point where the missing value is located have normal values, the average value of these four grid points is assigned to the missing value; in other cases, the missing value at the grid is directly set to 0;
[0012] Step S2.2 Select the historical time step and the prediction time step: When the time resolution of the selected data is the monthly average, since the changes in ocean temperature and salinity have interannual and seasonal trends, when predicting the temperature change trend in the next year, the historical time step is set to a multiple of 12, for example, it can be set to 24, and the prediction time step is 1, 2, ..., 12; then the temperature and salinity data processed by S2.1 are made into the input data set according to the selected historical time step through the sliding window method With the corresponding label dataset , and The shapes are (samples, n_seq_in, depth, rows, cols) and (samples, n_seq_out, depth, rows, cols), where samples is the number of samples, n_seq_in is the input historical time step, and n_seq_out is the output prediction time step; depth, rows, and cols represent the depth, latitude, and longitude of the data, respectively;
[0013] Step S2.3 takes the input data set obtained in step S2.2 And label dataset Split into training set, test set and validation set respectively. When step S1.1 obtains 948 months of data, the ratios of training set, test set and validation set are set to 0.8, 0.1, 0.1 respectively, and the corresponding number of samples in training set, test set and validation set are 758, 95, 95 respectively.
[0014] Step S2.4 normalizes the training set, test set, and validation set separated in step S2.3 by deviation, so that the results are normalized to [0, 1]. The deviation normalization formula is:
[0015] ;
[0016] in, represents the new sample after normalization, represents the original sample, represents the maximum value of the sample data, Indicates the minimum value of the sample data.
[0017] Step S3: Designing a physics-guided loss function
[0018] One of the key points of the present invention is physical guidance, that is, how to introduce physical information to guide model training, input samples, and obtain more accurate prediction results. Therefore, before building a machine learning model based on physical guidance, it is necessary to determine what physical information to introduce, how to represent the physical information, and how the physical information guides the machine learning model to learn. Because the loss function plays a vital role in guiding parameter optimization and model training, and because the seawater state equation describes the functional relationship between the physical properties of seawater such as ocean temperature, density, and salinity. Design a physically guided loss function to guide model training and optimization by introducing relevant physical information into the loss function:
[0019] ;
[0020] in, For the overall loss, For experience loss, For physical losses, is the regularization term, is the true value label, is the model prediction value, and is the hyperparameter of the corresponding item.
[0021] The formula for calculating experience loss is:
[0022]
[0023] in, and The models are Always for the The predicted value and true value of the depth layer data are .
[0024] The formula for calculating physical loss is:
[0025]
[0026] in is the density difference between the upper and lower layers, The calculation formula is:
[0027]
[0028] in, and Respectively represent Moment depth layers and The density of each depth layer. Under normal circumstances, the upper layer of the ocean heated by solar radiation has a higher temperature and a lower density, which leads to the characteristics that the temperature of the seawater decreases with depth and the density increases with depth. The density of the upper seawater is less than that of the lower seawater. If the model prediction results violate this law, it means that the temperature prediction value lacks physical consistency. Therefore, in order to make the model follow the physical law of monotonically increasing density of the upper seawater, and fully consider the spatial relationship between the temperature and salinity of the upper and lower layers during the model learning process, the density difference between the upper and lower seawater layers is calculated in the loss function, and the total number of upper and lower density differences greater than 0 is counted, and a cumulative value is obtained through RELU function activation. Finally, this value is continuously minimized through model training, thereby achieving the purpose of introducing physical laws.
[0029] The density value of the current depth layer is calculated using the 1980 International Seawater State Equation (EOS80) under standard atmospheric pressure. The EOS80 formula is:
[0030]
[0031] in,
[0032]
[0033]
[0034]
[0035]
[0036] in, is the density of seawater at standard atmospheric pressure, , is the density of base water, represents salinity, represents temperature, Indicated at a standard atmospheric pressure Down.
[0037] Step S4: Construct a physics-guided PG_ConvLSTM deep learning model to fully capture the spatiotemporal characteristics of ocean temperature and salinity data; at the same time, introduce the physics-guided loss function designed in step S3 to guide model training and parameter optimization. The details are as follows:
[0038] Step S4.1: Build a deep learning environment, install the deep learning library Keras on the server, and use the TensorFlow framework as the backend; the TensorFlow version is 2.3, the Keras version is 2.4, and the Python version is 3.8;
[0039] Step S4.2 Build a physics-guided PG_ConvLSTM model based on Keras, including 3 ConvLSTM2D layers, 3 Dropout layers and a Conv3D layer: The first layer of the model is a ConvLSTM2D layer, and the input is the data preprocessed by S2. In the training phase, the input data shape is (train_samples, n_seq_in, rows, cols, channels). The parameters of this layer are set to: ConvLSTM2D(filters=10,kernel_size=(3,3),activation='relu', padding='same', input_shape=(None, rows, cols, channels),return_sequences=True ).Among them, filters is the number of convolution kernels, kernel_size is the size of the convolution kernel, which is set to (3,3), activation='relu' means that this layer uses "relu" as the activation function, padding='same' means that the data padding method is "same", which is used to ensure that the original data information is not discarded, and the padding method is set to "same" to evenly fill the values to the left / right or top / bottom of the input so that the output has the same height / width size as the input, return_sequences=True means that this layer outputs the hidden state of each time step to the next layer; the second layer of the model is a Dropout layer with a ratio of 0.3 to prevent overfitting; the third layer of the model is a ConvLSTM2D layer, and the parameters of this layer are set as follows: ConvLSTM2D(filters=10, kernel_size=(3,3), activation='relu', padding='same', return_sequences=True), which is similar to the first layer, except that the input it receives is the output of the previous layer, and there is no need to specify the input size through the input_shape parameter; the fourth layer of the model is a Dropout layer with a ratio of 0.3; the fifth layer of the model is a ConvLSTM2D layer, and the parameter settings of this layer are consistent with the third layer; the sixth layer of the model is a Dropout layer with a ratio of 0.3; the last layer of the model is a Conv3D layer, and its parameters are set to Conv3D(filters=27, kernel_size=(3, 3, 3), activation='sigmoid', padding='same', data_format='channels_last'), where filters is the number of convolution kernels and kernel_size is the size of the convolution kernel, which is set to (3, 3, 3), activation='sigmoid' means that this layer uses "sigmoid" as the activation function, padding='same' means that the data padding method is "same", and data_format='channels_last' means that the original data channel is after rows and cols. In the training phase, after the last layer, the output data shape of the model is (train_samples, n_seq_out, rows, cols, channels);.
[0040] Step S4.3 sets hyperparameters and evaluation indicators for the model built in S4.2, and trains the model. The specific settings are as follows:
[0041] S4.3.1 Hyperparameters are parameters set before starting the learning process, including learning rate, epochs, batch size, and model optimizer. The learning rate of the model is initially set to 0.001, and ReduceLROnPlateau is called through the callback list callbacks for dynamic descent updates; the number of epochs and batch size batch_size are set to 30 and 32 respectively, and the model optimizer is set to Adam. The model evaluation metric is RMSE (Root Mean Squared Error), and the model loss function is the physics-guided loss function designed in step S3.
[0042] S4.3.2 For model training, first call the built-in model.compile(loss, optimizer, metrics) function of Keras to compile the PG_ConvLSTM model, and iteratively update the optimal parameter settings of the model by minimizing the physically guided loss function designed by S3; then, call the built-in model.fit function of Keras to fit the PG_ConvLSTM model to train the optimal model; finally, call the built-in model.evaluate function of Keras to evaluate the PG_ConvLSTM model.
[0043] Step S5: Use the finally trained PG_ConvLSTM model to realize three-dimensional ocean temperature forecast.
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] The present invention provides a deep learning three-dimensional ocean temperature forecasting method based on physics guidance. The method constructs a PG_ConvLSTM model based on physics guidance. The model realizes three-dimensional ocean temperature intelligent forecasting based on physical information guidance by introducing physical information such as the seawater state equation and the monotonically increasing density into the deep learning loss function. The forecasting result of the model with physical information added is significantly better than that of the benchmark model without physical information. At the same time, the model follows certain physical information during the training process, which enhances the interpretability and physical consistency of the model.
[0046] In addition, the physical information used in the present invention is a universal relationship, and the method can be directly extended to the forecast of other ocean variables such as ocean temperature and salinity data, which has strong scalability and versatility, providing possibility and technical support for the long-term forecast of ocean temperature. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 : Implementation flow chart of the method of the present invention;
[0048] Figure 2 :The change of sea temperature on the surface of the sea when the method PG_ConvLSTM of the present invention uses one year of historical data to predict the sea temperature of the next month is given. The horizontal axis represents longitude, the vertical axis represents latitude, and the heat map shows the different temperature values of sea temperature in different areas;
[0049] Figure 3 :The baseline model ConvLSTM of the method PG_ConvLSTM of the present invention is given. When using one year of historical data to predict the sea temperature of the next month, the sea surface temperature changes. Except for not adding physical losses, the other model parameters of this model are consistent with the PG_ConvLSTM model. The horizontal axis represents longitude, the vertical axis represents latitude, and the heat map shows the different temperature values of sea water temperature in different areas;
[0050] Figure 4 :Given the method of the present invention and Figure 2 Figure 3 The corresponding real label data. The horizontal axis represents longitude, the vertical axis represents latitude, and the heat map shows the different temperature values of sea water temperature in different areas. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] Figure 1 The implementation flow chart of the method of the present invention is given. The present invention provides a deep learning three-dimensional ocean temperature forecasting method based on physical guidance. First, the sea surface temperature and salinity data set EN4.2.1 of the Hadley Center of the British Meteorological Office is obtained, and the data is preprocessed to obtain samples and labels. Then, a physical guidance loss function is designed, and a physical guidance deep learning model PG_ConvLSTM is constructed. The PG_ConvLSTM model is trained using the training set, and finally the trained PG_ConvLSTM model is used to perform three-dimensional temperature forecasting. While fully considering the extraction of time and space relationships, the present invention introduces physical information based on the temperature-salinity-density relationship, which makes up for the physical inconsistency problem caused by the existing pure data-driven method that does not fully consider physical information, and at the same time improves the forecast accuracy.
[0053] Figure 2The change of sea temperature at the surface of the sea when the method PG_ConvLSTM of the present invention uses one year of historical data to predict the sea temperature of the next month is given. The horizontal axis represents longitude, the vertical axis represents latitude, and the heat map shows the different temperature values of sea temperature in different areas.
[0054] Figure 3 The benchmark model ConvLSTM of the method PG_ConvLSTM of the present invention is given. When the sea temperature of the next month is predicted using one year of historical data, the sea temperature change of the surface layer of the sea is given. Except for the physical loss, the other model parameters of the model are consistent with the PG_ConvLSTM model. The horizontal axis represents longitude, the vertical axis represents latitude, and the heat map shows the different temperature values of sea water temperature in different areas.
[0055] Figure 4 The method and Figure 2 Figure 3 The corresponding real label data. The horizontal axis represents longitude, the vertical axis represents latitude, and the heat map shows the different temperature values of sea water temperature in different areas.
[0056] Calculate separately Figure 2 , Figure 3 Each grid point is Figure 4 The MAE, MSE and RMSE between the real label data in the table show that PG_ConvLSTM performs significantly better than ConvLSTM. Figure 2 , 3, 4 as an example, Figure 2 and Figure 4 The average MAE, MSE and RMSE are 0.437, 0.407 and 0.638 respectively; Figure 3 and Figure 4 The average MAE, MSE and RMSE are 0.563, 0.684 and 0.827 respectively.
[0057] The present invention has achieved significant implementation effects in typical embodiments. The deep learning three-dimensional ocean temperature forecasting method based on physical guidance has superior performance. The introduction of the seawater state equation and density monotonicity in the loss function makes the model more interpretable and follows stronger physical consistency. In addition, the physical information used in the present invention is a universal relationship, and the method can be directly extended to other ocean variable forecasts similar to those with ocean temperature and salinity data, with strong scalability and versatility. It provides possibility and technical support for long-term forecasts of ocean temperature.
Claims
1. A physics-guided deep learning three-dimensional ocean temperature forecasting method, characterized in that: The method comprises the following steps: Step S1: Obtaining raw data of ocean surface temperature and salinity; Step S2: Preprocess the original data to construct the data set required for the model. The specific process is as follows: Step S2.1: Combine the ocean temperature and salinity data in monthly units, select the study area based on longitude, latitude and depth, and handle missing values; Step S2.2 Select the historical time step and the prediction time step: When the time resolution of the selected data is the monthly average, since the changes in ocean temperature and salinity have interannual and seasonal trends, when predicting the temperature change trend in the next year, the historical time step is set to a multiple of 12, and the prediction time step is 1, 2, ..., 12; Then, the temperature-salinity data processed by S2.1 are made into input data sets according to the selected historical time step by sliding window method. With the corresponding label dataset , and The shapes are (samples, n_seq_in, depth, rows, cols) and (samples, n_seq_out, depth, rows, cols), where samples is the number of samples, n_seq_in is the input historical time step, and n_seq_out is the output prediction time step; depth, rows, and cols represent the depth, latitude, and longitude of the data, respectively; Step S2.3 takes the input data set obtained in step S2.2 And label dataset Split into training set, test set and validation set respectively; Step S2.4 normalizes the training set, test set, and validation set separated in step S2.3 by deviation, so that the results are normalized to [0, 1]. The deviation normalization formula is: ; in, represents the new sample after normalization, represents the original sample, represents the maximum value of the sample data, Indicates the minimum value of sample data; Step S3: Designing a physics-guided loss function Design a physics-guided loss function to guide model training and optimization by introducing relevant physical information into the loss function: in, For the overall loss, For experience loss, For physical losses, is the regularization term, is the true value label, is the model prediction value, and is the hyperparameter of the corresponding item; The formula for calculating experience loss is: in, and The models are Always for the The predicted value and true value of the depth layer data are ; The formula for calculating physical loss is: in is the density difference between the upper and lower layers, The calculation formula is: in, and Respectively represent Moment depth layers and The density of each depth layer; in order to make the model follow the physical law that the density of the upper seawater increases monotonically, and to fully consider the spatial relationship between the temperature and salinity of the upper and lower layers during the model learning process, the density difference between the upper and lower layers of seawater is calculated in the loss function, and the total number of upper and lower density differences greater than 0 is counted, and a cumulative value is obtained by activating the RELU function. Finally, the value is continuously minimized through model training, thereby achieving the purpose of introducing physical laws; Step S4: Construct a physics-guided PG_ConvLSTM deep learning model to fully capture the spatiotemporal characteristics of ocean temperature and salinity data; at the same time, introduce the physics-guided loss function designed in step S3 to guide model training and parameter optimization; the details are as follows: Step S4.1: Build a deep learning environment, install the deep learning library Keras on the server, and use the TensorFlow framework as the backend; Step S4.2 Build a physics-guided PG_ConvLSTM model based on Keras, including 3 ConvLSTM2D layers, 3 Dropout layers and one Conv3D layer: The first layer of the model is a ConvLSTM2D layer, and its input is the data preprocessed by S2. In the training phase, its input data shape is (train_samples, n_seq_in, rows, cols, channels); The parameters of this layer are set as: ConvLSTM2D(filters=10, kernel_size=(3,3), activation='relu', padding='same', input_shape=(None, rows, cols, channels), return_sequences=True ), where filters is the number of convolution kernels and kernel_size is the size of the convolution kernel, which is set to (3, 3), activation='relu' means that this layer uses "relu" as the activation function, padding='same' means that the data padding method is "same", which is used to ensure that the original data information is not discarded. The padding method is set to "same" to evenly fill the values to the left / right or top / bottom of the input so that the output has the same height / width size as the input. return_sequences=True means that this layer outputs the hidden state of each time step to the next layer; the second layer of the model is a Dropout layer with a ratio of 0.3 to prevent overfitting; the third layer of the model is a ConvLSTM2D layer, and the parameters of this layer are set as: ConvLSTM2D(filters=10, kernel_size=(3,3), activation='relu', padding='same', return_sequences=True), which is similar to the first layer, except that the input it receives is the output of the previous layer, and there is no need to specify the input size through the input_shape parameter; the fourth layer of the model is a Dropout layer with a ratio of 0.3; the fifth layer of the model is a ConvLSTM2D layer, and the parameter settings of this layer are the same as those of the third layer; the sixth layer of the model is a Dropout layer with a ratio of 0.3; The last layer of the model is a Conv3D layer, and its parameters are set to Conv3D(filters=27, kernel_size=(3, 3, 3), activation='sigmoid', padding='same', data_format='channels_last'), where filters is the number of convolution kernels, kernel_size is the size of the convolution kernel, which is set to (3, 3, 3), activation='sigmoid' means that this layer uses "sigmoid" as the activation function, padding='same' means that the data padding method is "same", and data_format='channels_last' means that the original data channel is after rows and cols; In the training phase, after the last layer, the output data shape of the model is (train_samples, n_seq_out, rows, cols, channels);. Step S4.3 sets hyperparameters and evaluation indicators for the model built in S4.2, and trains the model; the details are as follows: S4.3.1 Hyperparameters are the parameters set before starting the learning process, including learning rate, epochs, batch size, and model optimizer: the learning rate of the model is initially set to 0.001, and ReduceLROnPlateau is called through the callback list callbacks for dynamic descent updates; the epochs and batch size are set to 30 and 32 respectively, the model optimizer is set to Adam, the model evaluation metric is RMSE, and the model loss function is the physics-guided loss function designed in step S3; S4.3.2 For model training, first call the Keras built-in model.compile(loss, optimizer, metrics) function to compile the PG_ConvLSTM model, and iteratively update the model parameters to determine the optimal settings by minimizing the physical guidance loss function designed by S3; then, call the Keras built-in model.fit function to fit the PG_ConvLSTM model to train the optimal model; finally, call the Keras built-in model.evaluate function to evaluate the PG_ConvLSTM model; Step S5: Use the finally trained PG_ConvLSTM model to realize three-dimensional ocean temperature forecast.
2. A physics-guided deep learning three-dimensional ocean temperature forecasting method according to claim 1, characterized in that: The data set in step S1 comes from the Hadley Centre of the UK Meteorological Office, and is the EN4.2.1 data set.
3. A physics-guided deep learning three-dimensional ocean temperature forecasting method according to claim 1, characterized in that: In step S2.1, for longitude and latitude selection: select according to the actual research situation; for depth selection: if only the change of ocean surface temperature is predicted, the temperature and salinity data of three underwater depths are selected; if the entire vertical change trend of ocean temperature is to be predicted, the vertical dimension of the data is increased according to the actual situation, corresponding to , Indicates Depth Layer Indicates the total number of vertical depth layers; Missing value processing method: If the four adjacent grids above, below, left and right of the grid point where the missing value is located have normal values, the average value of these four grid points is assigned to the missing value; in other cases, the missing value at the grid is directly set to 0.
4. A physics-guided deep learning three-dimensional ocean temperature forecasting method according to claim 1, characterized in that: In step S2.3, when step S1.1 obtains 948 months of data, the ratios of the training set, test set, and validation set are set to 0.8, 0.1, and 0.1, respectively. The corresponding numbers of samples in the training set, test set, and validation set are 758, 95, and 95, respectively.
5. A physics-guided deep learning three-dimensional ocean temperature forecasting method according to claim 1, characterized in that: In step S3, the density value of the current depth layer is calculated using the 1980 international seawater state equation EOS80 under a standard atmospheric pressure; the EOS80 formula is: in, in, is the density of seawater at standard atmospheric pressure, , is the density of base water, represents salinity, represents temperature, Indicates the pressure at standard atmosphere.
6. A physics-guided deep learning three-dimensional ocean temperature forecasting method according to claim 1, characterized in that: In step S4.1, the TensorFlow version is 2.3 and the Keras version is 2.4.
Citation Information
Patent Citations
A typhoon prediction method based on a deep learning hybrid CNN-LSTM model
CN109902885A
Three-dimensional ocean temperature and salt field forecasting method, system and equipment based on deep learning
CN116306318A
