ISIS 3 Application Documentation
isis2pds | Standard View | TOC | Home |
Convert from ISIS3 cube to PDS 3 or PDS 4 format
Description
Categories
Groups
Examples
History
Not all values in the generated PDS4 labels can be determined automatically by ISIS3, and some must be updated by the user (by opening up the xml label output by this application and editing it with a text editor) for the generated label to be PDS4 compliant. The values UNK (unknown) and TBD (to be determined) are used as placeholders in the generated label. TBD values must be replaced by the user for the output label to be PDS4 compliant. Some of these TBDs can only be replaced with one of several specific enumerated values to meet compliancy. These possible values can be found in the PDS 4 Information Model Specification in the Value/Class column of the table for the associated tag or in the index at the end of the document. Searching this page for the name of the field you need to determine a value for is recommended.
For example: For a cube with map-projected data, ISIS3 will populate planar_coordinate encoding_method with a value on its own, but if it did not and instead had "TBD", we would find at planar_coordinate_coding_method that there are 3 possible values: 'Coordinate Pair', 'Distance and Bearing', 'Row and Column'.
Not everything is in the PDS 4 Information Model Specification at this time, so if the information about a tag is not in there, it may be necessary to find the options in the appropriate schematron file (.sch) available at: PDS4 Released Schema. For the previous example, the same information can be found in the PDS4 Cartography schematron file .
UNK is used as a placeholder if any value can be used and still be a valid PDS4-formatted xml header. UNKs can, but are not required to be, replaced by the user with better information.
Name | Description |
---|---|
FROM | Input cube to be converted |
TO | Output pds image |
Name | Description |
---|---|
PDSVERSION | Version of PDS to output |
Name | Description |
---|---|
LABTYPE | Label type of output file |
BITTYPE | Bit type of output file |
NULL | Dedicates the minimum DN value for null pixels. |
LRS | Dedicates a DN value for LRS pixels. |
LIS | Dedicates a DN value for LIS pixels. |
HIS | Dedicates a DN value for HIS pixels. |
HRS | Dedicates a DN value for HRS pixels. |
CHECKSUM | Generates and attaches an MD5 checksum to the labels. |
Name | Description |
---|---|
STRETCH | Type of stretch |
MINIMUM | Minimum pixel value |
MAXIMUM | Maximum pixel value |
MINPERCENT | Minimum Percent |
MAXPERCENT | Maximum Percent |
Name | Description |
---|---|
ENDIAN | Endianness of the output bytes |
The cube to be converted to pds format.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
The resulting pds file. For PDS4, a detached label of the same name with the file extension .xml will be created in the same directory.
Type | filename |
---|---|
File Mode | output |
Filter | *.img |
Changes which version of PDS file format to output in.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | PDS3 | |||||||||
Option List: |
|
Changes the type of pds label exported.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | STREAM | |||||||||
Option List: |
|
Bit type of output: 8 bit (0=black, 255=white) 16 bit unsigned (0=black, 65535=white) 16 bit signed (-32767=black, 32768=white) 32 bit (1.17549435e-38=black, 3.40282347e+38=white)
Type | string | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | 32BIT | |||||||||||||||
Option List: |
|
If set to true, the minimum value of the raw output data will be reserved for null pixels. The actual value used for null pixels will be denoted in the print.prt file as well as displayed onscreen.
Type | boolean |
---|---|
Default | true |
If set to true, then an output DN value is set aside for the LRS input pixels. The actual DN value used for LRS pixels will be denoted in the print.prt file as well as displayed onscreen.
Type | boolean |
---|---|
Default | false |
If set to true, then an output DN value is set aside for the LIS input pixels. The actual DN value used for LIS pixels will be denoted in the print.prt file as well as displayed onscreen.
Type | boolean |
---|---|
Default | false |
If set to true, then an output DN value is set aside for the HIS input pixels. The actual DN value used for HIS pixels will be denoted in the print.prt file as well as displayed onscreen.
Type | boolean |
---|---|
Default | false |
If set to true, then an output DN value is set aside for the HRS input pixels. The actual DN value used for HRS pixels will be denoted in the print.prt file as well as displayed onscreen.
Type | boolean |
---|---|
Default | false |
If set to true, then an MD5 checksum will be generated from the image data and attached to the output image labels.
Type | boolean |
---|---|
Default | false |
This parameter is used to select one of three ways to stretch (or map) the input pixels. They are NONE, LINEAR, or MANUAL.
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | NONE | ||||||||||||
Option List: |
|
The minimum input pixel value which will be mapped to black.
Type | double |
---|---|
Less Than |
|
The maximum input pixel value which will be mapped to white.
Type | double |
---|---|
Greater Than |
|
The percentage of data in the histogram used to compute the minimum pixel value in the stretch.
Type | double |
---|---|
Default | 0.5 |
Less Than |
|
The percentage of data in the histogram used to compute the maximum pixel value in the stretch.
Type | double |
---|---|
Default | 99.5 |
Greater Than |
|
This parameter is used to select one whether the output will be streamed starting with the most significant byte (MSB) or starting with the least significant bytes (LSB). The choice should be made by the user depending upon the format read by the system architecture from which they plan to read the raw data.
Type | string | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Default | LSB | |||||||||
Option List: |
|
convert cube to pds format
Example GUI Screenshot of GUI with FROM and TO files selected. |
Input cube image
Parameter Name:
FROM This is the input cube for the example of isis2pds. |
Output pds image
Parameter Name:
TO This is the exact same image with exact same DNs, but in the pds format. |
Noah Hilt | 2008-05-20 | Original version |
Christopher Austin | 2008-08-07 | Added the Label Type capability (param) |
Kristin Berry | 2014-06-06 | Changed to assume that radii without units in the input Isis cube are in meters, map scales without units are in meters/pixel, and map resolutions without units are in pixels/degree. |
Makayla Shepherd and Ian Humphrey | 2017-05-17 | Added CHECKSUM parameter to optionally generate and attach an MD5 checksum to the exported image label. This checksum is generated from the image data. Fixes #1013. |
Jeannie Backer, Mayayla Shepard, and Kristin Berry | 2017-10-27 | Added PDS4 output option. Previously, this application converted ISIS3 cubes to PDS3 format only. |
Jeannie Backer | 2017-11-13 | Updated to attach *.img extension to pds4 output data file. |
Kristin Berry | 2017-11-26 | Updated with very basic documentation about the PDS4 output labels. |