Severe weather Warnings, watches and advisories

How do we measure CO2 in the atmosphere?