NAME

Restore_HiRISE_Headers

Restore the headers of a HiRISE observation with the headers of the paired channel

SYNOPSIS

Restore_HiRISE_Headers -bad channel.DAT -good channel.DAT -output channel.DAT -chan 0/1 -science -lut -cpmm

-bad channel.DAT

The full pathname of the raw HiRISE channel (.DAT) file with bad headers

-good channel.DAT

The full pathname of the paired raw HiRISE channel (.DAT) file with good headers

-output channel.DAT

The full pathname of the output file with corrected headers

-chan

The channel number of the channel file to be corrected (0 or 1)

-science

Flag indicates to replace the science channel header

-lut

Flag indicates to replace the LUT table

-cpmm

Flag indicates to repelace the CPMM header

DESCRIPTION

The Restore_HiRISE_Headers script provides a mechanism to replace header data in a Raw HiRISE channel file (.DAT) that might be corrupted such as when telemetry gaps fall on the header section.

This script will work only when there is a paired channel that has uncorrupted header information.

The user can chose to replace any combination of the science channel header (-sci), LUT table (-lut), or CPMM header (-cpmm).

Author

Eric Eliason UA/LPL