function data = read_nc_data
data.nc_filename = 'Wind_Salti.nc';

data.time_string = nc_varget(data.nc_filename,'time');
data.wind1 = nc_varget(data.nc_filename,'Wind1');
data.wind2 = nc_varget(data.nc_filename,'Wind2');
data.wind3 = nc_varget(data.nc_filename,'Wind3');
data.wind_dir = nc_varget(data.nc_filename,'Wind_dir');
data.Salti(:,1) = nc_varget(data.nc_filename,'Salti1');
data.Salti(:,2) = nc_varget(data.nc_filename,'Salti2');
data.Salti(:,3) = nc_varget(data.nc_filename,'Salti3');
data.Salti(:,4) = nc_varget(data.nc_filename,'Salti4');
data.Salti(:,5) = nc_varget(data.nc_filename,'Salti5');

data.SaltiV(:,1) = nc_varget(data.nc_filename,'Salti1V');
data.SaltiV(:,2) = nc_varget(data.nc_filename,'Salti2V');
data.SaltiV(:,3) = nc_varget(data.nc_filename,'Salti3V');
data.SaltiV(:,4) = nc_varget(data.nc_filename,'Salti4V');
data.SaltiV(:,5) = nc_varget(data.nc_filename,'Salti5V');

% add year and convert to number
data.time_string(:,17:21)= repmat('2010"',length(data.time_string),1);
data.time_num = datenum(data.time_string,'"dd/mm HH:MM:SS yyyy"');

% insert experiment times
data.time_begin(1) = datenum('8-Dec-2010 15:00:00');
data.time_end(1) = datenum('8-Dec-2010 21:30:00');

data.time_begin(2) = datenum('8-Dec-2010 22:10:00');
data.time_end(2) = datenum('8-Dec-2010 23:40:00');

data.time_begin(3) = datenum('9-Dec-2010 00:00:00');
data.time_end(3) = datenum('9-Dec-2010 9:30:00');

data.time_begin(4) = datenum('9-Dec-2010 10:00:00');
data.time_end(4) = datenum('9-Dec-2010 11:30:00');

data.time_begin(5) = datenum('9-Dec-2010 11:30:00');
data.time_end(5) = datenum('9-Dec-2010 15:20:00');

data.time_begin(6) = datenum('9-Dec-2010 16:00:00');
data.time_end(6) = datenum('10-Dec-2010 01:30:00');
