IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of fix_corrupted_destreaked_file


Ignore:
Timestamp:
May 13, 2011, 10:01:09 AM (15 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • fix_corrupted_destreaked_file

    v1 v1  
     1= Fixing a corrupted destreaked file =
     2When an output of the destreak stage is corrupted it takes a few steps to repair.
     3Example: diffSkyfile 131461 skycell.1.39 caused faults when building the distribution bundle because one of the fits files was corrupted.
     4
     5To fix this the original uncensored files need to be restored and streakremove run again. Here are the required steps.
     6
     7 1. Turn off dist.revert
     8 2. Set diffRun.magicked = 0, diffSkyfile.magicked = 0 where diff_id = 131461 and skycell_id = 'skycell.1.39'
     9 3. Find the magicDSRun associated with diff_id 131461: magic_ds_id=516369.
     10 4. Set magicDSFile.fault = 2, magicDSRun.state = 'new' where magic_ds_id = 516369 and component = 'skycell.1.39'
     11 5. Wait for destreak revert to restore the original files for this component and for the destreak run to process them again.
     12 6. turn dist.revert back on
     13
     14Pau.
     15
     16This needs to be scripted. Actually most of this can be accomplished with database operations it should probably go into magicdstool.
     17