Using k-means clustering to identify spatially and temporally consistent wave systems