Difference between revisions of "SHOCnWonder"

From SAAO TOPS Wiki
Jump to: navigation, search
(Data access)
(Data access)
Line 11: Line 11:
 
== Data access ==
 
== Data access ==
  
There is a automated log being genarted by scraping the fits headers as files appear on disk:
+
There is a automated log being generated as files appear on disk by scraping the fits headers:
 
https://www.saao.ac.za/~sbp/74in_SHW_ObsLogs/
 
https://www.saao.ac.za/~sbp/74in_SHW_ObsLogs/
  
To use method (1):
+
Data can be copied as follow:
 
** Open a shell on your local PC (Putty if you're using Windows or a bash/tcsh/sh if on Mac or Linux)
 
** 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:
+
** Copy the data using the following command:
         rsync -avzP shoc74in@shoc74in.suth.saao.ac.za:/data/74in/sh?/<YYYY>/<MMDD>/*.fits /LocalFilePath
+
         rsync -avzP shoc74in@shoc74in.suth.saao.ac.za:/data/74in/shw/<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
 
           ---- 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.
 
* 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.:   
 
* 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
+
         rsync -avzP shoc74in@shoc74in.suth.saao.ac.za:"/data/74in/shw/2024/0221/*.fits"  /LocalFilePath
  
 
== OLD vs. NEW ==
 
== OLD vs. NEW ==

Revision as of 11:55, 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 generated as files appear on disk by scraping the fits headers: https://www.saao.ac.za/~sbp/74in_SHW_ObsLogs/

Data can be copied as follow:

    • 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:
       rsync -avzP shoc74in@shoc74in.suth.saao.ac.za:/data/74in/shw/<YYYY>/<MMDD>/*.fits /LocalFilePath
         ---- 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 shoc74in@shoc74in.suth.saao.ac.za:"/data/74in/shw/2024/0221/*.fits"  /LocalFilePath

OLD vs. NEW