Isis 2 Documentation
readpfx - Read prefix bytes in a MEX HRSC file This program will read prefix bytes from a VICAR-formatted Mars Express HRSC file. The ephemeris time and exposure time are both extracted from the prefix bytes and then written to an ASCII file. The difference between ephemeris times for consecutive image lines is also written to the ASCII file to determine where skipped lines exist. These values can then be accessed by a Perl script. This program was written primarily to handle the byte-swapping of the prefix data for Solaris systems. The native format of the MEX HRSC data is LSB. This program will work on Linux systems as well. Programmer: Janet Barrett, U.S.G.S., Flagstaff, AZ
Parm | Description | Default |
---|---|---|
FROM | Input VICAR-formatted MEX HRSC file | "" |
BASENAME | Base name of multi- sectioned file | "" |
NSECTION | Number of sections in input file | 1 |
TO | Output ASCII-formatted file | "" |
SKIP | Number of header bytes to skip | 0 |
NL | Number of lines in the image | 0 |
NBYTES | Number of bytes in each image line |
ADDITIONAL NOTES:
Parm | Description |
---|---|
FROM | This is a VICAR-formatted HRSC file created by the Mars Express mission. If this file is over 2 gigabytes in size, then the file must be divided into smaller sections before it can be processed. Use the NSECTION and BASENAME parameters in this case. |
BASENAME | Base name of a multi-sectioned file. If the input file had to be divided into smaller sections to be processed, then each file section must follow the naming convention of input.section#. The "input" portion of the filename is the original name of the file with the extension ".section#" appended. The # signifies an actual number, such as 1, 2, 3, so on that says what order the sections go together. |
NSECTION | Number of sections in input file. |
TO | This is the output ASCII-formatted file that will contain the ephemeris time, exposure time, and difference between consecutive ephemeris times for each line in the FROM file. |
SKIP | This is the number of bytes to skip to get to the first image line of the FROM file. |
NL | This is the number of lines in the FROM file. |
NBYTES | This is the number of bytes in each line of the FROM file. |
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov