Sampling and analysis of volcanic gases