Difference between revisions of "SHOCnWonder"

From SAAO TOPS Wiki
Jump to: navigation, search
(Data access)
Line 13: Line 13:
 
There is a automated log being genarted by scraping the fits headers as files appear on disk:
 
There is a automated log being genarted by scraping the fits headers as files appear on disk:
 
https://www.saao.ac.za/~sbp/74in_SHW_ObsLogs/
 
https://www.saao.ac.za/~sbp/74in_SHW_ObsLogs/
 +
 +
To use method (1):
 +
** 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
 +
* NOTE: if the rsync command fails, try it WITHOUT the wildcard (*). Some rsync programs apparently do not support this function.
 +
* ANOTHER NOTE:  if the rsync command fails, try it with the data path in quotations, e.g.: 
 +
        rsync -avzP shoc40in@shoc40in.suth.saao.ac.za:"/data/40in/shd/2016/0503/*.fits"  /LocalFilePath
  
 
== OLD vs. NEW ==
 
== OLD vs. NEW ==

Revision as of 11:52, 22 February 2024

Introduction

This page contains additional information for the "new SHOC" aka "shocnwonder" that is now permanently mounted on the 74-inch as a secondary instrument via the 74-inch "Instrument Selector" so user should first familiarise themselves with the "Instrument Selector" wiki: wiki-link.

All the hardware for the new SHOC system is new but the underlying control software, GUI and data-folder structures etc. are identical to the old SHOC systems so user should also first familiarise themselves with the old SHOC wiki: wiki-link.

Specifications

GUI and login details

Data access

There is a automated log being genarted by scraping the fits headers as files appear on disk: https://www.saao.ac.za/~sbp/74in_SHW_ObsLogs/

To use method (1):

    • 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
  • NOTE: if the rsync command fails, try it WITHOUT the wildcard (*). Some rsync programs apparently do not support this function.
  • ANOTHER NOTE: if the rsync command fails, try it with the data path in quotations, e.g.:
       rsync -avzP shoc40in@shoc40in.suth.saao.ac.za:"/data/40in/shd/2016/0503/*.fits"  /LocalFilePath

OLD vs. NEW