Difference between revisions of "Data Transfer"

From SAAO TOPS Wiki
Jump to: navigation, search
(Created page with "== Verification == There's a script that runs daily at 9:00 to confirm that all data have been copied from the instruments onto astro.suth and astro.cape. The script can be v...")
 
Line 2: Line 2:
  
 
There's a script that runs daily at 9:00 to confirm that all data have been copied from the instruments onto astro.suth and astro.cape. The script can be viewed [https://bitbucket.org/snippets/saao/5jbX9/compares-pairs-of-directories-and-lists here] while logged into Bitbucket.
 
There's a script that runs daily at 9:00 to confirm that all data have been copied from the instruments onto astro.suth and astro.cape. The script can be viewed [https://bitbucket.org/snippets/saao/5jbX9/compares-pairs-of-directories-and-lists here] while logged into Bitbucket.
 +
 +
=== How it works ===
 +
 +
This requires [http://paramiko.org Paramiko], is currently configured inside of my home directory on astro2015.cape.saao.ac.za at /home/briehan/check_data.py and works by checking for the existence of fits files inside of the directories for this month and last month.

Revision as of 15:29, 8 September 2016

Verification

There's a script that runs daily at 9:00 to confirm that all data have been copied from the instruments onto astro.suth and astro.cape. The script can be viewed here while logged into Bitbucket.

How it works

This requires Paramiko, is currently configured inside of my home directory on astro2015.cape.saao.ac.za at /home/briehan/check_data.py and works by checking for the existence of fits files inside of the directories for this month and last month.