Changes

Jump to: navigation, search

SHOC

302 bytes removed, 07:38, 18 June 2018
/* Automated Data Acquisition (Scripting) */
== Change Log ==
'''Most recent changes at the top'''
* '''v1.4.2 Release date 3 January 2018<br>'''
** Feature: Better error reporting
** Feature: TCS info now available when mounted on the 40-inch
* '''v1.4.0 Release date 23 November 2016<br>'''
When running a series of exposures on the same target with different filters it
can be useful to make use of the automated acquisition mode on the camera tab.'''NOTE: SCRIPTING ALWAYS USES THE INTERNAL TRIGGER'''
[[File:scripting_1.png|1000px]]
==Data Transfer==
There is an automatic transfer of data from the instrument to the file servers in Sutherland and Cape Town, every morning at 7:30. So you should not need to worry about the security of your data. However, you'll still need to access your data! We describe here how to do this. There are two ways to transfer get the data: (1) directly to your computer from the instrument PC or (2) onto from the SAAO storage area network (SAN). The data are automatically copied to the server every morning (at 7:30am).* To use method (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 shoc40in@shoc40in.suth.saao.ac.za:"/data/40in/shd/2016/0503/*.fits" /LocalFilePath
* (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@shoc40in.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
''This functionality should be available on the 74", the 40" and the new 1m. It has only been tested on the 74".''
The idea is to take a long, GPS-triggered data cube with SHOC at high cadence, while running the LED at 1 PPS (which has a longer pulse on the minute and can thus be used to test absolute timing accuracy).
*The dome and mirror covers must be OPEN for this test to work. (The GPS needs to get satellite signal, and the LED must be seen through the light path.)
*There is an LED mounted in the telescope optical path that can be used to independently verify SHOC timing. Log into the following website:
To use the command line interface:
** Fire up a terminal
** $ ssh <user>@<shocndisbelief|shocnawe>.suth.saao.ac.za** $ cd /home/ccd/programming/shoc/shoc/-gps** $ python -cli.py
** The commands in the cli are help, status, pop, mask, bias, timing_mode and location. Use "help <command>" for more information.
** The timing_mode option makes the GPS use static or dynamic mode.
79
edits