Changeset 78
- Timestamp:
- May 16, 2003, 10:13:56 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/shell/src/elixir.launch (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/shell/src/elixir.launch
r70 r78 46 46 endif 47 47 48 if ($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; 69 endif 70 71 if ($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; 90 endif 91 48 92 if ($1 == "sextract") then 49 93 switch ($camera)
Note:
See TracChangeset
for help on using the changeset viewer.
