CONFIGDATAPREPROCESSINGSEAEXPLORER Configure SeaExplorer glider data preprocessing. Syntax: PREPROCESSING_OPTIONS = CONFIGDATAPREPROCESSINGSEAEXPLORER() Description: PREPROCESSING_OPTIONS = CONFIGDATAPREPROCESSINGSEAEXPLORER() should return a struct setting the options for SeaExplorer glider data preprocessing as needed by the function PREPROCESSGLIDERDATA. Examples: preprocessing_options = configDataPreprocessingSeaExplorer() See also: PREPROCESSGLIDERDATA Authors: Frederic Cyr <Frederic.Cyr@mio.osupytheas.fr> Joan Pau Beltran <joanpau.beltran@socib.cat>
configDataPreprocessingSeaExplorer.m
0001 function preprocessing_options = configDataPreprocessingSeaExplorer() 0002 %CONFIGDATAPREPROCESSINGSEAEXPLORER Configure SeaExplorer glider data preprocessing. 0003 % 0004 % Syntax: 0005 % PREPROCESSING_OPTIONS = CONFIGDATAPREPROCESSINGSEAEXPLORER() 0006 % 0007 % Description: 0008 % PREPROCESSING_OPTIONS = CONFIGDATAPREPROCESSINGSEAEXPLORER() should return 0009 % a struct setting the options for SeaExplorer glider data preprocessing 0010 % as needed by the function PREPROCESSGLIDERDATA. 0011 % 0012 % Examples: 0013 % preprocessing_options = configDataPreprocessingSeaExplorer() 0014 % 0015 % See also: 0016 % PREPROCESSGLIDERDATA 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 preprocessing_options = struct(); 0042 0043 preprocessing_options.time_list(1).time = 'Timestamp'; 0044 preprocessing_options.time_list(2).time = 'PLD_REALTIMECLOCK'; 0045 0046 preprocessing_options.position_list(1).longitude = 'NAV_LONGITUDE'; 0047 preprocessing_options.position_list(1).latitude = 'NAV_LATITUDE'; 0048 preprocessing_options.position_list(1).position_status = 'NAV_RESOURCE'; 0049 preprocessing_options.position_list(1).position_good = @sxgoodfix; 0050 preprocessing_options.position_list(1).conversion = @nmea2deg; 0051 preprocessing_options.position_list(2).longitude = 'Lon'; 0052 preprocessing_options.position_list(2).latitude = 'Lat'; 0053 preprocessing_options.position_list(2).position_status = 'NavState'; 0054 preprocessing_options.position_list(2).position_good = @sxgoodfix; 0055 preprocessing_options.position_list(2).conversion = @nmea2deg; 0056 0057 preprocessing_options.depth_list(1).depth = 'NAV_DEPTH'; 0058 preprocessing_options.depth_list(2).depth = 'Depth'; 0059 0060 preprocessing_options.depth_list(1).depth_ctd = 'GPCTD_PRESSURE'; 0061 preprocessing_options.depth_list(2).depth_ctd = 'SBD_PRESSURE'; 0062 0063 preprocessing_options.attitude_list(1).roll = 'Roll'; 0064 preprocessing_options.attitude_list(1).pitch = 'Pitch'; 0065 preprocessing_options.attitude_list(1).conversion = @deg2rad; 0066 0067 preprocessing_options.heading_list(1).heading = 'Heading'; 0068 preprocessing_options.heading_list(1).conversion = @deg2rad; 0069 0070 preprocessing_options.ctd_list(1).conductivity = 'GPCTD_CONDUCTIVITY'; 0071 preprocessing_options.ctd_list(1).temperature = 'GPCTD_TEMPERATURE'; 0072 preprocessing_options.ctd_list(1).pressure = 'GPCTD_PRESSURE'; 0073 0074 preprocessing_options.ctd_list(2).conductivity = 'SBD_CONDUCTIVITY'; 0075 preprocessing_options.ctd_list(2).temperature = 'SBD_TEMPERATURE'; 0076 preprocessing_options.ctd_list(2).pressure = 'SBD_PRESSURE'; 0077 0078 preprocessing_options.ctd_list(3).conductivity = 'GPCTD_CONDUCTIVITY'; 0079 preprocessing_options.ctd_list(3).temperature = 'GPCTD_TEMPERATURE'; 0080 preprocessing_options.ctd_list(3).pressure = 'GPCTD_PRESSURE'; 0081 0082 preprocessing_options.oxygen_list(1).oxygen_frequency = 'GPCTD_DOF'; 0083 0084 preprocessing_options.oxygen_list(2).oxygen_frequency = 'SBD_DOF'; 0085 0086 preprocessing_options.optics_list(1).chlorophyll = 'FLBBCD_CHL_SCALED'; 0087 preprocessing_options.optics_list(1).cdom = 'FLBBCD_CDOM_SCALED'; 0088 preprocessing_options.optics_list(1).backscatter_700 = 'FLBBCD_BB_700_SCALED'; 0089 0090 preprocessing_options.optics_list(2).chlorophyll = 'TRI_CHL_SCALED'; 0091 preprocessing_options.optics_list(2).cdom = 'TRI_CDOM_SCALED'; 0092 preprocessing_options.optics_list(2).backscatter_700 = 'TRI_BB_700_SCALED'; 0093 0094 preprocessing_options.optics_list(3).chlorophyll = 'FLNTU_CHL_SCALED'; 0095 preprocessing_options.optics_list(3).turbidity = 'FLNTU_NTU_SCALED'; 0096 0097 %% Extra sensors 0098 % Minifluo1-UV1 choices: 0099 preprocessing_options.extra_sensor_list.minifluo1(1).fluorescence_270_340 = 'M1FL_PHD1'; 0100 preprocessing_options.extra_sensor_list.minifluo1(1).fluorescence_255_360 = 'M1FL_PHD2'; 0101 preprocessing_options.extra_sensor_list.minifluo1(1).fluorescence_monitoring_270_340 = 'M1FL_MON1'; 0102 preprocessing_options.extra_sensor_list.minifluo1(1).fluorescence_monitoring_255_360 = 'M1FL_MON2'; 0103 preprocessing_options.extra_sensor_list.minifluo1(1).fluorescence_emission_temperature = 'M1FL_TMPE'; 0104 preprocessing_options.extra_sensor_list.minifluo1(1).fluorescence_detection_temperature = 'M1FL_TMPD'; 0105 0106 preprocessing_options.extra_sensor_list.minifluo1(2).fluorescence_270_340 = 'MFL_V1'; 0107 preprocessing_options.extra_sensor_list.minifluo1(2).fluorescence_255_360 = 'MFL_V2'; 0108 preprocessing_options.extra_sensor_list.minifluo1(2).fluorescence_monitoring_270_340 = 'MFL_V3'; 0109 preprocessing_options.extra_sensor_list.minifluo1(2).fluorescence_monitoring_255_360 = 'MFL_V4'; 0110 preprocessing_options.extra_sensor_list.minifluo1(2).fluorescence_emission_temperature = 'MFL_TMPE'; 0111 preprocessing_options.extra_sensor_list.minifluo1(2).fluorescence_detection_temperature = 'MFL_TMPD'; 0112 0113 preprocessing_options.extra_sensor_list.minifluo1(3).fluorescence_270_340 = 'UV1_V1'; 0114 preprocessing_options.extra_sensor_list.minifluo1(3).fluorescence_255_360 = 'UV1_V2'; 0115 preprocessing_options.extra_sensor_list.minifluo1(3).fluorescence_monitoring_270_340 = 'UV1_V3'; 0116 preprocessing_options.extra_sensor_list.minifluo1(3).fluorescence_monitoring_255_360 = 'UV1_V4'; 0117 preprocessing_options.extra_sensor_list.minifluo1(3).fluorescence_emission_temperature = 'UV1_TMP1'; 0118 preprocessing_options.extra_sensor_list.minifluo1(3).fluorescence_detection_temperature = 'UV1_TMP2'; 0119 0120 preprocessing_options.extra_sensor_list.minifluo1(4).fluorescence_270_340 = 'UV1_PHE'; 0121 preprocessing_options.extra_sensor_list.minifluo1(4).fluorescence_255_360 = 'UV1_TRY'; 0122 preprocessing_options.extra_sensor_list.minifluo1(4).fluorescence_monitoring_270_340 = 'UV1_LD1'; 0123 preprocessing_options.extra_sensor_list.minifluo1(4).fluorescence_monitoring_255_360 = 'UV1_LD2'; 0124 preprocessing_options.extra_sensor_list.minifluo1(4).fluorescence_emission_temperature = 'UV1_TMP1'; 0125 preprocessing_options.extra_sensor_list.minifluo1(4).fluorescence_detection_temperature = 'UV1_TMP2'; 0126 0127 % Minifluo-UV2 0128 preprocessing_options.extra_sensor_list.minifluo2(1).fluorescence_260_315 = 'M2FL_PHD1'; 0129 preprocessing_options.extra_sensor_list.minifluo2(1).fluorescence_270_376 = 'M2FL_PHD2'; 0130 preprocessing_options.extra_sensor_list.minifluo2(1).fluorescence_monitoring_260_315 = 'M2FL_MON1'; 0131 preprocessing_options.extra_sensor_list.minifluo2(1).fluorescence_monitoring_270_376 = 'M2FL_MON2'; 0132 preprocessing_options.extra_sensor_list.minifluo2(1).fluorescence_emission_temperature = 'M2FL_TMPE'; 0133 preprocessing_options.extra_sensor_list.minifluo2(1).fluorescence_detection_temperature = 'M2FL_TMPD'; 0134 0135 % Methane sensor choices: 0136 preprocessing_options.extra_sensor_list.methane(1).methane_volt = 'METS_METHANE_VOLT'; 0137 preprocessing_options.extra_sensor_list.methane(1).methane_concentration = 'METS_METHANE_SCALED'; 0138 preprocessing_options.extra_sensor_list.methane(1).mets_circuit_temperature_volt = 'METS_TEMP_VOLT'; 0139 preprocessing_options.extra_sensor_list.methane(1).mets_circuit_temperature = 'METS_TEMP_SCALED'; 0140 0141 end 0142