Text this: The development and testing of a system for the measurement of directional wave spectra in the nearshore coastal zone