IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 13, 2023, 9:30:40 AM (3 years ago)
Author:
eugene
Message:

split fix_chip_locations into parallel processes by chip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/advance.rawfix.pl

    r42446 r42449  
    144144    my $Nfail    = $values[14];
    145145   
     146    # in state of 'new', we do not care what the values of the stat fields are.
     147    # they may be NULL, so do not yet try to do math on them here
     148    if ($state eq "new")                                              {           &update_night_state ($dateobs, "ckchip.new", 0);     return "NEW"; }
     149
    146150    my $Ndone = $Ngood + $Ndead + $Ngone + $Nfail;
    147151    my $Nwait = $Nsing + $Ndups + $Nsbck + $Nxbck + $Ncul1 + $Ncul2 + $Ncul3;
     
    151155    # check for completion here first (otherwise, advance fixchip.done below)
    152156    if (($state eq "fixchip.done") and ($iter > 0) and ($Nwait == 0)) {           &update_night_state ($dateobs, "DONE");              return "DONE"; }
    153     if ($state eq "new")                                              {           &update_night_state ($dateobs, "ckchip.new", 0);     return "NEW"; }
    154157    if ($state eq "ckchip.done")                                      {           &update_night_state ($dateobs, "fixchip.new");       return "NEW"; }
    155158    if ($state eq "fixchip.done")                                     {           &update_night_state ($dateobs, "md5sum.new");        return "NEW"; }
Note: See TracChangeset for help on using the changeset viewer.