Coastal agencies train to deal with potential major incidents