IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42406


Ignore:
Timestamp:
Mar 9, 2023, 3:57:48 PM (3 years ago)
Author:
eugene
Message:

more work on rawfix

Location:
trunk/tools/eam/rawfix.20230221/src
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh

    r42404 r42406  
    6666  if ($mystate == "md5sum.done") goto good_state
    6767  if ($mystate == "md5sum.fail") goto good_state
     68  if ($mystate == "ckchip.new") goto good_state
     69  if ($mystate == "ckchip.done") goto good_state
     70  if ($mystate == "ckchip.fail") goto good_state
     71  if ($mystate == "fixchip.new") goto good_state
     72  if ($mystate == "fixchip.done") goto good_state
     73  if ($mystate == "fixchip.fail") goto good_state
    6874
    6975  echo "ERROR: unknown mode $mystate"
  • trunk/tools/eam/rawfix.20230221/src/check_chip_locations.pl

    r42400 r42406  
    103103### in order to use this, I need to choose the target volume
    104104
    105 die "done";
     105exit 0;
     106
     107# die "done";
    106108
    107109sub vsystem {
  • trunk/tools/eam/rawfix.20230221/src/fix_chip_locations.pl

    r42404 r42406  
    9999print "Nxbck: $Nxbck\n";
    100100
    101 die "all done";
     101exit 0;
    102102
    103103sub get_new_instance {
  • trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt

    r42405 r42406  
    8686  end
    8787
     88  ## XX delete the page from the book if done?
    8889  task.exit 0
    8990    # convert the stdout 'queue' to entries in a book
    9091    # fields in the table will become words in the page
    91     queuesize stdout -var Nhosts
    92     queue2book -raw-columns -key dateobs:md5host -uniq -setword pantaskState INIT stdout md5host.book
    93     book setword ckchip.book $options:0 NHOST {$Nhosts - 1}
    94     book setword ckchip.book $options:0 NDONE 0
    9592    # use the queuesize (Nhosts) to track how many jobs are done / to be done
     93    exec update.rawfix.sh $options:0 ckchip.done
     94    book delpage ckchip.book $options:0
    9695  end
    9796
     
    10099    showcommand failure
    101100    book setword ckchip.book $options:0 pantasksQuality FAIL
     101    exec update.rawfix.sh $options:0 ckchip.fail
    102102  end
    103103
     
    105105    showcommand crash
    106106    book setword ckchip.book $options:0 pantasksQuality CRASH
     107    exec update.rawfix.sh $options:0 ckchip.fail
    107108  end
    108109
     
    111112    showcommand timeout
    112113    book setword ckchip.book $options:0 pantasksQuality TIMEOUT
     114    exec update.rawfix.sh $options:0 ckchip.fail
    113115  end
    114116end
  • trunk/tools/eam/rawfix.20230221/src/rawfix.pt

    r42405 r42406  
    11## pantasks scripts to manage the raw exposure data repair / cleanup
    2 
    3 #### the scripts below take the input files (YYYYMMDD/*.inst.txt)
    4 #### and run get_md5s_instances.pl on the hosts associated with those lists
    5 #### the outputs are files (YYYYMMDD/*.md5s.txt)
    62
    73$TPOLL = 5
     
    2016end
    2117
    22 input rawfix.setup.pt
    23 input rawfix.md5sum.pt
     18input rawfix.ckchip.pt
     19# input rawfix.md5sum.pt
    2420
    2521######################### UTILITIES #################################
Note: See TracChangeset for help on using the changeset viewer.