A study of the earth's radiation budget using a general circulation model