Changes

SHOC

1,498 bytes added, 18:12, 25 March 2015
/* Data Transfer */
====Data Transfer====
Transfer of data is done from the command line. Open a shell on your local PC (Putty if you're using Windows or a bash/tcsh/sh if on Mac or Linux) to the instrument you're using (shoc74in.suth.saao.ac.za or shoc40in.suth.saao.ac.za).
 
<code>scp ccd74@astro.suth.saao.ac.za:/data/telescopedata/74in/SHA/2015/0325/*.fits ~/MySAAODataSomewhere</code>
 
<code>ssh shoc74in@shoc74in.suth.saao.ac.za</code> # example here using the user shoc74in on the instrument shoc74in.suth.saao.ac.za
 
To move data to the SAN on the Sutherland plateau, run the shocdatacopy.sh script. Options can be:
shocdatacopy.sh -d yesterday # to transfer yesterday's data
shocdatacopy.sh -d YYYYMMDD # to transfer data from some specified date
 
Without parameters, it will try to transfer today's data.
 
A logfile is produced that will be in /var/log/<TELESCOPE>DataCopyLog<MMDD>-<NUM> where
<TELESCOPE> is 40in or 74in
<MMDD> MonthDay
<NUM> the Nth time this script has been run
 
To take your data with you, you'll have to secure copy it from the instrument or from '''astro.suth.saao.ac.za'''. The usernames for this are '''ccd40''' and '''ccd74''' depending on your telescope. Ask for the password. Data are in the path:
/data/telescopedata/<TELESCOPE>/<INSTR>/<YYYY>/<MMDD>
<code>scp ccd74@astro.suth.saao.ac.za:/data/telescopedata/74in/SHA/2015/0325/*.fits ~/MySAAODataSomewhere</code>
 
Useful: The 'tree' command will assist you in trying to look at what files are 'there'.
cd /data/74in/SHA/2015/
tree 0325
=== In-depth Information ===
163
edits