CONFIGDATAPROCESSINGSEAEXPLORER Configure SeaExplorer glider data processing. Syntax: PROCESSING_OPTIONS = CONFIGDATAPROCESSINGSEAEXPLORER() Description: PROCESSING_OPTIONS = CONFIGDATAPROCESSINGSEAEXPLORER() should return a struct setting the options for SeaExplorer glider data processing as needed by the function PROCESSGLIDERDATA. Examples: processing_options = configDataProcessingSeaExplorer() See also: PROCESSGLIDERDATA Authors: Frederic Cyr <Frederic.Cyr@mio.osupytheas.fr> Joan Pau Beltran <joanpau.beltran@socib.cat>
configDataProcessingSeaExplorer.m
0001 function processing_options = configDataProcessingSeaExplorer() 0002 %CONFIGDATAPROCESSINGSEAEXPLORER Configure SeaExplorer glider data processing. 0003 % 0004 % Syntax: 0005 % PROCESSING_OPTIONS = CONFIGDATAPROCESSINGSEAEXPLORER() 0006 % 0007 % Description: 0008 % PROCESSING_OPTIONS = CONFIGDATAPROCESSINGSEAEXPLORER() should return a 0009 % struct setting the options for SeaExplorer glider data processing as needed 0010 % by the function PROCESSGLIDERDATA. 0011 % 0012 % Examples: 0013 % processing_options = configDataProcessingSeaExplorer() 0014 % 0015 % See also: 0016 % PROCESSGLIDERDATA 0017 % 0018 % Authors: 0019 % Frederic Cyr <Frederic.Cyr@mio.osupytheas.fr> 0020 % Joan Pau Beltran <joanpau.beltran@socib.cat> 0021 0022 % Copyright (C) 2016 0023 % ICTS SOCIB - Servei d'observacio i prediccio costaner de les Illes Balears 0024 % <http://www.socib.es> 0025 % 0026 % This program is free software: you can redistribute it and/or modify 0027 % it under the terms of the GNU General Public License as published by 0028 % the Free Software Foundation, either version 3 of the License, or 0029 % (at your option) any later version. 0030 % 0031 % This program is distributed in the hope that it will be useful, 0032 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0033 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0034 % GNU General Public License for more details. 0035 % 0036 % You should have received a copy of the GNU General Public License 0037 % along with this program. If not, see <http://www.gnu.org/licenses/>. 0038 0039 error(nargchk(0, 0, nargin, 'struct')); 0040 0041 processing_options = struct(); 0042 0043 processing_options.time_filling = true; 0044 processing_options.position_filling = true; 0045 processing_options.depth_filling = true; 0046 processing_options.attitude_filling = true; 0047 processing_options.heading_filling = true; 0048 processing_options.waypoint_filling = false; 0049 0050 processing_options.pressure_filtering = true; 0051 processing_options.pressure_filter_constant = 4; % Recommended setting from Seabird Data Processing Manual. 0052 processing_options.depth_ctd_derivation = true; 0053 0054 processing_options.profiling_list(1).depth = 'depth_ctd'; 0055 processing_options.profiling_list(1).time = 'time'; 0056 processing_options.profiling_list(2).depth = 'depth'; 0057 processing_options.profiling_list(2).time = 'time'; 0058 0059 processing_options.profile_min_range = 10; 0060 processing_options.profile_max_gap_ratio = 0.6; 0061 0062 processing_options.sensor_lag_list = ... 0063 struct('corrected', {}, 'original', {}, 'parameters', {}); 0064 0065 processing_options.thermal_lag_list = ... 0066 struct('conductivity_corrected', {}, 'temperature_corrected', {}, ... 0067 'conductivity_original', {}, 'temperature_original', {}, ... 0068 'pressure_original', {}, 'parameters', {}); 0069 0070 processing_options.salinity_list(1).salinity = 'salinity'; 0071 processing_options.salinity_list(1).conductivity = 'conductivity'; 0072 processing_options.salinity_list(1).temperature = 'temperature'; 0073 processing_options.salinity_list(1).pressure = 'pressure'; 0074 0075 processing_options.density_list(1).density = 'density'; 0076 processing_options.density_list(1).salinity = 'salinity'; 0077 processing_options.density_list(1).temperature = 'temperature'; 0078 processing_options.density_list(1).pressure = 'pressure'; 0079 0080 end