-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathb1_config_20140505.py
227 lines (226 loc) · 12.1 KB
/
b1_config_20140505.py
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
platform_info = {
'id' : 'b1',
'location' : 'Hatteras Bay, 20 nm East of Oregon Inlet, NC',
'lat' : 35.785270, # degrees true (-) south, (+) north
'lon' : -75.09160, # degrees true (-) west, (+) east
'mvar' : -11.2, # degrees (-) west, (+) east
'altitude': 0., # (approx.) station altitude
'altitude_units' : 'm',
'altitude_reference' : 'sea_surface',
#
'mean_water_depth': -33.5, # (approx. 110 ft)
'mean_water_depth_time_period': 'Not determined',
'institution' : 'nccoos',
#
'config_start_date' : '2014-05-05 13:00:00',
'config_end_date' : '2015-02-01 00:00:00', # None or yyyy-mm-dd HH:MM:SS
'packages' : ('met', 'wind', 'ctd1', 'ctd2', 'ctd3', 'comp', 'sys', 'gps', 'adcp', 'adcpwaves'),
# Required by CF
'institution' : 'Unversity of North Carolina at Chapel Hill (UNC-CH)',
'institution_url' : 'http://nccoos.org',
'institution_dods_url' : 'http://nccoos.org',
'contact' : 'Sara Haines ([email protected])',
'conventions' : 'CF-1.0; SEACOOS-CDL-v2.0',
# Required by Scout
'format_category_code' : 'fixed-point',
'institution_code' : 'nccoos',
# Recommended
'project' : 'North Carolina Coastal Ocean Observing System (NCCOOS)',
'project_url' : 'http://nccoos.org',
'metadata_url' : 'http://nccoos.org',
'references' : 'http://nccoos.org',
'source': 'Buoy CR1000 Datalogger',
# Needed for processing NDBC output
'ndbc_module' : 'ndbc_41062',
'ndbc_id': '41062',
'ndbc_dir' : '/seacoos/data/nccoos/latest_ndbc',
'ndbc_missing' : -9999.0,
# report data to NDBC closest to top of each hour +/- 6 min
'ndbc_sample_interval':(1,'hour'),
'ndbc_sample_offset':(0,'minute'),
'ndbc_time_tolerance':(6,'minute'),
# report data closest to 0:10 and 0:40 each hour +/- 3 min
# 'ndbc_sample_interval':(30,'minute'), # every 30 min
# 'ndbc_sample_offset':(10,'minute'), # offset by +10 min
# 'ndbc_time_tolerance':(3,'minute'),
}
sensor_info = {
'met' : { 'id' : 'met',
'description' : 'Meterological Data averaged for one minute each sample period',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/met/',
'raw_file_glob' : '*.dat',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/met/',
'process_module' : 'proc_cr1000_met',
'utc_offset' : 0, # hours offset to utc of sampling time
'barometer_height' : 1.5, # meters
'temperature_height' : 1.5, # meters
'height_units' : 'm',
'height_reference' : 'sea_surface',
'source': 'Heise Baro, Rotronics Temp/RH, RM Young Precip, Eppley PSP/PIR',
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','atemp', 'baro', 'rh', 'rain', 'psp', 'pir'),
'ndbc_vars' : ('air_temp', 'air_press', 'rh', 'psp', 'pir'),
'ndbc_tags' : ('atmp1', 'baro1', 'rrh', 'srad1', 'lwrad'),
'ndbc_units' : ('degC', 'hPa', '%', 'W m-2', 'W m-2'),
'plot_module': 'plot_cr1000_met',
'plot_names': ('timeseries',),
},
'wind' : { 'id' : 'wind',
'description' : 'Wind Data averaged for one minute each sample period',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/wind/',
'raw_file_glob' : '*.dat',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/wind/',
'process_module' : 'proc_cr1000_wind',
'utc_offset' : 0, # hours offset to utc of sampling time
'anemometer1_height' : 3.66, # meters (12 ft)
'anemometer2_height' : 3.35, # meters (11 ft above sea surface)
'height_units' : 'm',
'height_reference' : 'sea_surface',
# Recommended
'source': 'RM Young Marine Wind Monitor 5106',
# Needed offsets corrections -42 from wdir2 to wdir1
# Also -90 to both wdir1 and wdir2 (not sure what shifted during deployment from IMS testing
# but relative to other stations nearby this -90 offset to both looks correct)
'offset_vars' : ('wdir1', 'wdir2'),
'offset_vals' : (-90., -132.0),
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','u', 'v', 'wspd', 'wdir'),
'ndbc_vars' : ('wspd1', 'wdir1', 'wgust1', 'wspd2', 'wdir2', 'wgust2'),
'ndbc_tags' : ('wspd1', 'wdir1', 'gust1', 'wspd2', 'wdir2', 'gust2'),
'ndbc_units' : ('m s-1', 'degrees', 'm s-1', 'm s-1', 'degrees', 'm s-1'),
'plot_module': 'plot_cr1000_wind',
'plot_names': ('timeseries',),
},
'ctd1' : { 'id' : 'ctd1',
'description' : 'Near-surface CTD Data each sample period',
# using internally stored data from recovery
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd1/store/2014_05/',
'raw_file_glob' : '*',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd1/',
'process_module' : 'proc_sbe37_ctd',
'utc_offset' : 0, # hours offset to utc of sampling time
'nominal_depth' : -2.0, # meters
'depth_units' : 'm',
'depth_reference' : 'sea_surface',
# Recommended
'source': 'Seabird (SBE) 37 IMP',
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
'ndbc_vars' : ('wtemp','depth', 'wtemp', 'salin'),
# wtemp recorded in two fields for ndbc
# wtmp1 tag needed to get into weather obs, others for temp/salin obs
'ndbc_tags' : ('wtmp1', 'dp001', 'tp001', 'sp001'),
'ndbc_units' : ('degC', 'm', 'degC', 'psu'),
'plot_module': 'plot_cr1000_ctd',
'plot_names': ('timeseries',),
},
'ctd2' : { 'id' : 'ctd2',
'description' : 'Mid-level CTD Data each sample period',
# no data recovered from internal store
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd2/',
'raw_file_glob' : '*',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd2/',
'process_module' : 'proc_cr1000_ctd_v1',
'utc_offset' : 0, # hours offset to utc of sampling time
'nominal_depth' : -15.0, # meters
'depth_units' : 'm',
'depth_reference' : 'sea_surface',
# Recommended
'source': 'Seabird (SBE) 37 IMP',
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
'ndbc_vars' : ('depth', 'wtemp', 'salin'),
'ndbc_tags' : ('dp002', 'tp002', 'sp002'),
'ndbc_units' : ('m', 'degC', 'psu'),
'plot_module': 'plot_cr1000_ctd',
'plot_names': ('timeseries',),
},
'comp' : { 'id' : 'comp',
'description' : 'Compass data averaged for one minute each sample period',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/comp/',
'raw_file_glob' : '*.dat',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/comp/',
'process_module' : 'proc_cr1000_comp',
'utc_offset' : 0, # hours offset to utc of sampling time
'compass_height' : 1.5, # meters
'height_units' : 'm',
'height_reference' : 'sea_surface',
'source': 'Honeywell Digital Compass',
'plot_module': 'plot_cr1000_comp',
'plot_names': ('timeseries',),
},
'sys' : { 'id' : 'sys',
'description' : 'CR1000 System Data',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/sys/',
'raw_file_glob' : '*.dat',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/sys/',
'process_module' : 'proc_cr1000_sys',
'utc_offset' : 0, # hours offset to utc of sampling time
'canister_height' : 1.5, # meters
'height_units' : 'm',
'height_reference' : 'sea_surface',
'source': 'CR1000 batt, canister temp, and leak detect',
'plot_module': 'plot_cr1000_sys',
'plot_names': ('timeseries',),
},
'gps' : { 'id' : 'gps',
'description' : 'CR1000 GPS Data',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/gps/',
'raw_file_glob' : '*.dat',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/gps/',
'process_module' : 'proc_cr1000_gps',
'utc_offset' : 0, # hours offset to utc of sampling time
'source': 'Garmin HVS 19x GPS ',
'plot_module': 'plot_cr1000_gps',
'plot_names': ('watch_circle',),
},
'ctd3' : { 'id' : 'ctd3',
'description' : 'Near-bottom CTD Data each sample period',
# using internally stored data from recovery
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd3/store/2014_05/',
'raw_file_glob' : '*.asc',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd3/',
'process_module' : 'proc_sbe37_ctd',
'utc_offset' : 0, # hours offset to utc of sampling time
'nominal_depth' : -100.0, # meters
'depth_units' : 'm',
'depth_reference' : 'sea_surface',
# Recommended
'source': 'Seabird (SBE) 37 SMP',
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
'ndbc_vars' : ('wtemp','depth', 'wtemp', 'salin'),
# wtemp recorded in two fields for ndbc
# wtmp1 tag needed to get into weather obs, others for temp/salin obs
'ndbc_tags' : ('wtmp1', 'dp001', 'tp001', 'sp001'),
'ndbc_units' : ('degC', 'm', 'degC', 'psu'),
'plot_module': 'plot_cr1000_ctd',
'plot_names': ('timeseries',),
},
'adcp' : { 'id' : 'adcp',
'description' : 'RDI Current profile data',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/adcp_wh_cLogData/store/2014_04',
'raw_file_glob' : '*',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/adcp',
'process_module' : 'proc_rdi_logdata_adcp',
'utc_offset' : 0, # hours offset to utc
'nbins' : 35,
'bin_size' : 1.0, # meters
'transducer_ht' : 0.75, # meters above the bottom
'blanking_ht' : 1.5, # meters above transducer
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','u','v'),
},
'adcpwaves' : {'id' : 'adcpwaves',
'description' : 'Directional wave data',
'raw_dir' : '/seacoos/data/nccoos/level0/b1/adcp_wh_cSpecData/',
'raw_file_glob' : 'DSpec*',
'proc_dir' : '/seacoos/data/nccoos/level1/b1/adcpwaves',
'process_module' : 'proc_rdi_dspec_dw',
'utc_offset' : 0, # hours offset to utc
'ndir' : 90.,
'nfreq' : 128.,
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
# 'latest_vars' : ('time','lat','lon','z','Tp','Hs'),
},
}