% insert missionID and load this file in each directory
% ship head, bearing to auv, dist to auv (km)
% longitude west should be POSITIVE -- program bearing.m will adjust
% startrng includes ship head, bearing to auv, dist to auv (km)

missionID='2000.241.02';
surveydate='28 August 2000'; %for graph title

shipstart=[36 55.872 122 9.38] ; 
startrng =[307 58 120] ;          

shipend=[36 57.4 122 13.433] ;
endrng=[298 103 340];

ep([1 3])=bearing(shipstart,startrng);
ep([2 4])=bearing(shipend,endrng);
[dist phas]=sw_dist(ep([1 2]),ep([3 4]),'km');

