USGS

Isis 2 Documentation


pds2isis Documentation

pds2isis - Convert PDS image file to ISIS cube file
pds2isis translates a PDS image file to an ISIS cube.  The
program currently handles only compressed or uncompressed
single-band PDS image files.  The program can handle both
attached and detached image labels.  The program translates
the PDS file through use of a translation table which maps
the information in the PDS labels to the labels in the
output ISIS file.  In order for a specific PDS dataset
to be translated correctly, there must be information in
the translation table for that dataset.

pds2isis will generate an output file name for you if
you leave the TO parameter blank.  The program creates
a file name by taking the PDS file name and replacing
its extension with .cub.  If you want the program to
create the output file name for you and put the
output in a specific directory (other than the default),
then enter the directory path in the TO parameter and
end the path specification with a / character.

The LIST parameter can be used to specify a file where
pds2isis can write the output file names.  With each
successive run of pds2isis, the output file name will
be appended to the LIST file (if one is specified).
The list file could be used later in the generation of
a PDF to further process the output ISIS files.

Programmer: Janet Barrett, U.S.G.S., Flagstaff, AZ

ParmDescriptionDefault
FROM
Input PDS file name
NONE
TO
Output ISIS cube file name
""
KEEPBYTES
Keep the prefix and suffix
bytes in the core?
NO
WORKDIR
Directory for temporary
files
""
TRANSTAB
Name of translation
table file
"$ISISDATA/pds2isis_translation.tbl"
LIST
Output list file name (optional)
""

ADDITIONAL NOTES:

ParmDescription
FROM
The name of the PDS file that is to be translated.  This
program only handles uncompressed single-band PDS files.
If the PDS image file has a detached label, then enter
the name of the label file instead of the image file.
TO
The name of the output ISIS cube file.  If you want the
program to create the output file name for you, then
leave the TO parameter blank.  If you want the program
to create the output file name for you and put the
output in a specific directory (other than the default),
then enter the directory path in the TO parameter and end
the path specification with a / character.
KEEPBYTES
Determines if the prefix and suffix data in the PDS file
will be removed or propagated into the core of the output
ISIS file. If KEEPBYTES=YES, then the prefix/suffix data
will be propagated into the core. The number of samples
in the output ISIS image will be the number of samples in
the PDS file plus the number of prefix/suffix pixels.
If KEEPBYTES=NO, then the prefix/suffix data will be
removed before the core data is written to the output
ISIS file.
WORKDIR
A directory where temporary work files can be stored.
If the input PDS file is compressed, then the program
decompresses it and places the decompressed file in
the work directory.  The decompressed file is deleted
when the program is done with it.
LIST
If you want the program to generate a list of the output
file names from different executions of the program, then
enter the name of the list file in the LIST parameter.
This list file could be used later in the generation of
a PDF to further process the output files.

Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page