IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2009, 3:54:00 PM (17 years ago)
Author:
watersc1
Message:

Bringing branch up-to-date at revision 25049

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/ippTasks/magic.pro

    r24951 r25051  
    104104    end
    105105end
     106macro magic.ds.off
     107    task magic.destreak.load
     108        active false
     109    end
     110    task magic.destreak.run
     111        active false
     112    end
     113end
     114macro magic.ds.on
     115    task magic.destreak.load
     116        active true
     117    end
     118    task magic.destreak.run
     119        active true
     120    end
     121end
     122
     123macro magic.ds.status
     124    echo magicToDS
     125    book listbook magicToDS
     126    echo ""
     127    echo magicDSToRevert
     128    book listbook magicDSToRevert
     129end
     130
    106131
    107132
     
    380405
    381406  periods      -poll $LOADPOLL
    382   periods      -exec $LOADEXEC
    383   periods      -timeout 20
     407  # this query can take a long time
     408  periods      -exec 10
     409  periods      -timeout 120
    384410  npending     1
    385411
     
    388414
    389415  task.exec
    390     $run = magicdstool -todestreak -limit 32
     416    $run = magicdstool -todestreak -limit 120
    391417    if ($DB:n == 0)
    392418      option DEFAULT
     
    449475    book getword magicToDS $pageName camera -var CAMERA
    450476    book getword magicToDS $pageName streaks_uri -var STREAKS
     477    book getword magicToDS $pageName inv_streaks_uri -var INV_STREAKS
    451478    book getword magicToDS $pageName stage -var STAGE
    452479    book getword magicToDS $pageName stage_id -var STAGE_ID
     
    454481    book getword magicToDS $pageName uri -var URI
    455482    book getword magicToDS $pageName path_base -var PATH_BASE
    456     book getword magicToDS $pageName inverse -var INVERSE
    457483    book getword magicToDS $pageName cam_path_base -var CAM_PATH_BASE
    458484    book getword magicToDS $pageName outroot -var OUTROOT
     
    473499    # TODO: do not add recoveryroot or replace if they are null or zero
    474500
    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
     501    $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
    480502
    481503    add_standard_args run
Note: See TracChangeset for help on using the changeset viewer.