User Tools

Site Tools


operations:disk_pos.py

This wiki is not maintained! Do not use this when setting up AuScope experiments!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
operations:disk_pos.py [2016/11/10 09:36]
Bryn Emptage created
operations:disk_pos.py [2016/11/11 05:46]
Bryn Emptage
Line 1: Line 1:
-**Using the disk_pos.py script.**+====== ​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 <​code>​ gedit disk_pos.py </​code>​ 
 + 
 +This will open the script in a text file. Scroll down to the "​main"​ function (''​def main():''​). 
 + 
 + 
 +{{ :​operations:​main2.png?​direct |}} 
 + 
 + 
 +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 <​code>​ stations = ['​hb','​ke','​yg',​ '​ho'​] </​code>​ 
 + 
 +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  
 +<​code>​ python disk_pos.py </​code>​ the script should run and give you an output which looks like{{:​operations:​outout.png?​direct|}} 
 + 
 +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