forked from oceanobservatories/mmp_toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata_template_CP02PMCO.txt
237 lines (191 loc) · 7.95 KB
/
metadata_template_CP02PMCO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
% Any of the 4 combinations of McLane unpacker v3.12 settings:
% [ (space|comma delimited) & (headers|noheaders) ]
% can be used to unpack profiler data. If headers are enabled
% (recommended), the beginning and ending text rows for each
% profile are written to text fields in the array of structures
% containing the processed data.
%
% Rows starting with % are ignored and can be used as comments
% to insert supplemental information concerning the deployment
% or processing.
%
% Rows specifying metadata values needed for processing should
% be of the form: variablename=value. spaces can be freely
% used for readability.
%
% Null text entry value is '' (two single quotes).
% Null numerical entry is 0 with one exception (profiles_to_process)
% PROFILER TYPE
% OOI profilers can be either 'coastal' or 'global'
profiler_type = 'coastal'
% DEPLOYMENT ID:
% this must be a character vector enclosed by single quotes;
% it will be prepended to the name of the matfile saved by
% the processing code, which is 'MMP__yyyymmdd_HHMMSS' where
% yyyymmdd_HHMMSS denotes the processing date and time. if
% no deployment ID is desired, use ''.
deployment_ID = 'WFP_'
% GPS
% required by TEOS-10 to calculate potential temperature and density
% latitude: decimal degrees N (southern hemisphere values are negative)
% longitude: decimal degrees E (west of Greenwich values are negative)
latitude = 99.99999
longitude = -999.99999
% FOLDERS
unpacked_data_folder = Z:\unpacked
calibration_folder = Z:\cals
% CALFILENAMES
% OOI-style comma,separated,variable text files
% must be located in calibration_folder.
% if instrument not deployed use ''
fluorometer_calfilename = CGINS-FLORTK-99999__19000101.csv
oxygen_calfilename = CGINS-DOFSTK-99999__19000101.csv
par_calfilename = CGINS-PARADK-99999__19000101.csv
% PROFILES
% the first mclane profile, numbered at 0, is not processed
% and is not to be included in the number_of_profiles value.
%
% the value entered should be the highest numbered profile,
% or, the highest numbered good profile, if desired.
number_of_profiles = 9999
% the profiles_to_process entry can either be:
% (a) [], in which case profile numbers 1 to the
% number_of_profiles value are processed.
% (b) a scalar or matlab-compatible row vector.
profiles_to_process = []
% BINNING PARAMETERS
% format can either be a 3 element row vector or a scalar;
% units are db.
%
% (a) [minimum_bin_value bin_size maximum_bin_value]
% (b) bin_size
%
% if only bin_size is given the extrema will be
% determined from the entire deployment's minimum
% and maximum pressure values.
%ctd_binning_parameters = 0.5
%eng_binning_parameters = 1
%acm_binning_parameters = 2
ctd_binning_parameters = [25 0.5 125]
eng_binning_parameters = [25 1.0 125]
acm_binning_parameters = [25 2.0 125]
% PROFILE QUALITY DISCRIMINATORS
% void_short_profile.m calling arguments:
% do not process profiles that do not exceed a Minimum
% number of points nptsMin or do not exceed a Minimum
% range of values rangeMin.
%
% on import ctd data do not have timestamps.
% on import acm data do not have a pressure record.
%
% to disable a discriminator enter a negative value.
ctd_pressure_nptsMin = 30
ctd_pressure_rangeMin_db = 10
eng_pressure_nptsMin = 10
eng_pressure_rangeMin_db = 10
acm_nptsMin = 50
% engineering profile mask:
% backtrack sections are signified by values of 0 in the
% engineering pressure record. sometimes there are small
% negative and small positive values instead. set an
% engineering pressure minimum so that smaller values are
% flagged as bad data in the profile mask. to disable this
% feature enter a large negative value (-99).
% ctd profile mask:
% flag a data point as bad when any profiler speed value
% within a centered window dips below the minimum speed
% setting. to disable this feature set the speed to a
% large negative number (-99).
eng_pressure_valueMin_db = 10
ctd_speedWindow_npts = 7
ctd_speedMin_db_per_sec = 0.02
% SENSOR FILTER TIME CONSTANTS
% ctd acquisition rate is also calculated for each
% profile; possibly it could be used for quality
% control by comparing it to the nominal value
% to be entered below (used for filtering and
% shifting operations).
%
% time constants of 0 result in no smoothing.
ctd_acquisition_rate_Hz = 1.0
conductivity_filter_time_constant_sec = 0.5
oxygen_filter_time_constant_sec = 0.5
pressure_filter_time_constant_sec = 0.5
temperature_filter_time_constant_sec = 0.5
% DATA SHIFTS
% positive values shift variables to later time.
%
% as per Seabird processing guidelines for SBE52 CTDs,
% there is no provision to shift the temperature record.
conductivity_shift_sec = 0.5
oxygen_shift_sec = -4
pressure_shift_sec = -1.0
% THERMAL MASS COEFFS
% Dave Murphy, SBE: At 1 Hz it may not be worth applying
% a thermal mass correction (personal communication).
%
% to disable thermal mass correction set inverseBeta to 0.
thermal_mass_alpha = 0.03
thermal_mass_inverse_beta = 7.0
% BACKTRACK FLAGGING
% codes:
% (1) flag entire profile as bad (recommended until data are examined)
% (2) flag data good from 1st non-zero pressure up to about 1
% minute before 1st backtrack signalled, then bad afterwards
% (3) flag as bad only pressure=0 sections.
backtrack_processing_flag = 2
% SENSOR DEPTH OFFSETS
% for pressure binning non-ctd sensors:
% there are 2 sizes of mclane profiler body, the original
% and the longer, newer one to accommodate a battery refit.
% All Pioneer (CP) deployments all use the shorter body.
%
% negative values denote that the sensor in question is
% located closer to the surface than the pressure sensor.
% the measured distance offsets (meters) follow:
%
% older shorter body;
% aquadoppII : -0.34;
% fluorometer : -0.22;
% par : -0.84;
currentmeter_depth_offset_m = -0.34
fluorometer_depth_offset_m = -0.22
par_depth_offset_m = -0.84
% CURRENT METER: AD2CP
% magnetic declination [degrees] is positive when magnetic
% north is east of geographic north.
%
% ambiguity velocity [m/s] is used to correct raw beam
% intensities for phase ambiguity.
% 1.0714 m/s is the AD2CP value as specified by Nortek.
% (full wrap, ie [-pi pi]).
% The recommended default action is to correct the velBeam
% data for phase ambiguity.
%
% wag radius [m] can be used to correct horizontal (Y) velocity:
% 0.43m is the geometric calculated value for AD2CP on WFP.
% Wag signal is always calculated and included as a data product.
% Whether it is used to correct velY is determined by the value
% of correct_velY_for_wag. It is likely that a higher empirically
% derived effective radius should be used.
%
% correct velocities for pitch and roll:
% a value of 0 results in no correction.
% a value of 1 enables correction.
% Recommended default action is to NOT correct because pitch
% and roll values are typically small.
%
% correct upwards velocity for profiler motion (dP/dt):
% a value of 0 results in no correction.
% a value of 1 enables correction.
% It is observed that sometimes there are time and shape shifts
% between the velU and dP/dt signals. The dP/dt signal is
% calculated and included as a data product for comparison
% regardless of the switch setting.
magnetic_declination_deg = -14.1
ambiguity_velocity_m_per_sec = 1.0714
wag_radius_m = 0.43
correct_velBeam_for_phase_ambiguity = 1
correct_velY_for_wag = 0
correct_velXYZ_for_pitch_and_roll = 0
correct_velU_for_dpdt = 0