General Setteings
Edit ".cshrc" file on ANA. Add these lines:
 set path=($path /home/comics01/rbin.026)
 set prompt="`hostname`:%/%# "
 alias ls 'ls -F'
 alias cp 'cp -i'
 alias mv 'mv -i'
 alias rm 'rm -i'
 alias kterm 'kterm -bg #E6E6FA -fk k14 -sb -km euc -e tcsh'
If you want to use GNUPLOT, open another terminal (this setteing is exclusive) for GNUPLOT and set LD_LIBRARY_PATH:
 setenv LD_LIBRARY_PATH /opt/share/lib:/usr/lib/:/usr/openwin/lib:/usr/dt/lib:/opt/SUNWspro/lib:/usr/X/lib:/opt/share/X11R6.3/lib:/usr/local/lib:/usr/ucblib/
Folding display (Type this in one-line without space)
 setenv LD_LIBRARY_PATH /opt/share/lib:/usr/lib/:/usr/openwin/lib
      :/usr/dt/lib:/opt/SUNWspro/lib:/usr/X/lib:/opt/share/X11R6.3/lib
      :/usr/local/lib:/usr/ucblib/
Check the latest file transfered to ANA
o***** is your observation id.
mkdir /work/o*****/watchlatest ;
cd /work/o*****/watchlatest ;
Save watchlatest . Edit "watchlatest" to see your directory.
Run xfv for latest file view.
xfc &
Run watchlatest.
chmod +x watchlatest
watchlatest
Add data files
cd your_working_directory
Save tashi . Edit "tashi".
This program has a list named N, contains id-numbers of data to add.
edit @N=(,,,,)
tashi
Added file is wrk1.fits
Imaging, shift and add
cd your_working_directory
Save get_files and edit "get_files". This script make a directory under current directory and copy data files, and do "shift and add". Result is COMA########.P.sa and COMA########.M.sa for shit-and-add image of plus beam and minus beam.
N-band low resolution spectroscopy
cd your_working_directory_for_n_low_spec 
Save nl_get and edit "nl_get".
####### Edit here ######
  $prop_id = "o07116";               # Proposal ID
  $STARNAME = "OBJECT01_NL_1";       # Name of a set of integrations
# $STARNAME = "REF01_NL_1";          # Name of a set of integrations
  @N=(80286,80288,80290,80292,80294);# List of number
# @N=(80370,80372);                  # List of number
  $ymin = 98 - 5 ; $ymax = 98 + 5 ;  # y-position range

  $RATIO_STARNAME = "REF01_NL_1";    # rationing star's STARNAME
# $RATIO_STARNAME = "none" ;         # none for no-rationing

  $gnuplot_command= "set yrange[0:1]"; # Gnuplot command what you like.
######################## 
This script make a directory under current directory and add all data, identify wavelenth, take ratio with rationing data, and plot data. Run this script on terminal which can run gnuplot.