A comparison of automatic and manual wet chemical analysis of rocks