(vi) The regions will continue to appear on the display under the "Controls" GUI tab. Selecting "Region" -> "Delete Regions" will remove all of the regions shown on the frame.
[[File:RealTimeSHOC.jpg|800px|left]]<br clear=all>
====Data Transfer====
There are two ways to transfer data: (1) directly to your computer or (2) onto the SAAO storage area network (SAN). The data are automatically copied to the server every morning (at 9:30am).
* (1) To transfer data directly to 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)
** Copy the data using the following command, depending on the telescope:
rsync -avzP shoc74in@shoc74in.suth.saao.ac.za:/data/74in/SH?/<YYYY>/<MMDD>/*.fits /LocalFilePath
rsync -avzP shoc40in@shoc40in.suth.saao.ac.za:/data/40in/SH?/<YYYY>/<MMDD>/*.fits /LocalFilePath
---- where SH? is a wildcard that will point to the correct instrument mounted on the telescope for that night and "/LocalFilePath" is the location on your local machine
---- the password is that for the shoc74in or shoc40in accounts
* (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:
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.
** To collect your data from the SAN, you'll have to secure copy it 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>/SH?/<YYYY>/<MMDD>
rsync -avzP ccd74@astro.suth.saao.ac.za:/data/telescopedata/74in/SH?/<YYYY>/<MMDD>/*.fits /LocalFilePath
rsync -avzP ccd40@astro.suth.saao.ac.za:/data/telescopedata/40in/SH?/<YYYY>/<MMDD>/*.fits /LocalFilePath
---- where SH? is a wildcard that will point to the correct instrument mounted on the telescope for that night; YYYY is the year; MMDD is the month and day; and "/LocalFilePath" is the location on your local machine
* Useful:
**On the SHOC computers, the 'tree' command will assist you in trying to look at what folders and files are under that directory.
** For information on the script, 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
====FITS Header Keywords====