-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblankRBRstruct.m
48 lines (40 loc) · 1.07 KB
/
blankRBRstruct.m
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
function ctd = blankRBRstruct(n);
% Creates empty structure with correct fields for use with RBRproc
% functions.
%
% usage:
%
% ctd = blankRBRstruct(n);
%
% where n specifies the number of profiles.
%
% Mark Halverson, June 28, 2016
if nargin==0,
n = 1;
end
ctd = struct('fileName',[],...
'serialID',[],...
'model',[],...
'samplingPeriod',[],...
'mtime',[],...
'tzone',[],...
'Latitude',[],...
'Longitude',[],...
'Station',[],...
'BottomDepth',[],...
'profiles',[],...
'channels',[],...
'units',[],...
'Conductivity',[],...
'Temperature',[],...
'Pressure',[],...
'PAR',[],...
'Turbidity',[],...
'Chlorophyll',[],...
'DissolvedO2',[],...
'Salinity',[],...
'Depth',[],...
'DescentRate',[],...
'DecelRate',[],...
'processingLog',[]);
ctd = repmat(ctd,1,n);