User Tools

Site Tools


operations:fixwth

This is an old revision of the document!


Fixing Weather monitor (wth)

If the weather is either not updating (basically every few mins, no weather or sensor is that stable) then the system will need a reset.

The different antennas have different systems getting the weather.

Katherine (Ke)

Katherine gets its weather from a server with a script “grabMET.sh” which runs on computer dell2ke to log on:

 vncviewer dell2ke 

the password is the usual one.

From here, you need to make sure that only one version of grabMET.sh is running:

 ps -ef | grep grabMET 

should output something like this

observer  8124  7723  0 21:28 pts/1    00:00:00 grep -i grabMET
observer  9860  3750  0 20:57 pts/0    00:00:00 /bin/bash ./grabMET.sh
observer 21964 21753  0 21:09 ?        00:00:00 /bin/bash /home/observer/grabMET.sh

Anyway, in ye old vnc window, just close everything. The program which runs some java normally goes to the MET website and downloads the current values. It pipes it into the /tmp/wth file (which you can read with “cat /tmp/wth”). If this file is not being overwritten then it will keep reading the same values.

Then re-run the script with

 ~/grabMET.sh 

Watch it for a little bit, make sure that is is working then see if the values are updating with

 wth 
/home/www/auscope/opswiki/data/attic/operations/fixwth.1520941415.txt.gz · Last modified: 2018/03/13 11:43 by Patrick Yates