Changes

Jump to: navigation, search

SHOC

605 bytes added, 18:34, 25 March 2015
/* Data Transfer */
===Data Transfer===
* To transfer data directly your computer, use 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)** From that command line, connect to the instrument computer. As appropriate for your telescope, use either of the following commands: ssh shoc74in@shoc74in.suth.saao.ac.za ssh shoc40in@shoc74in.suth.saao.ac.za ---- When prompted for the password, use the password for the 74in or 40in user. scp ccd74@astro.suth.saao.ac.za:/data/telescopedata/74in/SHA/2015/0325/*.fits ~/MySAAODataSomewhere ---- where "MySAAODataSomwhere is your local file path * To move data to the SAN on the Sutherland plateau (from which you can access it by connecting to the SAAO server), there is a data copy script on the SHOC computer. SSH into ** From a command line, connect to the instrument (sshXX computer. ) run As appropriate for your telescope, use either of the following commands: ssh shoc74in@shoc74in.suth.saao.ac.za ssh shoc40in@shoc74in.suth.saao.ac.za ---- When prompted for the password, use the password for the 74in or 40in user.**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.
Without parameters**For information on the script, it will try to transfer today's data. A 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 transfer data directly your computer, use 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>
===Advanced users guide ===
214
edits