Observational determination of the greenhouse effect