Rise in global mean temperatures

Explain how scientists concluded that the sun is not causing the recent rise in global mean temperatures