IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links
wiki:fix_corrupted_destreaked_file

Fixing a corrupted destreaked file

When an output of the destreak stage is corrupted it takes a few steps to repair. Example: diffSkyfile 131461 skycell.1.39 caused faults when building the distribution bundle because one of the fits files was corrupted.

To fix this the original uncensored files need to be restored and streakremove run again. Here are the required steps.

  1. Turn off dist.revert
  2. Set diffRun.magicked = 0, diffSkyfile.magicked = 0 where diff_id = 131461 and skycell_id = 'skycell.1.39'
  3. Find the magicDSRun associated with diff_id 131461: magic_ds_id=516369.
  4. Set magicDSFile.fault = 2, magicDSRun.state = 'new' where magic_ds_id = 516369 and component = 'skycell.1.39'
  5. Wait for destreak revert to restore the original files for this component and for the destreak run to process them again.
  6. turn dist.revert back on

Pau.

This needs to be scripted. Actually most of this can be accomplished with database operations it should probably go into magicdstool.

Last modified 15 years ago Last modified on May 13, 2011, 10:01:09 AM
Note: See TracWiki for help on using the wiki.