IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2023, 11:20:42 AM (3 years ago)
Author:
eugene
Message:

more fixes to the directory hierarchy

File:
1 edited

Legend:

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

    r42462 r42464  
    8686    # save the page so we can use it below
    8787
     88    substr $DATEOBS 0 4 YEAR
     89
    8890    # write an entry point in the log for this night
    89     sprintf tmpline "%s/%s/log.fixchip.runhosts.v%d" $mypath $DATEOBS $ITER
     91    sprintf tmpline "%s/%s/%s/log.fixchip.runhosts.v%d" $mypath $YEAR $DATEOBS $ITER
    9092    date -var mydate
    9193    exec echo "# start runhosts $mydate" >> $tmpline
     
    149151    book getword fixhost.book $pageName fixhost -var FIXHOST
    150152    book getword fixhost.book $pageName chipID  -var CHIP_ID
    151     option $pageName $DATEOBS
    152153
    153154    substr $DATEOBS 0 4 YEAR
     
    155156    substr $DATEOBS 6 2 DAY
    156157    sprintf FULLDATE "%s/%s/%s" $YEAR $MONTH $DAY
     158
     159    option $pageName $DATEOBS $YEAR
     160    # save DATEOBS so we can find the md5sum.book entry
     161    # also save YEAR for output log
    157162
    158163    stdout $mypath/$YEAR/$DATEOBS/log.fixchip.run.$CHIP_ID.v$ITER
     
    268273  end
    269274
     275  # options are : pagename DATEOBS YEAR
     276
    270277  book setword fixhost.book $options:0 pantaskState DONE
    271278  book getword fixchip.book $options:1 NHOST -var Nhosts
     
    274281  $Ndone ++
    275282  book setword fixchip.book $options:1 NDONE $Ndone
     283
     284  sprintf tmpline "%s/%s/%s/log.fixchip.runhosts.v%d" $mypath $options:2 $options:1 $ITER
    276285  if ("$1" != "OK")
    277286    book setword fixchip.book $options:1 pantasksQuality $1
    278     sprintf tmpline "%s/%s/log.fixchip.runhosts.v%d" $mypath $options:1 $ITER
    279287    exec echo "failure $1 $options:0" >> $tmpline
    280288  else
Note: See TracChangeset for help on using the changeset viewer.