A framework for processing wave buoy measurements in the presence of current