%% CalCOFI Line 66
CalCOFI = readtable("CalCOFIStationOrder.csv");
CalCOFI67 = CalCOFI(CalCOFI.Line == 66.7,["Sta","Lat_dec_","Lon_dec_"]);
CalCOFI67.Properties.VariableNames = ["Station","Lat","Lon"];
CalCOFI67Description = strsplit(num2str((CalCOFI67.Station')));

%% M1 and C1
M1Lat = 36.75901;
M1Lon = -122.02019;
% need to add C1

%% Spray 034
SprayLatHist = s.lat(end-4:end-1);
SprayLonHist = s.lon(end-4:end-1);
SprayLat = s.lat(end);
SprayLon = s.lon(end);
%% Datetimes
date = datetime(datevec(s.sdn_(2,:))); 
date.TimeZone = "UTC"; % Set timezone for the datetime var type
date.TimeZone = "America/Los_Angeles"; % change timezone to local
SprayHistDescription = cellstr(date(end-4:end-1))';
SprayDescription = cellstr(date(end))';

% wm = webmap("National Geographic Map");
wm = webmap("DeLorme World Basemap");
wmmarker(CalCOFI67.Lat,CalCOFI67.Lon,"Description",CalCOFI67Description,"Icon","CalCOFILogo.png","OverlayName",'CalCOFI Line 67')
wmmarker(M1Lat,M1Lon,"Description",'MBARI Mooring',"Icon","M1_buoyriding_72.png","OverlayName",'M1','IconScale',2)
wmmarker(SprayLatHist,SprayLonHist,"Icon","spray-glider.png","OverlayName","Spray 034 Location History","Alpha",.2,"IconScale",2,"Description",SprayHistDescription)
wmmarker(SprayLat,SprayLon,"Icon","spray-glider.png","OverlayName","Spray 034 Location","Alpha",1,"IconScale",2,"Description",SprayDescription)