The heat flux and the temperature gradient in the lower atmosphere