% process Aquatec 200TY data aqtyfile = 'data07jul08.csv'; cdffile = 'data07jul08.cdf'; % using read_globalatts from the USGS meta_tools toolbox % filename must contain a list of Global attributes %gatt=read_globalatts('..\global_atts.txt'); % provides values to insert below % syntax and capitalization counts! % the following are required! settings.MOORING = 'none'; %gatt.MOORING; %four digit NNNL, NNN mooring + L logger settings.Deployment_date = '11 jun 2008'; %gatt.Deployment_date; % the in water time settings.Recovery_date = '7 jul 2008'; %gatt.Recovery_date; % the out of water time settings.longitude = 0; %gatt.longitude; % decimal degrees, West = negative settings.latitude = 0; %gatt.latitude; % decimal degrees, South = negative settings.magnetic_variation = 0; %gatt.magnetic_variation; % degrees west is negative settings.WATER_DEPTH = 3; %gatt.WATER_DEPTH; % m (DO NOT OMIT!) settings.WATER_DEPTH_NOTE = 'guessed at low tide'; %gatt.WATER_DEPTH_NOTE; settings.DATA_ORIGIN = 'WHSC'; %gatt.DATA_ORIGIN; % with collaborator's data, could be USC, etc. settings.EXPERIMENT = 'dock test of wiper'; %gatt.EXPERIMENT; settings.DESCRIPTION = ''; %gatt.DESCRIPTION; settings.PROJECT = 'none'; %gatt.PROJECT; % might also use OFA funding agency, such as MWRA, EPA, WCMG settings.Data_Cmnt = ''; %gatt.Data_Cmnt; settings.SciPi = 'Martini'; %gatt.SciPi; settings.INST_TYPE = 'Aquatec Aqualogger 200TY'; settings.sensor_height = 3; % m of bed settings.OBS_serial_number = ''; diary(sprintf('run%s',datestr(now,30))) aqtyraw2cdf(aqtyfile, cdffile, settings); diary off