Skip to content

Commit 55616ce

Browse files
committed
added b1 and b2 2017 configs plus wdir offsets
1 parent 7a0aaed commit 55616ce

7 files changed

+1075
-4
lines changed

b1_config_20170301.py

+176
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
platform_info = {
2+
'id' : 'b1',
3+
# 'location' : 'Hatteras Bay, 20 nm East of Oregon Inlet, NC',
4+
# 'lat' : 35.7885, # degrees true (-) south, (+) north
5+
# 'lon' : -75.1053, # degrees true (-) west, (+) east
6+
# 'mvar' : -11.3, # degrees (-) west, (+) east
7+
'location' : 'Testing at IMS, Morehead City, NC',
8+
'lat' : 34.7232, # degrees true (-) south, (+) north
9+
'lon' : -76.7528, # degrees true (-) west, (+) east
10+
'mvar' : -10.0, # degrees (-) west, (+) east
11+
'altitude': 0., # (approx.) station altitude
12+
'altitude_units' : 'm',
13+
'altitude_reference' : 'sea_surface',
14+
#
15+
'mean_water_depth': -32.0,
16+
'mean_water_depth_time_period': 'Not determined',
17+
'institution' : 'nccoos',
18+
#
19+
'config_start_date' : '2017-03-01 00:00:00',
20+
'config_end_date' : '2017-03-15 00:00:00', # None or yyyy-mm-dd HH:MM:SS
21+
# 'config_end_date' : '2017-04-01 00:00:00', # None or yyyy-mm-dd HH:MM:SS
22+
'packages' : ('met', 'wind', 'ctd1', 'ctd2', 'comp', 'sys', 'gps'),
23+
# Required by CF
24+
'institution' : 'Unversity of North Carolina at Chapel Hill (UNC-CH)',
25+
'institution_url' : 'http://nccoos.org',
26+
'institution_dods_url' : 'http://nccoos.org',
27+
'contact' : 'Sara Haines ([email protected])',
28+
'conventions' : 'CF-1.0; SEACOOS-CDL-v2.0',
29+
# Required by Scout
30+
'format_category_code' : 'fixed-point',
31+
'institution_code' : 'nccoos',
32+
# Recommended
33+
'project' : 'North Carolina Coastal Ocean Observing System (NCCOOS)',
34+
'project_url' : 'http://nccoos.org',
35+
'metadata_url' : 'http://nccoos.org',
36+
'references' : 'http://nccoos.org',
37+
'source': 'Buoy CR1000 Datalogger',
38+
# Needed for processing NDBC output
39+
'ndbc_module' : 'ndbc_41062',
40+
'ndbc_id': '41062',
41+
'ndbc_dir' : '/seacoos/data/nccoos/latest_ndbc',
42+
'ndbc_missing' : -9999.0,
43+
# report data to NDBC closest to top of each hour +/- 6 min
44+
'ndbc_sample_interval':(1,'hour'),
45+
'ndbc_sample_offset':(0,'minute'),
46+
'ndbc_time_tolerance':(6,'minute'),
47+
# report data closest to 0:10 and 0:40 each hour +/- 3 min
48+
# 'ndbc_sample_interval':(30,'minute'), # every 30 min
49+
# 'ndbc_sample_offset':(10,'minute'), # offset by +10 min
50+
# 'ndbc_time_tolerance':(3,'minute'),
51+
}
52+
53+
sensor_info = {
54+
'met' : { 'id' : 'met',
55+
'description' : 'Meterological Data averaged for one minute each sample period',
56+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/met/',
57+
'raw_file_glob' : '*.dat',
58+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/met/',
59+
'process_module' : 'proc_cr1000_met',
60+
'utc_offset' : 0, # hours offset to utc of sampling time
61+
'barometer_height' : 1.5, # meters
62+
'temperature_height' : 1.5, # meters
63+
'height_units' : 'm',
64+
'height_reference' : 'sea_surface',
65+
'source': 'Heise Baro, Rotronics Temp/RH, RM Young Precip, Eppley PSP/PIR',
66+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
67+
# 'latest_vars' : ('time','lat','lon','z','atemp', 'baro', 'rh', 'rain', 'psp', 'pir'),
68+
'ndbc_vars' : ('air_temp', 'air_press', 'rh', 'psp', 'pir'),
69+
'ndbc_tags' : ('atmp1', 'baro1', 'rrh', 'srad1', 'lwrad'),
70+
'ndbc_units' : ('degC', 'hPa', '%', 'W m-2', 'W m-2'),
71+
'plot_module': 'plot_cr1000_met',
72+
'plot_names': ('timeseries',),
73+
},
74+
'wind' : { 'id' : 'wind',
75+
'description' : 'Wind Data averaged for one minute each sample period',
76+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/wind/',
77+
'raw_file_glob' : '*.dat',
78+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/wind/',
79+
'process_module' : 'proc_cr1000_wind',
80+
'utc_offset' : 0, # hours offset to utc of sampling time
81+
'anemometer1_height' : 3.66, # meters (12 ft)
82+
'anemometer2_height' : 3.35, # meters (11 ft above sea surface)
83+
'height_units' : 'm',
84+
'height_reference' : 'sea_surface',
85+
# Recommended
86+
'source': 'RM Young Marine Wind Monitor 5106',
87+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
88+
# 'latest_vars' : ('time','lat','lon','z','u', 'v', 'wspd', 'wdir'),
89+
'ndbc_vars' : ('wspd1', 'wdir1', 'wgust1', 'wspd2', 'wdir2', 'wgust2'),
90+
'ndbc_tags' : ('wspd1', 'wdir1', 'gust1', 'wspd2', 'wdir2', 'gust2'),
91+
'ndbc_units' : ('m s-1', 'degrees', 'm s-1', 'm s-1', 'degrees', 'm s-1'),
92+
'plot_module': 'plot_cr1000_wind',
93+
'plot_names': ('timeseries',),
94+
},
95+
'ctd1' : { 'id' : 'ctd1',
96+
'description' : 'Near-surface CTD Data each sample period',
97+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd1/',
98+
'raw_file_glob' : '*',
99+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd1/',
100+
'process_module' : 'proc_cr1000_ctd_v1',
101+
'utc_offset' : 0, # hours offset to utc of sampling time
102+
'nominal_depth' : -2.0, # meters
103+
'depth_units' : 'm',
104+
'depth_reference' : 'sea_surface',
105+
# Recommended
106+
'source': 'Seabird (SBE) 37 IMP',
107+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
108+
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
109+
'ndbc_vars' : ('wtemp','depth', 'wtemp', 'salin'),
110+
# wtemp recorded in two fields for ndbc
111+
# wtmp1 tag needed to get into weather obs, others for temp/salin obs
112+
'ndbc_tags' : ('wtmp1', 'dp001', 'tp001', 'sp001'),
113+
'ndbc_units' : ('degC', 'm', 'degC', 'psu'),
114+
'plot_module': 'plot_cr1000_ctd',
115+
'plot_names': ('timeseries',),
116+
},
117+
'ctd2' : { 'id' : 'ctd2',
118+
'description' : 'Mid-level CTD Data each sample period',
119+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd2/',
120+
'raw_file_glob' : '*',
121+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd2/',
122+
'process_module' : 'proc_cr1000_ctd_v1',
123+
'utc_offset' : 0, # hours offset to utc of sampling time
124+
'nominal_depth' : -15.0, # meters
125+
'depth_units' : 'm',
126+
'depth_reference' : 'sea_surface',
127+
# Recommended
128+
'source': 'Seabird (SBE) 37 IMP',
129+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
130+
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
131+
'ndbc_vars' : ('depth', 'wtemp', 'salin'),
132+
'ndbc_tags' : ('dp002', 'tp002', 'sp002'),
133+
'ndbc_units' : ('m', 'degC', 'psu'),
134+
'plot_module': 'plot_cr1000_ctd',
135+
'plot_names': ('timeseries',),
136+
},
137+
'comp' : { 'id' : 'comp',
138+
'description' : 'Compass data averaged for one minute each sample period',
139+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/comp/',
140+
'raw_file_glob' : '*.dat',
141+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/comp/',
142+
'process_module' : 'proc_cr1000_comp',
143+
'utc_offset' : 0, # hours offset to utc of sampling time
144+
'compass_height' : 1.5, # meters
145+
'height_units' : 'm',
146+
'height_reference' : 'sea_surface',
147+
'source': 'Honeywell Digital Compass',
148+
'plot_module': 'plot_cr1000_comp',
149+
'plot_names': ('timeseries',),
150+
},
151+
'sys' : { 'id' : 'sys',
152+
'description' : 'CR1000 System Data',
153+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/sys/',
154+
'raw_file_glob' : '*.dat',
155+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/sys/',
156+
'process_module' : 'proc_cr1000_sys',
157+
'utc_offset' : 0, # hours offset to utc of sampling time
158+
'canister_height' : 1.5, # meters
159+
'height_units' : 'm',
160+
'height_reference' : 'sea_surface',
161+
'source': 'CR1000 batt, canister temp, and leak detect',
162+
'plot_module': 'plot_cr1000_sys',
163+
'plot_names': ('timeseries',),
164+
},
165+
'gps' : { 'id' : 'gps',
166+
'description' : 'CR1000 GPS Data',
167+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/gps/',
168+
'raw_file_glob' : '*.dat',
169+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/gps/',
170+
'process_module' : 'proc_cr1000_gps',
171+
'utc_offset' : 0, # hours offset to utc of sampling time
172+
'source': 'Garmin HVS 19x GPS ',
173+
'plot_module': 'plot_cr1000_gps',
174+
'plot_names': ('watch_circle',),
175+
},
176+
}

