IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 78


Ignore:
Timestamp:
May 16, 2003, 10:13:56 AM (23 years ago)
Author:
eugene
Message:

added mode 'cadc' to send cadc format raw image table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/shell/src/elixir.launch

    r70 r78  
    4646endif
    4747
     48if ($1 == "imstatreg") then
     49    switch ($camera)
     50     case cfhtir:
     51     case cfh12k:
     52     case megacam:
     53      echo "checking for existing imstatreg -daemon"
     54      imstatreg -D CAMERA $camera -daemon -status
     55      if ($status) then
     56        echo "no imstatreg -daemon, starting..."
     57        imstatreg -D CAMERA $camera -daemon
     58        if ($status) then
     59            echo "error starting imstatreg -daemon"
     60        endif
     61      endif
     62      breaksw;
     63
     64     default:
     65      echo "no imstatreg -daemon needed for $camera"
     66      breaksw;
     67    endsw
     68    exit 0;
     69endif
     70
     71if ($1 == "cadc") then
     72    switch ($camera)
     73     case cfh12k:
     74     case megacam:
     75      set date = `date -u +%Y%m%d+%H:%M:%S`
     76      imsearch -D CAMERA $camera -trange now -1d -dist f -cadctable /h/ftp/pub/fits_hdrs/mcmd.raw.$date.fits
     77      cp /h/ftp/pub/fits_hdrs/mcmd.raw.$date.fits /data/elixir2/datdir/cadc/
     78      if ($status) then
     79        echo "error extracting cadc table"
     80        exit 1;
     81      endif
     82      imsearch -D CAMERA $camera -trange now -1d -dist f -modify dist t
     83      breaksw;
     84
     85     default:
     86      echo "no CADC table needed for $camera"
     87      breaksw;
     88    endsw
     89    exit 0;
     90endif
     91
    4892if ($1 == "sextract") then
    4993    switch ($camera)
Note: See TracChangeset for help on using the changeset viewer.