Petroleum liquids - automatic pipeline sampling