IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 12, 2006, 10:16:49 AM (20 years ago)
Author:
Paul Price
Message:

Making poll and exec delays globally configurable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.resid.pro

    r9490 r9506  
    3030  host         local
    3131
    32   periods      -poll 1.0
    33   periods      -exec 3.0
     32  periods      -poll $loadpoll
     33  periods      -exec $loadexec
    3434  periods      -timeout 30
    3535
     
    7979# copy new images, sending job to desired host
    8080task           dettool.resid.run
    81   periods      -poll 0.5
    82   periods      -exec 1.0
     81  periods      -poll $runpoll
     82  periods      -exec $runexec
    8383  periods      -timeout 30
    8484
     
    154154  host         local
    155155
    156   periods      -poll 1.0
    157   periods      -exec 3.0
     156  periods      -poll $loadpoll
     157  periods      -exec $loadexec
    158158  periods      -timeout 30
    159159
     
    178178      $EXP_TAG  = $word:3
    179179      $INCLUDE  = $word:4
    180       queuepush DetrendResidExposures -uniq -key 1:2:4 "NEW $DET_ID $ITER $DET_TYPE $EXP_TAG $INCLUDE"
     180      $CAMERA   = $word:5
     181      queuepush DetrendResidExposures -uniq -key 1:2:4 "NEW $DET_ID $ITER $DET_TYPE $EXP_TAG $INCLUDE $CAMERA"
    181182    end
    182183
     
    199200# copy new images, sending job to desired host
    200201task           dettool.residexp.run
    201   periods      -poll 0.5
    202   periods      -exec 1.0
     202  periods      -poll $runpoll
     203  periods      -exec $runexec
    203204  periods      -timeout 30
    204205
     
    226227    $EXP_TAG  = $word:3
    227228    $INCLUDE  = $word:4
     229    $CAMERA   = $word:5
    228230
    229231    # XXX add $WORKDIR/$LOG_DIR
     
    250252    options "$line"
    251253    if ($drop)
    252       echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --reject
    253       command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --reject
     254      echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --reject
     255      command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --reject
    254256    else
    255       echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE
    256       command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE
     257      echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
     258      command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
    257259    end
    258260  end
Note: See TracChangeset for help on using the changeset viewer.