Ping 1D Bathymetric survey

When I am in shallow water (near the bank for example) the sonar readings reverse and get increasingly larger. 100mm or less will produce a reading of 20m+
Any way of editing this data out of the log?