Greenhouse gases absorb and release a large amount of ground thermal radiation, and modify part of the energy between the earth and the atmosphere, so that it has a greenhouse effect. It is the main cause of global warming and climate anomaly caused by modern human activities. In order to solve the shortcomings of the existing research on the impact of greenhouse effect on the Earth’s atmosphere, this paper briefly introduces the numerical methods of radiation and heat conduction coupling, the components of the Earth’s atmosphere, and the sources and sinks of greenhouse gases. The calculation and analysis of spectral absorption coefficient and the configuration of super parameters of depth learning model are discussed. A numerical simulation of carbon dioxide concentration based on depth learning is constructed and the C02 concentration profile is calculated using the C02 statistical inversion flow of principal component analysis. The calculated temperatures of the standard atmosphere and the standard atmosphere with the carbon dioxide concentration doubled were compared. The data showed that the temperature in the upper stratosphere rose to 58.