clear dir    %to make sure we don't keep the Wind direction variable called also 'dir'!

%compress selected files into a big zip file
jd=sprintf('%03i',ddd);
[m,d]=yd2md(str2num(yyyy), ddd);
zipfilename=[cruise, '_Revelle_', sprintf('%04i_%02i_%02i_%03i',Vdate(1),Vdate(2),Vdate(3),ddd)];

entrynames=zip([way_proc_data_flux, zipfilename, '.zip'],{[way_proc_data_flux, '*', jd, '.txt'],[way_images_flux, cruise, '_PSD_motionpack_accs_rates_','*', jd, graphformat],[way_images_ceilo,  cruise, '_', ship, '_cloudbase_', '*', jd graphformat]}); 
