Gas measurement protector