ssttime = datenum([2019 07 05 10 26 00]);
%ssttime = datenum([2019 07 04 10 38 00]);
%ssttime = datenum([2019 07 02 11 01 00]);
%ssttime = datenum([2019 07 01 13 21 00]);
%ssttime = datenum([2019 06 30 13 33 00]);
%ssttime = datenum([2019 06 28 21 33 00]);

addpath(genpath('/home/ho43760/cruise_dashboard/Matlab_fns/'))
cd /home/ho43760/cruise_dashboard/scripts
figdir = ['/home/ho43760/cruise_dashboard/figs/' datestr(ssttime,'yyyymmdd') '/'];
matdir = '/home/ho43760/cruise_dashboard/figs/sst/mat/';
bdata  = load('/home/ho43760/cruise_dashboard/bathymetry/ngdc2.mat');
mkdir(figdir)

sat_sst
saveas(1,[figdir 'satOOI_sst_' datestr(ssttime,'yyyymmdd') '.png'])
saveas(2,[figdir 'satMAB_sst_' datestr(ssttime,'yyyymmdd') '.png'])

roms_sst

roms_transects

saveas(3,[figdir 'ROMSOOI_sst_' datestr(ssttime,'yyyymmdd') '.png'])
saveas(4,[figdir 'ROMSOOI_sst_uvbar' datestr(ssttime,'yyyymmdd') '.png'])
saveas(5,[figdir 'ROMSOOI_sst_uvsurf' datestr(ssttime,'yyyymmdd') '.png'])
saveas(6,[figdir 'ROMSMAB_sst_' datestr(ssttime,'yyyymmdd') '.png'])
saveas(7,[figdir 'ROMSMAB_sst_uvbar' datestr(ssttime,'yyyymmdd') '.png'])
saveas(8,[figdir 'ROMSMAB_sst_uvsurf' datestr(ssttime,'yyyymmdd') '.png'])
saveas(9,[figdir 'ROMS_temp_OOIcross' datestr(ssttime,'yyyymmdd') '.png'])
saveas(10,[figdir 'ROMS_salt_OOIcross' datestr(ssttime,'yyyymmdd') '.png'])
saveas(11,[figdir 'ROMS_dens_OOIcross' datestr(ssttime,'yyyymmdd') '.png'])
saveas(12,[figdir 'ROMS_v_OOIcross' datestr(ssttime,'yyyymmdd') '.png'])
saveas(13,[figdir 'ROMS_u_OOIcross' datestr(ssttime,'yyyymmdd') '.png'])
saveas(14,[figdir 'ROMS_w_OOIcross' datestr(ssttime,'yyyymmdd') '.png'])


