This should remedy the situation vis-a-vis CTD end-point flagging as mentioned earlier this morning. It will also remove a large number of problems associated with editing of tidal data. Steve