1 |
platform_info = { |
---|
2 |
'id' : 'ouba', |
---|
3 |
'location' : 'Outer Banks, NC', |
---|
4 |
##### use bounding box (limits or polygon) to describe location |
---|
5 |
'lat' : (34.5, 38.), # degrees true (-) south, (+) north |
---|
6 |
'lon' : (-76, -73.), # degrees true (-) west, (+) east |
---|
7 |
'mvar' : -11, # degrees (-) west, (+) east |
---|
8 |
'nlat' : 65., |
---|
9 |
'nlon' : 45., |
---|
10 |
# 'mean_water_depth' : -8.14, # meters (-) down, (+) up |
---|
11 |
# 'mean_water_depth_time_period' : 'June 2006 - June 2008', |
---|
12 |
'institution' : 'nccoos', |
---|
13 |
# |
---|
14 |
'config_start_date' : '2010-07-01 00:00:00', |
---|
15 |
'config_end_date' : None, # None or yyyy-mm-dd HH:MM:SS |
---|
16 |
'packages' : ('hfr', ), |
---|
17 |
} |
---|
18 |
sensor_info = { |
---|
19 |
'hfr' : { 'id' : 'hfr', |
---|
20 |
'description' : 'High Frequency RADAR Surface Current Totals', |
---|
21 |
'raw_dir' : '/seacoos/data/nccoos/level0/ouba/hfr_totals', |
---|
22 |
'raw_file_glob' : '*.tuv', |
---|
23 |
'proc_dir' : '/seacoos/data/nccoos/level1/ouba/hfr_totals', |
---|
24 |
'process_module' : 'proc_codar_totals', |
---|
25 |
'utc_offset' : 0, # hours offset to utc |
---|
26 |
'operating_frequency' : 4.5, # MHz |
---|
27 |
'averaging_radius' : 9.0, # kilometers |
---|
28 |
# 'plot_module' : 'ouba_totals_plot', |
---|
29 |
# 'plot_names' : ('vecmap',), |
---|
30 |
# 'csv_dir' : '/seacoos/data/nccoos/latest_csv', |
---|
31 |
# 'cvs_vars' : ('time','lat','lon','z','u','v'), |
---|
32 |
'latest_dir' : '/seacoos/data/nccoos/latest_v2.0', |
---|
33 |
'latest_vars' : ('time','lat','lon','z','u','v'), |
---|
34 |
}, |
---|
35 |
} |
---|
36 |
|
---|
37 |
## NOTE: grid definition for totals based on 6km spacing and the bounding box |
---|
38 |
# minlat, maxlat = (34.5, 38.) |
---|
39 |
# minlon, maxlon = (-76, -73.) |
---|
40 |
# midlat = minlat + 0.5*(maxlat-minlat) |
---|
41 |
## ~111 km = 1 deg latitude |
---|
42 |
# nlat = numpy.round((maxlat-minlat) *111/6) |
---|
43 |
# nlon = numpy.round((maxlon-minlon) * math.cos(midlat*math.pi/180)*111/6) |
---|
44 |
|
---|