Physical variation of water vapor, and the relation with carbon dioxide