IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.