IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24060


Ignore:
Timestamp:
May 4, 2009, 4:06:13 PM (17 years ago)
Author:
eugene
Message:

add loop for desired warpwarp labels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/survey.pro

    r23907 r24060  
    44check.globals
    55
     6list DIFF_WW
     7  ThreePi.Run2.g.v0
     8  ThreePi.Run2.r.v0
     9  ThreePi.Run2.i.v0
     10end
     11
     12$DIFF_WW_CNT = 0
     13
    614task diff.check
    715  host local
    816 
    917  periods      -poll 10
    10   periods      -exec 60
    11   periods      -timeout 60
     18  periods      -exec 120
     19  periods      -timeout 600
    1220  npending     1
    1321
     
    1523  stderr $LOGDIR/diffcheck.log
    1624
     25  # generate diff warp-warp runs
    1726  task.exec
    18     $run = difftool -dbname gpc1 -definewarpwarp -distance 0.1 -input_label $LABEL -template_label $LABEL -label $LABEL -workdir neb://@HOST@.0/gpc1/$LABEL -good_frac 0.1 -simple
     27    if ($DIFF_WW:n == 0) break
     28    $run = difftool -dbname gpc1 -definewarpwarp -distance 0.1 -good_frac 0.1
     29    $run = $run -input_label $DIFF_WW:$DIFF_WW_CNT
     30    $run = $run -template_label $DIFF_WW:$DIFF_WW_CNT
     31    $run = $run -label $DIFF_WW:$DIFF_WW_CNT
     32    $run = $run -workdir neb://@HOST@.0/gpc1/$DIFF_WW:$DIFF_WW_CNT
     33    $run = $run -reduction WARPWARP
     34
     35    $DIFF_WW_CNT ++
     36    if ($DIFF_WW_CNT >= $DIFF_WW:n)
     37      echo "reset DIFF_WW_CNT (was $DIFF_WW_CNT)"
     38      set DIFF_WW_CNT = 0
     39    end
     40
    1941    command $run
    2042  end
Note: See TracChangeset for help on using the changeset viewer.