IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19559


Ignore:
Timestamp:
Sep 15, 2008, 2:22:23 PM (18 years ago)
Author:
bills
Message:

pass state of run to the scripts to distinguish between 'new' and 'update'
processing

Location:
trunk/ippTasks
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/camera.pro

    r19465 r19559  
    133133    book getword camPendingExp $pageName dbname -var DBNAME
    134134    book getword camPendingExp $pageName reduction -var REDUCTION
     135    book getword camPendingExp $pageName state -var RUN_STATE
    135136
    136137    # specify choice of remote host based on camera and chip (class_id)
     
    154155    stderr $LOGDIR/camera.exp.log
    155156
    156     $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot --redirect-output
     157    $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot --redirect-output --run-state $RUN_STATE
    157158    if ("$REDUCTION" != "NULL")
    158159      $run = $run --reduction $REDUCTION
  • trunk/ippTasks/stack.pro

    r19545 r19559  
    141141    book getword stackSumSkyfile $pageName workdir -var WORKDIR_TEMPLATE
    142142    book getword stackSumSkyfile $pageName dbname -var DBNAME
     143    book getword stackSumSkyfile $pageName state -var RUN_STATE
    143144
    144145    # set the host and workdir based on the skycell hash
     
    156157    stderr $LOGDIR/stack.skycell.log
    157158
    158     $run = stack_skycell.pl --threads @MAX_THREADS@ --stack_id $STACK_ID --outroot $outroot --redirect-output
     159    $run = stack_skycell.pl --threads @MAX_THREADS@ --stack_id $STACK_ID --outroot $outroot --redirect-output --run-state $RUN_STATE
    159160    add_standard_args run
    160161
  • trunk/ippTasks/warp.pro

    r19545 r19559  
    272272    book getword warpPendingSkyCell $pageName tess_id -var TESS_DIR
    273273    book getword warpPendingSkyCell $pageName exp_tag -var EXP_TAG
     274    book getword warpPendingSkyCell $pageName state -var RUN_STATE
    274275
    275276    # set the host and workdir based on the skycell hash
     
    283284    stderr $LOGDIR/warp.skycell.log
    284285
    285     $run = warp_skycell.pl --threads @MAX_THREADS@ --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_dir $TESS_DIR --camera $CAMERA --outroot $outroot --redirect-output
     286    $run = warp_skycell.pl --threads @MAX_THREADS@ --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_dir $TESS_DIR --camera $CAMERA --outroot $outroot --redirect-output --run-state $RUN_STATE
    286287    add_standard_args run
    287288
Note: See TracChangeset for help on using the changeset viewer.