This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
operations:fixwth [2018/03/13 11:33] Patrick Yates |
operations:fixwth [2018/03/13 12:22] Patrick Yates |
||
---|---|---|---|
Line 8: | Line 8: | ||
Katherine gets its weather from a server with a script "grabMET.sh" which runs on computer dell2ke | Katherine gets its weather from a server with a script "grabMET.sh" which runs on computer dell2ke | ||
to log on: | to log on: | ||
- | <code> vncviewer dell2ke <code> | + | <code> vncviewer dell2ke </code> |
+ | the password is the usual one. | ||
+ | |||
+ | From here, you need to make sure that only one version of grabMET.sh is running: | ||
+ | <code> ps -ef | grep grabMET </code> | ||
+ | should output something like this | ||
+ | |||
+ | <code> | ||
+ | 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 | ||
+ | </code> | ||
+ | |||
+ | 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 <code> ~/grabMET.sh </code> | ||
+ | |||
+ | Watch it for a little bit, make sure that is is working then see if the values are updating with | ||
+ | <code> wth </code> | ||
+ | |||
+ | |||
+ | ===== Hobart (Hb) ===== | ||
+ | blank | ||
+ | |||
+ | |||
+ | ===== Yarragadee (Yg) ===== | ||
+ | blank |