Code to interface the cloudwatcher with the NGTS monitor.
The cloudwatcher is a device installed on the roof of the office at NGTS in Paranal. Amongst other things, it measures the temperature of the sky and thus the presence of clouds.
The cloudwatcher is connected through a Moxa to the ngts-par-ocs-01 computer.
The manual of the device and further information (including the serial protocol documentation) can be found here: https://lunaticoastro.com/aag-cloud-watcher/moreinfo/
- Login into par-ds
- Connect to the ocs-01 machine with
ssh ngts-par-ocs-01
- List the screen sessions with
screen -ls
- Connect to the
cloudwatcher
screen session withscreen -xr cloudwatcher
.- If the screen doesn't exist, create and join it with
screen -S cloudwatcher
and inside navigate to/home/ops/dev/cloudwatcher
.
- If the screen doesn't exist, create and join it with
- If the code was already running inside the screen, stop it with
Ctrl-C
. - (Re-)run the cloudwatcher code with
/usr/local/python/bin/python AAG.py
- Detach from the screen session by typing
Ctrl-A
followed byD