In mid-2018 a new wind sensor with no moving parts was installed at Ceduna after the demise of the previous system. The wind sensor outputs the information onto the Ceduna network as UDP packets and the python scripts
MulticastCapturecapture.py in /home/observer on
ops1cd read those packets and write the information to a log file (
/tmp/windlog.txt) on ops1cd. Desktop 3 of the
pcfscd:0 vnc is now dedicated for this purpose, so many of the relevant ssh terminals and scripts will be present here.
MulticastCapture.py is the original script while
MulticastCapture.py and pipes the output into the
/tmp/windlog.txt. To make sure that
MulticastCapturecapture.py is working properly, and for easy monitoring of the current
per/second windspeed, one can simply
tail -f /tmp/windlog.txt. If this fails to update, then
MulticastCapturecapture.py may not be running. Check wtih
ps -ef | grep -i Multi and if no, run it with
~/MulticastCapturecapture.py on ops1cd.
The Ceduna wind for the last two hours can be viewed at http://ra-state.phys.utas.edu.au/cdwind.html and the wind for the last day at http://ra-state.phys.utas.edu.au/cdwind_day.html. These web pages reside on
/home/www/ra-state/tmp by the
ceduna_wind.pl script running on
This is a script which runs on
ops1cd and extracts information from
/tmp/windlog.txt and creates a JSON file. It also copies the .json file to
fourier.phys.utas.edu.au for display on the Ceduna wind webpages.
ceduna_wind.pl is located in the /home/observer, it requires the
Astro::Time perl modules installed on any system it runs on. It also needs the
notastro.pm perl module available in the PERLLIB path (or that this file be in the same directory as the perl script). To copy the JSON file to
fourier it requires that the private key is setup to enable scp from the observer account on ops1cd to the observer account on fourier without a password. At present
ceduna_wind.pl is run by two crontab entries for the
observer account on ops1cd, once every 5 minutes the 2 hour wind data is updated and once every 30 minutes the 1 day wind data is updated.
An alternative to view the long-term wind trends at Ceduna is to go the the 3rd desktop of the
pcfscd:0 vnc and run
~/plotcdwind.py which will make a quick and dirty plot of the windspeed over the last 5 hours.