IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25017


Ignore:
Timestamp:
Aug 7, 2009, 10:55:08 AM (17 years ago)
Author:
bills
Message:

destreaking of 'bothways' diffs was completely broken. Fixed by having one destreak run
for the diffRun instead of 2. Do both the forward and inverse outputs together

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/magic.pro

    r24726 r25017  
    380380
    381381  periods      -poll $LOADPOLL
    382   periods      -exec $LOADEXEC
    383   periods      -timeout 20
     382  # this query can take a long time
     383  periods      -exec 10
     384  periods      -timeout 120
    384385  npending     1
    385386
     
    388389
    389390  task.exec
    390     $run = magicdstool -todestreak -limit 32
     391    $run = magicdstool -todestreak -limit 120
    391392    if ($DB:n == 0)
    392393      option DEFAULT
     
    449450    book getword magicToDS $pageName camera -var CAMERA
    450451    book getword magicToDS $pageName streaks_uri -var STREAKS
     452    book getword magicToDS $pageName inv_streaks_uri -var INV_STREAKS
    451453    book getword magicToDS $pageName stage -var STAGE
    452454    book getword magicToDS $pageName stage_id -var STAGE_ID
     
    454456    book getword magicToDS $pageName uri -var URI
    455457    book getword magicToDS $pageName path_base -var PATH_BASE
    456     book getword magicToDS $pageName inverse -var INVERSE
    457458    book getword magicToDS $pageName cam_path_base -var CAM_PATH_BASE
    458459    book getword magicToDS $pageName outroot -var OUTROOT
     
    473474    # TODO: do not add recoveryroot or replace if they are null or zero
    474475
    475     $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --streaks $STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE
    476     if ("$INVERSE" == "T")
    477        # Inverse subtraction
    478        $run = $run --inverse
    479     end
     476    $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --streaks $STREAKS --inv_streaks $INV_STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE
    480477
    481478    add_standard_args run
Note: See TracChangeset for help on using the changeset viewer.