-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.R
49 lines (42 loc) · 1.53 KB
/
config.R
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
## Configuration file
# The file config.R is automatically loaded whenever a user accesses ShipLogger so any edits can be
# applied with a simple refresh of the app page.
# Computer should be in UTC, because that is the only responsible thing to do.
settings = list(
nmea.type = 'demo', # Options: 'serial' or 'tcp' or 'demo'
nmea.tcp.host = "127.0.0.1",
nmea.tcp.port = 1000,
nmea.serial.port = "com10",
nmea.serial.mode = "9600,n,8,1", # Set baud rate here, typically either 9600 or 4600
nmea.update = 5, # [seconds] 5 to 10 works well.
datetime.format = '%Y-%m-%d %H:%M:%S %Z',
demo.mode = F
)
color = list(
'Deploy' = list(text = '#ddd', bkg = '#224422'),
'Recover' = list(text = '#ddd', bkg = '#000'),
'AtDepth' = list(text = '#ddd', bkg = '#000'),
'Start' = list(text = '#ddd', bkg = '#000'),
'End' = list(text = '#ddd', bkg = '#000'),
'Collect' = list(text = '#ddd', bkg = '#000')
)
instruments = list(
'CTD' = c('Deploy', 'Recover'),
'Bongo' = c('Deploy', 'AtDepth', 'Recover'),
'Multinet' = c('Deploy', 'AtDepth', 'Recover'),
'Mooring Deployment' = c('Start', 'End'),
'Mooring Recovery' = c('Start', 'End'),
'Underway Sample' = c('Collect'),
'TM Fish' = c('Start', 'End'),
'TM CTD' = c('Deploy', 'Recover'),
'CTD (prod)' = c('Deploy', 'Recover'),
'Other (see note)' = c('Collect')
)
instruments = instruments[order(names(instruments))]
authors = c(
'',
'Thomas Kelly <tbkelly@alaska.edu>',
'Person2 <other@email.com>',
'Pet Shrimp <pelagiclyfe@gmail.com>'
)
authors = authors[order(authors)]