Evaluation of the computation of wave direction with three-gage arrays