SO₂ gas analysis