b1_config_20170419.py

+177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
platform_info = {
2+
'id' : 'b1',
3+
'location' : 'Hatteras Bay, 20 nm East of Oregon Inlet, NC',
4+
'lat' : 35.7782, # degrees true (-) south, (+) north
5+
'lon' : -75.0947, # degrees true (-) west, (+) east
6+
'mvar' : -11.3, # degrees (-) west, (+) east
7+
'altitude': 0., # (approx.) station altitude
8+
'altitude_units' : 'm',
9+
'altitude_reference' : 'sea_surface',
10+
#
11+
'mean_water_depth': -36.0,
12+
'mean_water_depth_time_period': 'Not determined',
13+
'institution' : 'nccoos',
14+
#
15+
'config_start_date' : '2017-04-19 18:00:00',
16+
'config_end_date' : '2017-04-29 18:59:59', # None or yyyy-mm-dd HH:MM:SS
17+
# 'config_end_date' : '2017-04-01 00:00:00', # None or yyyy-mm-dd HH:MM:SS
18+
'packages' : ('met', 'wind', 'ctd1', 'ctd2', 'comp', 'sys', 'gps'),
19+
# Required by CF
20+
'institution' : 'Unversity of North Carolina at Chapel Hill (UNC-CH)',
21+
'institution_url' : 'http://nccoos.org',
22+
'institution_dods_url' : 'http://nccoos.org',
23+
'contact' : 'Sara Haines ([email protected])',
24+
'conventions' : 'CF-1.0; SEACOOS-CDL-v2.0',
25+
# Required by Scout
26+
'format_category_code' : 'fixed-point',
27+
'institution_code' : 'nccoos',
28+
# Recommended
29+
'project' : 'North Carolina Coastal Ocean Observing System (NCCOOS)',
30+
'project_url' : 'http://nccoos.org',
31+
'metadata_url' : 'http://nccoos.org',
32+
'references' : 'http://nccoos.org',
33+
'source': 'Buoy CR1000 Datalogger',
34+
# Needed for processing NDBC output
35+
'ndbc_module' : 'ndbc_41062',
36+
'ndbc_id': '41062',
37+
'ndbc_dir' : '/seacoos/data/nccoos/latest_ndbc',
38+
'ndbc_missing' : -9999.0,
39+
# report data to NDBC closest to top of each hour +/- 6 min
40+
'ndbc_sample_interval':(1,'hour'),
41+
'ndbc_sample_offset':(0,'minute'),
42+
'ndbc_time_tolerance':(30,'minute'),
43+
# report data closest to 0:10 and 0:40 each hour +/- 3 min
44+
# 'ndbc_sample_interval':(30,'minute'), # every 30 min
45+
# 'ndbc_sample_offset':(10,'minute'), # offset by +10 min
46+
# 'ndbc_time_tolerance':(3,'minute'),
47+
}
48+
49+
sensor_info = {
50+
'met' : { 'id' : 'met',
51+
'description' : 'Meterological Data averaged for one minute each sample period',
52+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/met/',
53+
'raw_file_glob' : '*.dat',
54+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/met/',
55+
'process_module' : 'proc_cr1000_met',
56+
'utc_offset' : 0, # hours offset to utc of sampling time
57+
'barometer_height' : 1.5, # meters
58+
'temperature_height' : 1.5, # meters
59+
'height_units' : 'm',
60+
'height_reference' : 'sea_surface',
61+
'source': 'Heise Baro, Rotronics Temp/RH, RM Young Precip, Eppley PSP/PIR',
62+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
63+
# 'latest_vars' : ('time','lat','lon','z','atemp', 'baro', 'rh', 'rain', 'psp', 'pir'),
64+
'ndbc_vars' : ('air_temp', 'air_press', 'rh', 'psp', 'pir'),
65+
'ndbc_tags' : ('atmp1', 'baro1', 'rrh', 'srad1', 'lwrad'),
66+
'ndbc_units' : ('degC', 'hPa', '%', 'W m-2', 'W m-2'),
67+
'plot_module': 'plot_cr1000_met',
68+
'plot_names': ('timeseries',),
69+
},
70+
'wind' : { 'id' : 'wind',
71+
'description' : 'Wind Data averaged for one minute each sample period',
72+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/wind/',
73+
'raw_file_glob' : '*.dat',
74+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/wind/',
75+
'process_module' : 'proc_cr1000_wind',
76+
'utc_offset' : 0, # hours offset to utc of sampling time
77+
'anemometer1_height' : 3.66, # meters (12 ft)
78+
'anemometer2_height' : 3.35, # meters (11 ft above sea surface)
79+
'height_units' : 'm',
80+
'height_reference' : 'sea_surface',
81+
# Required offset corrections wdir1-wdir2 = 5
82+
# wdir1 looks okay for this time period from other nearest neighbors
83+
# 2017-04-20 18:00:00 until 2017-04-29 19:00:00 (see next config file for change in offset)
84+
'offset_vars' : ('wdir2',),
85+
'offset_vals' : (5.0,),
86+
# Recommended
87+
'source': 'RM Young Marine Wind Monitor 5106',
88+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
89+
# 'latest_vars' : ('time','lat','lon','z','u', 'v', 'wspd', 'wdir'),
90+
'ndbc_vars' : ('wspd1', 'wdir1', 'wgust1', 'wspd2', 'wdir2', 'wgust2'),
91+
'ndbc_tags' : ('wspd1', 'wdir1', 'gust1', 'wspd2', 'wdir2', 'gust2'),
92+
'ndbc_units' : ('m s-1', 'degrees', 'm s-1', 'm s-1', 'degrees', 'm s-1'),
93+
'plot_module': 'plot_cr1000_wind',
94+
'plot_names': ('timeseries',),
95+
},
96+
'ctd1' : { 'id' : 'ctd1',
97+
'description' : 'Near-surface CTD Data each sample period',
98+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd1/',
99+
'raw_file_glob' : '*',
100+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd1/',
101+
'process_module' : 'proc_cr1000_ctd_v2',
102+
'utc_offset' : 0, # hours offset to utc of sampling time
103+
'nominal_depth' : -2.0, # meters
104+
'depth_units' : 'm',
105+
'depth_reference' : 'sea_surface',
106+
# Recommended
107+
'source': 'Seabird (SBE) 37 IMP',
108+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
109+
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
110+
'ndbc_vars' : ('wtemp','depth', 'wtemp', 'salin'),
111+
# wtemp recorded in two fields for ndbc
112+
# wtmp1 tag needed to get into weather obs, others for temp/salin obs
113+
'ndbc_tags' : ('wtmp1', 'dp001', 'tp001', 'sp001'),
114+
'ndbc_units' : ('degC', 'm', 'degC', 'psu'),
115+
'plot_module': 'plot_cr1000_ctd',
116+
'plot_names': ('timeseries',),
117+
},
118+
'ctd2' : { 'id' : 'ctd2',
119+
'description' : 'Mid-level CTD Data each sample period',
120+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/ctd2/',
121+
'raw_file_glob' : '*',
122+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/ctd2/',
123+
'process_module' : 'proc_cr1000_ctd_v2',
124+
'utc_offset' : 0, # hours offset to utc of sampling time
125+
'nominal_depth' : -15.0, # meters
126+
'depth_units' : 'm',
127+
'depth_reference' : 'sea_surface',
128+
# Recommended
129+
'source': 'Seabird (SBE) 37 IMP',
130+
# 'latest_dir' : '/seacoos/data/nccoos/latest_v2.0',
131+
# 'latest_vars' : ('time','lat','lon','z','depth', 'wtemp', 'cond', 'salin', 'density'),
132+
'ndbc_vars' : ('depth', 'wtemp', 'salin'),
133+
'ndbc_tags' : ('dp002', 'tp002', 'sp002'),
134+
'ndbc_units' : ('m', 'degC', 'psu'),
135+
'plot_module': 'plot_cr1000_ctd',
136+
'plot_names': ('timeseries',),
137+
},
138+
'comp' : { 'id' : 'comp',
139+
'description' : 'Compass data averaged for one minute each sample period',
140+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/comp/',
141+
'raw_file_glob' : '*.dat',
142+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/comp/',
143+
'process_module' : 'proc_cr1000_comp',
144+
'utc_offset' : 0, # hours offset to utc of sampling time
145+
'compass_height' : 1.5, # meters
146+
'height_units' : 'm',
147+
'height_reference' : 'sea_surface',
148+
'source': 'Honeywell Digital Compass',
149+
'plot_module': 'plot_cr1000_comp',
150+
'plot_names': ('timeseries',),
151+
},
152+
'sys' : { 'id' : 'sys',
153+
'description' : 'CR1000 System Data',
154+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/sys/',
155+
'raw_file_glob' : '*.dat',
156+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/sys/',
157+
'process_module' : 'proc_cr1000_sys',
158+
'utc_offset' : 0, # hours offset to utc of sampling time
159+
'canister_height' : 1.5, # meters
160+
'height_units' : 'm',
161+
'height_reference' : 'sea_surface',
162+
'source': 'CR1000 batt, canister temp, and leak detect',
163+
'plot_module': 'plot_cr1000_sys',
164+
'plot_names': ('timeseries',),
165+
},
166+
'gps' : { 'id' : 'gps',
167+
'description' : 'CR1000 GPS Data',
168+
'raw_dir' : '/seacoos/data/nccoos/level0/b1/gps/',
169+
'raw_file_glob' : '*.dat',
170+
'proc_dir' : '/seacoos/data/nccoos/level1/b1/gps/',
171+
'process_module' : 'proc_cr1000_gps',
172+
'utc_offset' : 0, # hours offset to utc of sampling time
173+
'source': 'Garmin HVS 19x GPS ',
174+
'plot_module': 'plot_cr1000_gps',
175+
'plot_names': ('watch_circle',),
176+
},
177+
}

0 commit comments

Comments
 (0)