Arg! Internal server errror lost my message the first time around! Here goes again...
You want the
ICD for this information. Section 9 for LORRI, 10 for MVIC. You should probably read these, they're informative on what exactly each extension is, and also on what's corrected and what's not in the calibration (for instance, readout smear correction on LORRI doesn't work so well when there are saturated pixels). Copying from each section:
LORRI:9.2.1 Data Format
The raw image data is organized in a FITS file. The primary header and data unit (HDU) is used to store the reconstructed image from telemetry. Additional data are stored in the extensions of the file. The two tables below contain a description of the layout for the extensions for raw data.
As described previously, LORRI operates in two binning modes: 1x1 and 4x4. For the 1x1 binning mode, the raw image dimensions are 1028x1024 where columns 0 through 1023 are the optically active region of the CCD and the remaining columns (1024-1027) are from optically inactive region (dark columns) of the CCD and represent a temperature-specific measurement of the bias value. For the 4x4 binning mode, the raw image dimensions ar 257 x 256 where columns 0 through 255 are optically active and column 256 for the dark column.
FITS File Storage Location Description
Primary HDU Reconstructed image from telemetry
First Extension histogram from image descriptor packet (APID 0x611)
Second Extension Instrument housekeeping from first 34 pixels
Third Extension Matching image descriptor
MVIC:Table 10.2 Observation Modes and their filename prefixes and data dimensions
Detector Prefix for FITS file Dimensions of data in FITS file
Pan Frame Mpf 3 (5024 x 128x Ni)
Pan 1 mp1 2 (5024 x Nr)
Pan 2 mp2 2 (5024 x Nr)
Red mc0 2 (5024 x Nr)
Blue mc1 2 (5024 x Nr)
NIR mc2 2 (5024 x Nr)
CH4 mc3 2 (5024 x Nr)
The Level 2 FITS file has a primary data unit which contains the bias-subtracted, flattened image (or image cube in the case of pan frame) plus 4 extensions. Extension 1 is the bias-subtracted, flattened, distortion-removed image (or image cube). Extension 2 is an array with the per pixel error of the bias-subtracted, flattened, distortion-removed image (or image cube). Extension 3 is an array with a data quality flag for each pixel of the bias-subtracted, flattened, distortion-removed image (or image cube).
Table 10.2 Pan Frame Image Data Format
FITS Data Unit Dimension Description
Primary 5024 x 128 x Ni Bias-subtracted and flattened image cube
Extension 1 5024 x 128 x Ni Bias-subtracted, flattened, distortion-removed image cube
Extension 2 5024 x 128 x Ni 1-sigma error per pixel in extension 1 image
Extension 3 5024 x 128 x Ni Data quality flag of extension 1 image
Table 10.3 TDI Image Data Format
FITS Data Unit Dimension Description
Primary 5024 x Nr Bias-subtracted and flattened image cube
Extension 1 5024 x Nr Bias-subtracted, flattened, distortion-removed image cube
Extension 2 5024 x Nr 1-sigma error per pixel in extension 1 image
Extension 3 5024 x Nr Data quality flag of extension 1 image
If IMG2PNG can output all the images it would be loverly. But maybe that's asking too much. Doesn't keep me from asking though

--Emily