Which gas has the greatest effect on weather?

Water vapor.