IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 7, 2023, 4:50:38 PM (3 years ago)
Author:
eugene
Message:

rework to use a stage/iteration tracked by the rawfix database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt

    r42441 r42445  
    7575    book setword ckchip.book $pageName pantaskState RUN
    7676    book getword ckchip.book $pageName dateobs -var DATEOBS
     77    book getword ckchip.book $pageName iter    -var ITER
    7778    option $pageName
    7879
    7980    # this is the first place in the proces that this location is known
    8081    mkdir  $mypath/$DATEOBS
    81     stdout $mypath/$DATEOBS/log.ckchip.runhosts.v
    82     stderr $mypath/$DATEOBS/log.ckchip.runhosts.v0 
     82    stdout $mypath/$DATEOBS/log.ckchip.runhosts.v$ITER
     83    stderr $mypath/$DATEOBS/log.ckchip.runhosts.v$ITER 
    8384
    8485    substr $DATEOBS 0 4 YEAR
     
    8889    sprintf FULLDATE "%s/%s/%s" $YEAR $MONTH $DAY
    8990
    90     command $mypath/check_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --stage v0
     91    command $mypath/check_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --stage $ITER
    9192  end
    9293
     
    120121# option for writing stdout / stderr to a file
    121122# queuepush stdout "------- end of stdout ---------"
    122 # queuesave stdout $options:0/log.ckchip.v0
     123# queuesave stdout $options:0/log.ckchip.v$ITER
    123124# queuepush stderr "------- end of stderr ---------"
    124 # queuesave stderr $options:0/log.ckchip.v0
     125# queuesave stderr $options:0/log.ckchip.v$ITER
Note: See TracChangeset for help on using the changeset viewer.