Blame view

config/pyros_observatory/pyros_observatory_default/observatory.yml 6.44 KB
650806ac   Alexis Koralewski   add config/observ...
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


# Schema file to check the syntax of this config file
schema: schema_observatory-2.0.yml

# Here is the description of the configuration of an observatory
OBSERVATORY: 

    name: Default
    
    INVENTORY:
        # === Inventory of available devices
        # A device is a hardware with a maximum of one connection to drive it with a computer.
        # As a device can be shared with various units, it is defined at the observatory level.
        DEVICES:
        
            # Each device is defined by a specific configuration file that enumarate the components.
            
            - DEVICE: 
                name: AstroMecCA
                file: device_Astromecca_TM350_default.yml
                
            - DEVICE: 
                name: PLC_meteo
                file: device_Raspberry_MiFe_default.yml
                # Describe here the configuration of the device in operation
                network_interface_index: 0
                network_ip: 192.168.0.2
                
            - DEVICE: 
                name: SkyWatcher_ED80
                file: device_SkyWatcher_ED80_default.yml
                
                
            - DEVICE: 
                name: ZWO_ASI1600MMPro
                file: device_ZWO_ASI1600MMPro_default.yml
                
                
23a61124   Alexis Koralewski   Change obsconfig ...
40
        # # === Inventory of available computers
650806ac   Alexis Koralewski   add config/observ...
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
        # A computer is a hardware of a virtual machine.
        # As a computer can be shared with various units, it is defined at the observatory level.
        COMPUTERS:
        
            - COMPUTER:
                name: MainComputer
                file: computer_default.yml
                    # Describe here the configuration of the computer in operation
                role: Main
                    # Choice of the interface to connect the computer to the network (cf.network_interfaces infile)
                network_interface_index: 0
                    # IP attributed by the Router
                network_ip: 192.168.0.11

                
        # === Assembly of devices into units
        # A unit is a robotic telescope 
    UNITS: 

        - UNIT: 
            name: default_unit
            home: "GPS 2.0375 E 43.6443484725 136.9"
            horizon:
                type: ALTAZe
                line: [ [0,0], [360,0] ]
                
            DATABASE:
                computer: MainComputer
                file: .database.env
                    
d3e71677   Alexis Koralewski   Put seq & eph fn_...
71
72
73
74
75
76
77
78
79
80
81
82
83
84
            SEQUENCE_MANAGEMENT:
                fn_contexts:
                    pyros_seq:
                        root_dir: "data/sequences/"
                        description: "pyros_seq"
                        extension: ".p"
                        pathnaming: "PyROS.seq.1"

                    pyros_eph:
                        root_dir : "/tmp/eph"
                        description: "Ephemeris PyROS"
                        extension : ".f"
                        pathnaming : "PyROS.eph.1"
                    
650806ac   Alexis Koralewski   add config/observ...
85
86
87
88
89
90
91
92
93
94
95
            AGENTS:
            
                - AGENT_DEVICE:
                    name: A_EnvMonitor
                    computer: MainComputer
                    device: PLC_meteo
                    is_real: False
                    
                - AGENT:
                    name: plc
                    computer: MainComputer
7cc13fec   Alexis Koralewski   Rename path agent...
96
                    library: private/plugin/agent_devices
650806ac   Alexis Koralewski   add config/observ...
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
                    
                - AGENT_DEVICE:
                    name: mount
                    computer: MainComputer
                    device: AstroMecCA
                    is_real: False

                - AGENT_DEVICE:
                    name: optic
                    computer: None
                    device: SkyWatcher_ED80
                    is_real: False
                    
                - AGENT_DEVICE:
                    name: camera
                    computer: MainComputer
7cc13fec   Alexis Koralewski   Rename path agent...
113
                    library: private/plugin/agent_devices
650806ac   Alexis Koralewski   add config/observ...
114
115
116
117
118
                    device: ZWO_ASI1600MMPro
                    protocol: private/plugin/agent_devices/camera_protocol.py
                    is_real: False

                - AGENT:
144148e2   Alexis Koralewski   Fix various obsco...
119
                    name: A_Majordome
650806ac   Alexis Koralewski   add config/observ...
120
                    computer: MainComputer
7cc13fec   Alexis Koralewski   Rename path agent...
121
                    library: ~
650806ac   Alexis Koralewski   add config/observ...
122
123
124
125
                
                - AGENT:
                    name: A_SCP_Manager
                    computer: MainComputer
7cc13fec   Alexis Koralewski   Rename path agent...
126
                    library: ~
650806ac   Alexis Koralewski   add config/observ...
127
128

                - AGENT:
144148e2   Alexis Koralewski   Fix various obsco...
129
                    name: A_Scheduler
650806ac   Alexis Koralewski   add config/observ...
130
                    computer: MainComputer
7cc13fec   Alexis Koralewski   Rename path agent...
131
                    library: ~
650806ac   Alexis Koralewski   add config/observ...
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154



            TOPOLOGY:
            
                SECURITY:
                    name: PLC
                    COMPONENT_AGENTS:
                        - WeatherStation: plc
                        - BuildingCover: plc

                MOUNT:
                    name: TM350_prototype
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
                    - CHANNEL:
                        name: OpticalChannel
                        symbol: MCH
                        AGENTS:
                            - optic
                            - camera
d3e71677   Alexis Koralewski   Put seq & eph fn_...
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
                        fn_contexts:
                            img_L0:
                              root_dir: "data/product/images/science/incoming"
                              description: "PyROS images L0"
                              extension: ".fit"
                              naming: "PyROS.img.1"
                            img_L1:
                              root_dir: "data/product/images/science/processed"
                              description: "PyROS images L1"
                              extension: ".fit"
                              pathnaming: "PyROS.img.1"
                            img_tmp:
                              root_dir: "data/product/images/tmp"
                              description: "PyROS temporary files during processings"
                              extension: ".fit"
                              pathnaming: ""
650806ac   Alexis Koralewski   add config/observ...
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186

                ALBUMS:
                    
                    - ALBUM :
                        name: MainChannel
                        symbol: MCH
                        description: "Album with one channel"
                        CHANNELS:
                            - OpticalChannel
                
                LAYOUTS:
                    - LAYOUT:
                        name: MainChannel
                        description: Layout with one album
                        ALBUMS:
                            - MainChannel