IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5591


Ignore:
Timestamp:
Nov 23, 2005, 4:11:37 PM (21 years ago)
Author:
eugene
Message:

fixes to mana script calling

Location:
trunk/Ohana/src/shell/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/shell/src/getfocus

    r2444 r5591  
    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
  • trunk/Ohana/src/shell/src/getseeing

    r2444 r5591  
    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
  • trunk/Ohana/src/shell/src/mkjpeg

    r16 r5591  
    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
  • trunk/Ohana/src/shell/src/sp_phot

    r4784 r5591  
    117117
    118118# rsh -n $DBMACHINE addstar -skyprobe -image -cal TYCHO_V TYCHO_B $SMPDIR/$root.smp
    119 addstar -skyprobe -image -cal TYCHO_V TYCHO_B $SMPDIR/$root.smp
     119addstar -skyprobe -image -cal $SMPDIR/$root.smp
    120120# if ($status) goto cleanup;
    121121
Note: See TracChangeset for help on using the changeset viewer.