IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11346


Ignore:
Timestamp:
Jan 27, 2007, 3:52:52 PM (19 years ago)
Author:
eugene
Message:

updates to the detrend logs

Location:
trunk/ippTasks
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.norm.pro

    r11336 r11346  
    119119    # XXX add $WORKDIR/$LOG_DIR
    120120    # XXX use ipp_filename.pl to lookup output file names
    121     stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
    122     stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     121    $outroot = `ipp_datapath.pl $WORKDIR`
     122    $logfile = $outroot/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     123    stdout $logfile
     124    stderr $logfile
     125    exec mkdir -p $outroot
    123126
    124127    # save the pageName for future reference below
     
    230233
    231234    # XXX use ipp_filename.pl to lookup output file names
    232     stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
    233     stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     235    $outroot = `ipp_datapath.pl $WORKDIR`
     236    $logfile = $outroot/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     237    stdout $logfile
     238    stderr $logfile
     239    exec mkdir -p $outroot
    234240
    235241    # save the pageName for future reference below
     
    338344
    339345    # XXX add $WORKDIR/$LOG_DIR
    340     stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
    341     stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     346    $outroot = `ipp_datapath.pl $WORKDIR`
     347    $logfile = $outroot/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     348    stdout $logfile
     349    stderr $logfile
     350    exec mkdir -p $outroot
    342351
    343352    # save the pageName for future reference below
  • trunk/ippTasks/detrend.process.pro

    r11336 r11346  
    118118
    119119    ## generate output log based on filerule
    120     $outroot = $WORKDIR/$EXP_TAG
    121     $logfile = `ipp_filename.pl DETPROC.LOG $outroot $CLASS_ID`
     120    $outroot = `ipp_datapath.pl $WORKDIR`
     121    $outroot = $outroot/$EXP_TAG
     122    $logfile = $outroot/$EXP_TAG.$CLASS_ID.detproc.$DET_ID.log
    122123    stdout $logfile
    123124    stderr $logfile
    124     exec mkdir -p $WORKDIR
     125    exec mkdir -p $outroot
    125126
    126127    # save the pageName for future reference below
     
    230231
    231232    # XXX push this into the filerules?
    232     $outroot = $WORKDIR/$EXP_TAG
    233     $logfile = $outroot/$EXP_TAG.detproc.$DET_ID.log
     233    $outroot = `ipp_datapath.pl $WORKDIR`
     234    $outroot = $outroot/$EXP_TAG
     235    $logfile = $outroot/$EXP_TAG.detproc.$DET_ID.$ITERATION.log
    234236    stdout $logfile
    235237    stderr $logfile
  • trunk/ippTasks/detrend.reject.pro

    r11336 r11346  
    113113
    114114    # I'd like to add CAMERA to the log file...
    115     stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
    116     stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     115    $outroot = `ipp_datapath.pl $WORKDIR`
     116    $logfile = $outroot/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log
     117    stdout $logfile
     118    stderr $logfile
     119    exec mkdir -p $outroot
    117120
    118121    # save the pageName for future reference below
  • trunk/ippTasks/detrend.resid.pro

    r11336 r11346  
    120120
    121121    # XXX use ipp_filename.pl to lookup output file names
    122     $word = `basename $EXP_TAG | tr '.' ' '`
    123     list word -split $word
    124     $base = $word:0
    125     stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.$CLASS_ID.log
    126     stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.$CLASS_ID.log
    127     exec mkdir -p $LOGSUBDIR/$base
     122    $outroot = `ipp_datapath.pl $WORKDIR`
     123    $outroot = $outroot/$EXP_TAG
     124    $logfile = $outroot/$EXP_TAG.$CLASS_ID.detresid.$DET_ID.$ITERATION.log
     125    stdout $logfile
     126    stderr $logfile
     127    exec mkdir -p $outroot
    128128
    129129    # save the pageName for future reference below
     
    235235
    236236    # XXX use ipp_filename.pl to lookup output file names
    237     $word = `basename $EXP_TAG | tr '.' ' '`
    238     list word -split $word
    239     $base = $word:0
    240     stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.log
    241     stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.log
    242     exec mkdir -p $LOGSUBDIR/$base
     237    $outroot = `ipp_datapath.pl $WORKDIR`
     238    $outroot = $outroot/$EXP_TAG
     239    $logfile = $outroot/$EXP_TAG.detresid.$DET_ID.$ITERATION.log
     240    stdout $logfile
     241    stderr $logfile
     242    exec mkdir -p $outroot
    243243
    244244    # save the pageName for future reference below
  • trunk/ippTasks/detrend.stack.pro

    r11336 r11346  
    114114    # XXX add $WORKDIR/$LOG_DIR
    115115    # XXX use ipp_filename.pl to lookup output file names
    116     stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log
    117     stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log
     116    $outroot = `ipp_datapath.pl $WORKDIR`
     117    $outroot = $outroot/$EXP_TAG
     118    $logfile = $outroot/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log
     119    stdout $logfile
     120    stderr $logfile
     121    exec mkdir -p $outroot
    118122
    119123    # save the pageName for future reference below
  • trunk/ippTasks/pantasks.pro

    r11336 r11346  
    102102  input $scripts/detrend.resid.pro
    103103  input $scripts/detrend.reject.pro
     104end
     105
     106macro module.tasks
     107  module phase0.pro
     108# input $scripts/phase2.pro
     109# input $scripts/phase3.pro
     110
     111  module detrend.process.pro
     112  module detrend.stack.pro
     113  module detrend.norm.pro
     114  module detrend.resid.pro
     115  module detrend.reject.pro
    104116end
    105117
  • trunk/ippTasks/phase0.pro

    r11323 r11346  
    119119
    120120    ## generate output log based on filerule XXX put this in a function?
    121     $outroot = $WORKDIR/$EXP_TAG
    122     $logfile = `ipp_filename.pl PHASE0.LOG $outroot $CLASS_ID`
     121    $outroot = `ipp_datapath.pl $WORKDIR`
     122    $outroot = $outroot/$EXP_TAG
     123    # $logfile = `ipp_filename.pl PHASE0.LOG $outroot $CLASS_ID`
     124    $logfile = $outroot/$EXP_TAG.$CLASS_ID.p0.log
    123125    stdout $logfile
    124126    stderr $logfile
    125     exec mkdir -p $WORKDIR
     127    exec mkdir -p $outroot
    126128
    127129    # save the pageName for future reference below
     
    224226
    225227    ## generate output log based on filerule
    226     $outroot = $WORKDIR/$EXP_TAG
    227     $logfile = `ipp_filename.pl PHASE0.LOG $outroot FPA`
     228    $outroot = `ipp_datapath.pl $WORKDIR`
     229    $outroot = $outroot/$EXP_TAG
     230    $logfile = $outroot/$EXP_TAG.p0.log
    228231    stdout $logfile
    229232    stderr $logfile
    230     exec mkdir -p $WORKDIR
     233    exec mkdir -p $outroot
    231234
    232235    # save the pageName for future reference below
Note: See TracChangeset for help on using the changeset viewer.