Home > ctdcal > update_calibration_data.m

update_calibration_data

PURPOSE ^

copy_ctd_to_cruisedir: Copy new data filesfrom source_dir into the calibration_dir

SYNOPSIS ^

function [status] = update_calibration_data(cruiseid)

DESCRIPTION ^

 copy_ctd_to_cruisedir: Copy new data filesfrom source_dir into the calibration_dir
 
 DESCRIPTION: This function will copy newly acquired data from the 
 source_data_dir to the calibration_dir.  This is useful at sea when preliminary 
 calibrations are being performed throughout the sea time.  The source and calibration 
 directories are specified in the cruise specific register_cruise function
 
 INPUT: cruiseid: Unique cruise identifier
 
 OUTPUT: status: a structure array with success/error information.
 
 SEE ALSO: register_cruise

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [status]  = update_calibration_data(cruiseid)
0002 % copy_ctd_to_cruisedir: Copy new data filesfrom source_dir into the calibration_dir
0003 %
0004 % DESCRIPTION: This function will copy newly acquired data from the
0005 % source_data_dir to the calibration_dir.  This is useful at sea when preliminary
0006 % calibrations are being performed throughout the sea time.  The source and calibration
0007 % directories are specified in the cruise specific register_cruise function
0008 %
0009 % INPUT: cruiseid: Unique cruise identifier
0010 %
0011 % OUTPUT: status: a structure array with success/error information.
0012 %
0013 % SEE ALSO: register_cruise
0014 %
0015 
0016 % AUTHOR: Derrick Snowden
0017 %         NOAA/AOML/PhOD
0018 %         Thu Sep 23 15:28:31 EDT 2004
0019 %
0020 
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 %
0023 % TODO: How am I going to handle the fact that some files may not exist or they may be
0024 % newer in the destination directory?
0025 %
0026 % Get the preferences for this cruise
0027 group = group_name(cruiseid);
0028 
0029 % Options
0030 if ~ispref(group,'options')
0031     options = [];
0032 end
0033 prefs = getpref(group) % get them all and figure it out later.
0034 
0035 % autosal
0036 
0037 % cnv
0038 
0039 % bl
0040 
0041 % btl
0042 
0043 % oxy
0044 
0045 
0046 
0047 
0048 
0049 
0050 return
0051 
0052

Generated on Fri 08-Oct-2004 11:57:17 by m2html © 2003