Development of a method for determining the chemical oxygen demand of pickle manufacturing wastes