IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of CleanupUpdate


Ignore:
Timestamp:
Nov 14, 2012, 2:31:44 PM (14 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CleanupUpdate

    v1 v1  
     1This page contains some notes on the IPP cleanup and update mechanism focusing on some changes proposed in November 2012.
     2
     3While the ipp production cluster has a vast amount of storage, there is not nearly enough to save all the processed data
     4products. A process has been established to delete large data files retaining enough information that they can be
     5regenerated at a later date.
     6
     7=== Cleanup states ===
     8In the cleanup process runs are transitioned to one of 3 dates
     9    * cleanup         Delete ephemeral files only. Leave files behind so that images can be updated.
     10    * purged          More (but perhaps not all) output files are deleted. For example logs survive. Since recipe information is lost images cannot be regenerated from this state.
     11    * scrubbed        Don't recall what this is for. It seems to delete the same files as regular cleanup. But only if the config dump file is missing. '''XXX: Should this be more like purged or cleaned?
     12'''
     13
     14=== Update operation ===
     15Recipes and other configuration is read from config dump file and those parameters are used to
     16regenerate the images. The goal is to be as close to the original processing as possible, but since
     17the code is in general different it might be just "close"
     18
     19
     20{{{
     21if (mdc file is not available)
     22    # this should only apply to runs prior to replication of config dump files
     23    if (mdc file is temporarily not available)
     24        images are regenerated using current recipes but dump file is not saved
     25    else
     26        images are regenerated using current recipes but new config dump file is saved
     27
     28
     29}}}
     30
     31== Proposed Change to chip updates ==
     32Currently if cmf or psf is missing we rerun photometry.  Change to only do this if the psf file is missing. Do not recreate cmf file.
     33
     34
     35=== Cleanup Changes ===
     36
     37== In general ==
     38redirect output to a nebulous file whose path is based on the workdir. For example
     39
     40{{{
     41
     42    neb://ipp040.0/gpc1/ThreePi.DM.20100401/o5238g0323o.133649/o5238g0323o.133649.ch.79656.cleanup.log
     43
     44}}}
     45
     46compress log file. Should we rename it or keep it in place?
     47
     48== chip stage ==
     49find smf for associated camRun. If found and is not corrupted, delete cmfs otherwise leave them on disk.
     50
     51
     52{{{
     53    if (goto_purged)
     54        delete psf
     55        should we delete the background model?
     56            It is only useful if the corresponding warp is in state full.
     57    if (goto_scrubbed)
     58        delete all of the files we delete in goto_purged as well
     59
     60}}}
     61
     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}}}
     74
     75Changes to other stages: TBD