Changes

Jump to: navigation, search

SHOC

1,655 bytes added, 19:54, 27 March 2015
** 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
 
==== Recue Data====
 
Under normal operation, the system automatically updates the FITS cube header with supplementary information (filter, external trigger parameters, telescope pointing information etc.) and the moves the cube to the permanent (for the night) storage area. From time to time, it may be neccessary to do this manually, using the rescue_data tool. In particular, if the system has frozen at the end of an acquisition, but before fixing the header and moving the datra file, it will be neccessary to perform this procedure.
* Open a terminal.
* Find your data in the spool directory. It's stored in a directory named /data/spool/<CCYYMMDD><index>.<HHMMSS> (where index is the index, CCYYMMDD is the date and HHMMSS is the time the acquisition started). For example, /data/spool/201503250002.141026/ .
* There will be files named data.fits and info.txt
* The info.txt file contains the supplementary information.
* Change to this directory.
* Run the rescue utility: type rescue_data.py and then answer the questions as prompted.
* The telescope is the name of the telescope being used; either 40in or 74in.
* The instrument will be one of shocnawe (SHA) or shocndisbelief (SHD). These are used to create the directory and filename in the /data directory. The directory will be of the form /data/<telescope>/<instrument>/<YYYY>/<MMDD>, and the file of the form <instrument>_<YYYYMMDD>.<index>.fits. From this, the instrument name can be determined.
* You will be prompted for an index to use. NB: make sure there is no existing file with the same index that will be overwritten (one option is to use an index like 3a , if index 3 exists).
=== In-depth Information ===
====Characteristics and Properties====
187
edits