configDataProcessingSlocumG2

PURPOSE ^

CONFIGDATAPROCESSINGSLOCUMG1 Configure Slocum G1 glider data processing.

SYNOPSIS ^

function processing_options = configDataProcessingSlocumG2()

DESCRIPTION ^

CONFIGDATAPROCESSINGSLOCUMG1  Configure Slocum G1 glider data processing.

  Syntax:
    PROCESSING_OPTIONS = CONFIGDATAPROCESSINGSLOCUMG2()

  Description:
    PROCESSING_OPTIONS = CONFIGDATAPROCESSINGSLOCUMG2() should return a struct 
    setting the options for Slocum G2 glider data processing as needed by the 
    function PROCESSGLIDERDATA.

  Examples:
    processing_options = configDataProcessingSlocumG2()

  See also:
    PROCESSGLIDERDATA

  Authors:
    Joan Pau Beltran  <joanpau.beltran@socib.cat>

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

configDataProcessingSlocumG2.m

SOURCE CODE ^

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

Generated on Fri 06-Oct-2017 10:47:42 by m2html © 2005