-
Notifications
You must be signed in to change notification settings - Fork 0
/
seawolf.yaml
96 lines (92 loc) · 2.25 KB
/
seawolf.yaml
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
# To run configurations in this file:
#
# python logger\listener\listen.py --config_file local\stonybrook\seawolf.yaml:met1_on
#
# To run with cached data server:
#
# In one terminal:
# python logger\listener\listen.py --config_file local\stonybrook\seawolf.yaml:met1_cache
#
# In another:
# python server\cached_data_server --port 8766
#
# Should then be able to see live met data from cached data server via:
# python logger\listener\listen.py --cached_data Met1WindDirTrue,Met1WindSpeedKt@localhost:8766
#
# Or view the data in a demo HTML page by opening the page at
# display\html\seawolf_demo.html
configs:
gps1_on:
readers:
- class: SerialReader
kwargs:
port: com11
baudrate: 4800
transforms:
- class: TimestampTransform
- class: PrefixTransform
kwargs:
prefix: gps1
- class: ParseTransform
kwargs:
definition_path: local\stonybrook\devices\*.yaml
quiet: true
writers:
- class: TextFileWriter
gps1_cache:
readers:
- class: SerialReader
kwargs:
port: com11
baudrate: 4800
transforms:
- class: TimestampTransform
- class: PrefixTransform
kwargs:
prefix: gps1
- class: ParseTransform
kwargs:
definition_path: local\stonybrook\devices\*.yaml
quiet: true
writers:
- class: TextFileWriter
- class: CachedDataWriter
kwargs:
data_server: localhost:8766
met1_on:
readers:
- class: SerialReader
kwargs:
port: com6
baudrate: 4800
transforms:
- class: TimestampTransform
- class: PrefixTransform
kwargs:
prefix: met1
- class: ParseTransform
kwargs:
definition_path: local\stonybrook\devices\*.yaml
quiet: true
writers:
- class: TextFileWriter
met1_cache:
readers:
- class: SerialReader
kwargs:
port: com6
baudrate: 4800
transforms:
- class: TimestampTransform
- class: PrefixTransform
kwargs:
prefix: met1
- class: ParseTransform
kwargs:
definition_path: local\stonybrook\devices\*.yaml
quiet: true
writers:
- class: TextFileWriter
- class: CachedDataWriter
kwargs:
data_server: localhost:8766