CONFIGDATAGRIDDING Configure glider data gridding. Syntax: GRIDDING_OPTIONS = CONFIGDATAGRIDDING() Description: GRIDDING_OPTIONS = CONFIGDATAGRIDDING() should return a struct setting the options for glider data gridding as needed by the function GRIDGLIDERDATA. Examples: gridding_options = configDataGridding() See also: GRIDGLIDERDATA Authors: Joan Pau Beltran <joanpau.beltran@socib.cat>
0001 function gridding_options = configDataGridding() 0002 %CONFIGDATAGRIDDING Configure glider data gridding. 0003 % 0004 % Syntax: 0005 % GRIDDING_OPTIONS = CONFIGDATAGRIDDING() 0006 % 0007 % Description: 0008 % GRIDDING_OPTIONS = CONFIGDATAGRIDDING() should return a struct setting the 0009 % options for glider data gridding as needed by the function GRIDGLIDERDATA. 0010 % 0011 % Examples: 0012 % gridding_options = configDataGridding() 0013 % 0014 % See also: 0015 % GRIDGLIDERDATA 0016 % 0017 % Authors: 0018 % Joan Pau Beltran <joanpau.beltran@socib.cat> 0019 0020 % Copyright (C) 2013-2016 0021 % ICTS SOCIB - Servei d'observacio i prediccio costaner de les Illes Balears 0022 % <http://www.socib.es> 0023 % 0024 % This program is free software: you can redistribute it and/or modify 0025 % it under the terms of the GNU General Public License as published by 0026 % the Free Software Foundation, either version 3 of the License, or 0027 % (at your option) any later version. 0028 % 0029 % This program is distributed in the hope that it will be useful, 0030 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0031 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0032 % GNU General Public License for more details. 0033 % 0034 % You should have received a copy of the GNU General Public License 0035 % along with this program. If not, see <http://www.gnu.org/licenses/>. 0036 0037 error(nargchk(0, 0, nargin, 'struct')); 0038 0039 gridding_options = struct(); 0040 0041 gridding_options.profile_list = {'profile_index'}; 0042 0043 gridding_options.time_list = {'time'}; 0044 0045 gridding_options.position_list(1).latitude = 'latitude'; 0046 gridding_options.position_list(1).longitude = 'longitude'; 0047 0048 gridding_options.depth_list = {'depth' 'depth_ctd'}; 0049 0050 gridding_options.depth_step = 1; 0051 0052 gridding_options.variable_list = { 0053 'conductivity' 0054 'temperature' 0055 'pressure' 0056 'chlorophyll' 0057 'turbidity' 0058 'cdom' 0059 'scatter_650' 0060 'backscatter_700' 0061 'oxygen_concentration' 0062 'oxygen_saturation' 0063 'oxygen_frequency' 0064 'conductivity_corrected_thermal' 0065 'temperature_corrected_thermal' 0066 'salinity' 0067 'density' 0068 'salinity_corrected_thermal' 0069 'density_corrected_thermal' 0070 'fluorescence_255_360' 0071 'fluorescence_260_315' 0072 'fluorescence_270_340' 0073 'fluorescence_270_376' 0074 'fluorescence_monitoring_255_360' 0075 'fluorescence_monitoring_260_315' 0076 'fluorescence_monitoring_270_340' 0077 'fluorescence_monitoring_270_376' 0078 'methane_concentration' 0079 }; 0080 0081 end