User Tools

Site Tools


operations:disk_pos.py

Using the disk_pos.py script

Disk_pos.py will calculate the difference between recorded and expcted data amounts. You only need to set it up once for each experiment. On a terminal in ops8 (in the home directory) type

 gedit disk_pos.py 

This will open the script in a text file. Scroll down to the “main” function (def main():).

As you can see in the above screenshot, you will need to change the experiment name to the current one, make sure all the stations are entered e.g. if you need to enter Hobart 26 m as well, change the the stations variable to

 stations = ['hb','ke','yg', 'ho'] 

Next, enter the names of the log monitor files in the correct order ( hb, ke, yg, ho). The names can be read from the log monitors (just below the phone number field). You will also need to enter the starting offsets for each module in the correct order (from the handover notes or the log monitor).

To run the script please open a terminal on ops8 (home directory) and type

 python disk_pos.py 

the script should run and give you an output which looks like

The Data Diff variable can be copied into the checklist.

/home/www/auscope/opswiki/data/pages/operations/disk_pos.py.txt · Last modified: 2016/11/11 05:46 by Bryn Emptage