Difference between revisions of "STE3"

From SAAO TOPS Wiki
Jump to: navigation, search
(Accessing data taken on the imag40 machine)
Line 9: Line 9:
 
  ssh ccd40@ltsp.suth.saao.ac.za
 
  ssh ccd40@ltsp.suth.saao.ac.za
 
  cd /data/40in/imag40/2015/1008
 
  cd /data/40in/imag40/2015/1008
 +
 +
NOTE: This assumes the data transfer is happening properly.
  
 
== Changes 2015-10-08 to data flow of STE3 ==
 
== Changes 2015-10-08 to data flow of STE3 ==

Revision as of 19:46, 19 October 2017

Accessing data taken on the imag40 machine

  • To access data taken on the imag40 machine open up a terminal on the thin client in the 1.0m and go to (assuming today was 2015 Oct 8):
/data/40in/imag40/2015/1008
  • Alternatively you can connect via a remote machine (your Linux laptop for instance) using:
ssh ccd40@ltsp.suth.saao.ac.za
cd /data/40in/imag40/2015/1008

NOTE: This assumes the data transfer is happening properly.

Changes 2015-10-08 to data flow of STE3

imag40.suth.saao.ac.za

  • One line was changed in this script /usr/local/IMAGE/RunImage:
export IM_DIR=/data/ccd/symlink_imagedir
  • A script runs from /etc/crontab every day at noon; /usr/local/bin/update_imag40_symlink.sh . This redirects the symlink /data/ccd/symlink_imagedir to /data/ccd/image/YYYY/MMDD using the current days date.

This allows data to be written to different directories each day following the standard of other instruments at SAAO.

astro.suth.saao.ac.za

  • A script /usr/local/saao/bin/saaodatagrabv2.sh runs from /etc/crontab every 15 seconds and grabs data from imag40.suth.saao.ac.za using rsync. It then places the data in /data/telescopedata/40in/imag40/YYYY/MMDD .

ltsp.suth.saao.ac.za

This server can access the same data copied by astro.suth.saao.ac.za immediately at a similar location:

/data/40in/imag40/YYYY/MMDD