IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27926 for trunk/ippTasks


Ignore:
Timestamp:
May 12, 2010, 10:23:55 AM (16 years ago)
Author:
bills
Message:

When updating an image use the original path base for consistency with the database

Location:
trunk/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/chip.pro

    r27472 r27926  
    153153    book getword chipPendingImfile $pageName reduction -var REDUCTION
    154154    book getword chipPendingImfile $pageName state -var RUN_STATE
     155    book getword chipPendingImfile $pageName path_base -var PATH_BASE
    155156
    156157    if ($RAW_MAGICKED > 0)
     
    174175    # neb:///ipp004-vol0/gpc1/20080130
    175176
    176     ## generate outroot specific to this exposure (& chip)
    177     sprintf outroot "%s/%s/%s.ch.%s" $WORKDIR $EXP_TAG $EXP_TAG $CHIP_ID
     177    if ("$PATH_BASE" == "NULL")
     178        ## generate outroot specific to this exposure (& chip)
     179        sprintf outroot "%s/%s/%s.ch.%s" $WORKDIR $EXP_TAG $EXP_TAG $CHIP_ID
     180    else
     181        $outroot = $PATH_BASE
     182    end
    178183
    179184    stdout $LOGDIR/chip.imfile.log
  • trunk/ippTasks/warp.pro

    r27620 r27926  
    314314    book getword warpPendingSkyCell $pageName camera -var CAMERA
    315315    book getword warpPendingSkyCell $pageName workdir -var WORKDIR_TEMPLATE
     316    book getword warpPendingSkyCell $pageName path-base -var PATH_BASE
    316317    book getword warpPendingSkyCell $pageName dbname -var DBNAME
    317318    # XXX change tess_id to tess_dir when schema is changed
     
    331332    set.workdir.by.skycell $SKYCELL_ID $WORKDIR_TEMPLATE $default_host WORKDIR
    332333
    333     ## generate outroot specific to this exposure
    334     sprintf outroot "%s/%s/%s.wrp.%s.%s" $WORKDIR $EXP_TAG $EXP_TAG $WARP_ID $SKYCELL_ID
     334    if ("$PATH_BASE" == "NULL")
     335        ## generate outroot specific to this exposure
     336        sprintf outroot "%s/%s/%s.wrp.%s.%s" $WORKDIR $EXP_TAG $EXP_TAG $WARP_ID $SKYCELL_ID
     337    else
     338        $outroot = $PATH_BASE
     339    end
    335340
    336341    stdout $LOGDIR/warp.skycell.log
Note: See TracChangeset for help on using the changeset viewer.