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/camera.pro

    r16318 r18607  
    55# test for required global variables
    66check.globals
    7 
    8 $LOGSUBDIR = $LOGDIR/camera
    9 exec mkdir -p $LOGSUBDIR
    107
    118book init camPendingExp
     
    5148  npending     1
    5249
    53   stdout $LOGSUBDIR/camera.exp.log
    54   stderr $LOGSUBDIR/camera.exp.log
     50  stdout NULL
     51  stderr $LOGDIR/camera.exp.log
    5552
    5653  task.exec
     
    119116    set.host.for.camera $CAMERA FPA
    120117
    121     # raw workdir examples:
     118    # set the WORKDIR variable
     119    set.workdir.by.camera $CAMERA FPA $WORKDIR_TEMPLATE $default_host WORKDIR
     120
     121    # notes on how this works:
     122    # -- raw workdir examples:
    122123    # file://data/@HOST@.0/gpc1/20080130
    123124    # neb:///@HOST@-vol0/gpc1/20080130 (need to supply volname?, or are we re-defining this each time?)
    124     set.workdir.by.camera $CAMERA FPA $WORKDIR_TEMPLATE $default_host WORKDIR
    125     # out workdir examples:
     125    # -- out workdir examples:
    126126    # file://data/ipp004.0/gpc1/20080130
    127127    # neb:///ipp004-vol0/gpc1/20080130
     
    130130    sprintf outroot "%s/%s/%s.cm.%s" $WORKDIR $EXP_TAG $EXP_TAG $CAM_ID
    131131
    132     ## generate output log based on filerule (convert the URI to a PATH)
    133     $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id NONE --basename $outroot`
    134     if ("$logfile" == "")
    135       echo "WARNING: logfile not defined in camera.pro:146"
    136       break
    137     end
     132    stdout $LOGDIR/camera.exp.log
     133    stderr $LOGDIR/camera.exp.log
    138134
    139     stdout $logfile
    140     stderr $logfile
    141 
    142     $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot
     135    $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot --redirect-output
    143136    if ("$REDUCTION" != "NULL")
    144137      $run = $run --reduction $REDUCTION
Note: See TracChangeset for help on using the changeset viewer.