IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 7 and Version 8 of CleanupUpdate


Ignore:
Timestamp:
Nov 15, 2012, 12:57:23 PM (14 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CleanupUpdate

    v7 v8  
    4343}}}
    4444
    45 compress log file. Should we rename it or keep it in place?
     45When cleanup is successfully completed gzip the log file. Sample of one 91% reduction in size 517698 compressed to 46548. Perhaps
     46make the script a bit less verbose in success cases.
    4647
    4748=== Chip stage ===
    48 find smf for associated camRun. If found and is not corrupted, delete cmfs otherwise leave them on disk.
     49    - find smf for associated camRun. If found and is not corrupted, delete cmfs otherwise leave them on disk.
     50    - delete b1 fits ?
     51    - delete trace files ? (they are empty)
     52    - compress log files
    4953
     54Once implemented we will start one big pass through the cleaned up data to implement these space reductions. This will consist of
     55 * Modify query for pendingcleanupimfile to (optionally) list all components not just those in full state
     56 * set cleaned runs back to state goto_cleaned with a different label so we can distinguish between regular and second pass cleanup
     57=== Warp stage ===
     58    - modify query to optionally list all components not just those in full state
     59    - delete sources (they are regenerated by update anyways)
     60    - delete skycell template files (they are regnerated by update)
     61    - delete psf file (it is regenerated on by update)
     62    - compress log files
    5063
    51 {{{
    52     if (goto_purged)
    53         delete psf
    54         should we delete the background model?
    55             It is only useful if the corresponding warp is in state full.
    56     if (goto_scrubbed)
    57         delete all of the files we delete in goto_purged as well
    58 
    59 }}}
    60 
    61 CZW: The background model should be retained unless we are confident we never wish to use this run (or it's warp/stack descendants) again.  The code I'm working on now allows for the generation of stack-level background models for runs with cleaned chips and warps, so the above statement that it's only useful if the warp is full is no longer accurate.
    62 === Warp stage ===
    63 
    64 {{{
    65     if (goto_purged)
    66         delete cmf
    67         delete psf
    68         delete skycell.template
    69 
    70     if (goto_scrubbed)
    71         delete the files deleted in goto_purged as well as the normal cleanup files
    72 
    73 }}}
     64=== Camera Stage ===
     65We found about 15000 censored camera runs that were not restored. I missed some labels apparently. These are running now. This will
     66remove 2 copies of the smf for each run.
    7467
    7568=== Changes to other stages ===