IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5589


Ignore:
Timestamp:
Nov 23, 2005, 3:56:32 PM (21 years ago)
Author:
eugene
Message:

fixed mana calls (only one script on command line)

Location:
branches/shell-1-1-1/Ohana/src/shell/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/shell-1-1-1/Ohana/src/shell/src/getfocus

    r2444 r5589  
    110110rm -f $temp.pro
    111111set ccd = $ccdn[1]
     112echo "input $script" >> $temp.pro
    112113echo "plotfocus $temp $temp.ppm $name $fdir/$name/$name$ccd.fits" >> $temp.pro
    113 mana --norc --only $script $temp.pro
     114mana --norc --only $temp.pro
    114115if ($status) goto failure
    115116
     
    138139 set ccdnum = $ccdn[$i]
    139140 set ccdnam = $ccds[$i]
     141 echo "input $script" >> $temp.pro
    140142 echo "split $fdir/$name.fits $ccdnam $temp.$ccdnum.fits" >> $temp.pro
    141143 @ i++
    142144end
    143 mana --norc --only $script $temp.pro
     145mana --norc --only $temp.pro
    144146
    145147# run sextractor on each chip
     
    164166rm -f $temp.pro
    165167set ccd = $ccdn[1]
     168echo "input $script" >> $temp.pro
    166169echo "plotfocus $temp $temp.ppm $name $temp.$ccd.fits" >> $temp.pro
    167 mana --norc --only $script $temp.pro
     170mana --norc --only $temp.pro
    168171if ($status) goto failure
    169172
  • branches/shell-1-1-1/Ohana/src/shell/src/getseeing

    r2444 r5589  
    7171 if ($Nextend != $Nccds) set tccd = $amp
    7272 # use amp for un-spliced data, ccd for spliced
    73  echo "subraster.mef   $file $tccd $temp.fits $temp.stats" > $temp.pro
     73 echo "input $script" > $temp.pro
     74 echo "subraster.mef   $file $tccd $temp.fits $temp.stats" >> $temp.pro
    7475else
    75  echo "subraster.split $file $ccd $temp.fits $temp.stats" > $temp.pro
     76 echo "input $script" > $temp.pro
     77 echo "subraster.split $file $ccd $temp.fits $temp.stats" >> $temp.pro
    7678endif
    7779
    7880# run mana
    79 mana --only $script $temp.pro || goto failure;
     81mana --only $temp.pro || goto failure;
    8082
    8183# run sextractor
  • branches/shell-1-1-1/Ohana/src/shell/src/mkjpeg

    r16 r5589  
    6161endif
    6262
    63 echo "init.mosaic" > $temp
     63echo "input $script" > $temp
     64echo "init.mosaic" >> $temp
    6465foreach ccd (00 01 02 03 04 05 06 07 08 09 10 11)
    6566 if ($mef) then
     
    7576echo "jpeg.mosaic $temp.jpg $temp.zoom.jpg" >> $temp
    7677
    77 mana --norc --only $script $temp
     78mana --norc --only $temp
    7879# ppmquant 256 $temp.jpg | ppmtogif > $output
    7980djpeg -gif < $temp.jpg > $output
Note: See TracChangeset for help on using the changeset viewer.