A sample catch system for cleaning a drilling fluid in a drilling operation, the sample catch system comprising: a first line comprising a first entrance valve configured to allow the drilling fluid to flow into the first line, a first chemical sensor (14, 17) configured to measure a first amount of hydrogen sulfide of the drilling fluid in the first line, and a first sample catch valve (8, 11) configured to allow the drilling fluid to flow out of the first line; a second line comprising a second entrance valve configured to allow the drilling fluid to flow into the second line, a second chemical sensor (15, 18) configured to measure a second amount of hydrogen sulfide of the drilling fluid in the second line, and a second sample catch valve (9, 12) configured to allow the drilling fluid to flow out of the second line; a sample catch pump operatively connected to the first sample catch valve and the second sample catch valve via a sample catch line (68, 72), the sample catch pump configured to pump the drilling fluid from the first line or the second line and remove unwanted material from the drilling fluid; and a controller operatively connected to the first entrance valve, the first chemical sensor, the first sample catch valve, the second entrance valve, the second chemical sensor, the second sample catch valve, and the sample catch pump, wherein the controller is configured to: determine the first amount of hydrogen sulfide is above a predetermined threshold value; at least partially open the second entrance valve to divert drilling fluid intake from the first line to the second line; and close the first entrance valve to stop the drilling fluid from entering the first line. a first line comprising a first entrance valve configured to allow the drilling fluid to flow into the first line, a first chemical sensor (14, 17) configured to measure a first amount of hydrogen sulfide of the drilling fluid in the first line, and a first sample catch valve (8, 11) configured to allow the drilling fluid to flow out of the first line; a second line comprising a second entrance valve configured to allow the drilling fluid to flow into the second line, a second chemical sensor (15, 18) configured to measure a second amount of hydrogen sulfide of the drilling fluid in the second line, and a second sample catch valve (9, 12) configured to allow the drilling fluid to flow out of the second line; a sample catch pump operatively connected to the first sample catch valve and the second sample catch valve via a sample catch line (68, 72), the sample catch pump configured to pump the drilling fluid from the first line or the second line and remove unwanted material from the drilling fluid; and a controller operatively connected to the first entrance valve, the first chemical sensor, the first sample catch valve, the second entrance valve, the second chemical sensor, the second sample catch valve, and the sample catch pump, wherein the controller is configured to: determine the first amount of hydrogen sulfide is above a predetermined threshold value; at least partially open the second entrance valve to divert drilling fluid intake from the first line to the second line; and close the first entrance valve to stop the drilling fluid from entering the first line. determine the first amount of hydrogen sulfide is above a predetermined threshold value; at least partially open the second entrance valve to divert drilling fluid intake from the first line to the second line; and close the first entrance valve to stop the drilling fluid from entering the first line.