IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24554 for trunk/ippTasks


Ignore:
Timestamp:
Jun 25, 2009, 1:51:34 PM (17 years ago)
Author:
bills
Message:

remove --remove option to destreaking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/magic.pro

    r24184 r24554  
    278278    book getword magicToProcess $pageName dbname -var DBNAME
    279279
    280 #    set.host.for.camera $CAMERA $MAGIC_ID
    281 #    set.workdir.by.camera $CAMERA $MAGIC_ID $WORKDIR_TEMPLATE $default_host WORKDIR
    282     host anyhost
     280#    XXX: we need new macros that select the host and workdir based on the NODE
     281#    we also need to make the magic scripts able to deal with the workdir being spread
     282#    around. That should not be too hard
     283#    For now select nodes by skycell
     284
     285    substr $NODE 0 3 NODE_HEAD
     286    if ("$NODE_HEAD" == "sky")
     287        set.host.for.skycell $NODE
     288    else
     289        host anyhost
     290    end
     291
     292#    currently DetectStreaks expects that the workdir is not in nebulous
     293#    set.workdir.by.skycell $SKYCELL_ID $WORKDIR_TEMPLATE $default_host WORKDIR
    283294    $WORKDIR = $WORKDIR_TEMPLATE
    284295
     
    410421    book getword magicToDS $pageName recoveryroot -var RECROOT
    411422    book getword magicToDS $pageName re_place -var REPLACE
    412     book getword magicToDS $pageName remove -var REMOVE
    413423    book getword magicToDS $pageName dbname -var DBNAME
    414424
     
    417427    host anyhost
    418428
    419     # TODO: do not add recoveryroot, replace, or remove if they are null or zero
    420 
    421     $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 --remove $REMOVE
     429    # TODO: do not add recoveryroot or replace if they are null or zero
     430
     431    $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
    422432    if ("$INVERSE" == "T")
    423433       # Inverse subtraction
Note: See TracChangeset for help on using the changeset viewer.