Changes

Jump to: navigation, search

SHOC

1,431 bytes removed, 18:58, 25 March 2015
/* Data Transfer */
===Data Transfer===
There are two ways to transfer data: (1) directly to your computer or (2) onto the SAAO server. The data are automatically copied to the server every morning.* (1) To transfer data directly your computer, use the command line.** Open a shell on your local PC (Putty if you're Copy the data using Windows or a bash/tcsh/sh if on Mac or Linux)** From that the following command line, connect to depending on the instrument computer. As appropriate for your telescope, use either of the following commands: ssh scp 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<instrument>/2015<YYYY>/0325<MMDD>/*.fits ~/MySAAODataSomewhere ---- where "MySAAODataSomwhere is your local file path * (2) 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. ** From a command line, connect to the instrument computer. As appropriate for your telescope, use either of the following commands: LocalFilePath ssh shoc74in@shoc74in.suth.saao.ac.za ssh scp shoc40in@shoc74inastro.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. **For information on the script, a logfile is produced that will be in /var/log40in/<TELESCOPEinstrument>DataCopyLog/<MMDDYYYY>-<NUM> where <TELESCOPE> is 40in or 74in /<MMDD> MonthDay <NUM> the Nth time this script has been run/*.fits /LocalFilePath
===Advanced users guide ===
214
edits