Temperature gradient in different layers of the atmosphere