IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2008, 3:07:11 PM (18 years ago)
Author:
eugene
Message:

updates from eam_branch_20080706

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/warp.pro

    r18057 r18607  
    88### Setups
    99check.globals
    10 
    11 $LOGSUBDIR = $LOGDIR/warp
    12 exec mkdir -p $LOGSUBDIR
    1310
    1411### Initialise the books containing the tasks to do
     
    7572
    7673  stdout NULL
    77   stderr $LOGSUBDIR/warp.exp.log
     74  stderr $LOGDIR/warp.exp.log
    7875
    7976  task.exec
     
    142139    set.workdir.by.camera $CAMERA $WARP_ID $WORKDIR_TEMPLATE $default_host WORKDIR
    143140
    144     sprintf outroot "%s/%s/%s.wrp.%s" $WORKDIR $EXP_ID $EXP_ID $WARP_ID
    145 
    146     ## generate output log based on filerule (convert the URI to a PATH)
    147     $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id $WARP_ID --basename $outroot`
    148 
    149     stdout $logfile
    150     stderr $logfile
    151     dirname $logfile -var outpath
    152     mkdir $outpath
    153 
    154     $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --tess_dir $TESS_DIR
     141    ## generate outroot specific to this exposure
     142    sprintf logfile "%s/%s/%s.wrp.%s.log" $WORKDIR $EXP_ID $EXP_ID $WARP_ID
     143
     144    stdout $LOGDIR/warp.exp.log
     145    stderr $LOGDIR/warp.exp.log
     146
     147    # XXX warp_overlap.pl differs from the standard script : it does not have an 'outroot' argument, and it does not take '--redirect'
     148    $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --tess_dir $TESS_DIR --logfile $logfile
    155149    add_standard_args run
    156150
     
    189183
    190184  stdout NULL
    191   stderr $LOGSUBDIR/warp.skycell.log
     185  stderr $LOGDIR/warp.skycell.log
    192186
    193187  task.exec
     
    261255    sprintf outroot "%s/%s/%s/%s.%s.wrp.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $WARP_ID
    262256
    263     ## generate output log based on filerule (convert the URI to a PATH)
    264     $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id $WARP_ID --basename $outroot`
    265 
    266     stdout $logfile
    267     stderr $logfile
    268     dirname $logfile -var outpath
    269     mkdir $outpath
    270 
    271     $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_dir $TESS_DIR --camera $CAMERA --outroot $outroot
     257    stdout $LOGDIR/warp.skycell.log
     258    stderr $LOGDIR/warp.skycell.log
     259
     260    $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_dir $TESS_DIR --camera $CAMERA --outroot $outroot --redirect-output
    272261    add_standard_args run
    273262
Note: See TracChangeset for help on using the changeset viewer.