Methods of detecting carbon dioxide in downhole environments are provided. Near-infrared light is transmitted through a gas downhole. Indications of near-infrared absorptions are detected from the gas and used to determine the presence of carbon dioxide....http://www.google.com/patents/US6465775?utm_source=gb-gplus-sharePatent US6465775 - Method of detecting carbon dioxide in a downhole environment