ISIS 3 Application Documentation
Generate PDS products from a DTM and four orthographic images.
Description
This application is designed to take a DTM and four orthographic images and
produce a set PDS products. The two things accomplished by this program are
exporting to the PDS format, and modifying the labels to included extra
information and to be formatted correctly. The expected files are generally
from Socet Set and require some processing before being ready to be
exported.
Categories
Applications
History
Mackenzie Boyd | 2011-05-13 |
0riginal Version
|
Tracie Sucharski | 2012-12-06 |
Changed to use TProjection instead of Projection. References #775
|
Lynn Weller | 2012-01-22 |
Application category name changed from Import and Export to Mars Reconnaissance Orbiter.
Fixes mantis ticket #951.
|
Jeannie Backer | 2013-09-11 |
Modified the code to add SOURCE_PRODUCT_ID values individually when they are generated by the
program. Otherwise, if the user enters a value for SOURCE_PRODUCT_ID as a string, they must
include braces for array values. Fixed code to read the PRODUCT_VERSION_ID from the
PARAMSPVL file if the user has not entered a value. Added PRODUCT_VERSION_ID value to params
default file. Fixed spelling in error message and user documentation. Changed IString objects
to QStrings. Brought code closer to ISIS coding standards. Improved code test coverage.
Fixes ticket #757, #946.
|
|
Parameter Groups
Files
Name
|
Description
|
DTM | The name of the DTM |
ORTHO1 | First of four orthographic images |
ORTHO2 | Second of four orthographic images |
ORTHO3 | Third of four orthographic images |
ORTHO4 | Last of four orthographic images |
DEFAULTNAMES |
Input names match expected form
|
OUTPUTDIR |
Directory for output products
|
DTMTO | DTM output filename |
ORTHO1TO | ORTHO1 output filename |
ORTHO2TO | ORTHO2 output filename |
ORTHO3TO | ORTHO3 output filename |
ORTHO4TO | ORTHO4 output filename |
Producer and Data Set information
DTM Output Settings
Name
|
Description
|
DTMBITTYPE | 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. |
Ortho Output Settings
Name
|
Description
|
ORTHOBITTYPE | Bit type of output file |
ONULL | Dedicates the minimum DN value for null pixels. |
OLRS | Dedicates a DN value for LRS pixels. |
OLIS | Dedicates a DN value for LIS pixels. |
OHIS | Dedicates a DN value for HIS pixels. |
OHRS | Dedicates a DN value for HRS pixels. |
Output Data Storage Order
Name
|
Description
|
ENDIAN | Endianness of the output bytes |
|
Files:
DTM
Description
This is the name of the DTM from Socet Set. It must contain labels
with a mapping group, there are no expectations as to the formatting
of its name.
Type
| cube |
File Mode
| input |
Filter
|
*.cub
|
Files:
ORTHO1
Description
This is one of the four orthographic images. It is expected that the
matching cube of a different resolution will be under ORTHO2. If using
DEFAULTNAMES=TRUE, the default, the name should be of the form
AAA_######_####_... where AAA is letters, e.g. PSP, and the #s are
numbers.
Type
| cube |
File Mode
| input |
Filter
|
*.cub
|
Files:
ORTHO2
Description
This is one of the four orthographic images. It is expected that the
matching cube of a different resolution will be under ORTHO1. If using
DEFAULTNAMES=TRUE, the default, the name should be of the form
AAA_######_####_... where AAA is letters, e.g. PSP, and the #s are
numbers.
Type
| cube |
File Mode
| input |
Filter
|
*.cub
|
Files:
ORTHO3
Description
This is one of the four orthographic images. It is expected that the
matching cube of a different resolution will be under ORTHO4. If using
DEFAULTNAMES=TRUE, the default, the name should be of the form
AAA_######_####_... where AAA is letters, e.g. PSP, and the #s are
numbers.
Type
| cube |
File Mode
| input |
Filter
|
*.cub
|
Files:
ORTHO4
Description
This is one of the four orthographic images. It is expected that the
matching cube of a different resolution will be under ORTHO3. If using
DEFAULTNAMES=TRUE, the default, the name should be of the form
AAA_######_####_... where AAA is letters, e.g. PSP, and the #s are
numbers.
Type
| cube |
File Mode
| input |
Filter
|
*.cub
|
Files:
DEFAULTNAMES
Description
For convenience names of a certian form may be used so that output
filenames do not need to be specified. If true/checked, no output
filenames are required, and filenames will be built from input
names and other cube attributes. Input filenames of a certain form
are required if true, see ORTHO 1-4 and DTM parameters for more
details. If false, output filenames must be specified as well as a
few other values, and no assumptions are made about the input
filenames.
The output filenames used when true are as follows. For all files, the
form is aabcd_xxxxxx_xxxx_yyyyyy_yyyy_Vnn, where aa = DT, indicating
it's a DTM product
b = type of data
E = areoid elevations
R = radii
1 = orthoimage pixels from first image
2 = orthoimage pixels from second image
c = projection (others are possible but these are the important
ones)
E = Equirectangular
P = Polar Stereographic
d = grid spacing
A = 0.25 m
B = 0.5 m
C = 1.0 m
etc.
Z is used if no match is found, a 10% tolerance on the resolution
is value is used to catch values that are close.
xxxxxx_xxxx = orbit number and bin from ORTHO1 and ORTHO2.
yyyyyy_yyyy = orbit number and bin from ORTHO3 and ORTHO4.
V = letter indicating producing institution
U = USGS
A = University of Arizona
C = CalTech
N = NASA Ames
J = JPL
O = Ohio State
Z = other
nn = 2 digit version number
Type
| boolean |
Default
| TRUE |
Exclusions
|
- DTMTO
- ORTHO1TO
- ORTHO2TO
- ORTHO3TO
- ORTHO4TO
- SOURCE_PRODUCT_ID
- DTM_PRODUCT_ID
- ORTHO1_PRODUCT_ID
- ORTHO2_PRODUCT_ID
- ORTHO3_PRODUCT_ID
- ORTHO4_PRODUCT_ID
|
Inclusions
|
|
Files:
OUTPUTDIR
Description
The directory for all output products to go to. Only applies when
DEFAULTNAMES is true.
Files:
DTMTO
Description
The file for the DTM to be exported to.
Type
| filename |
File Mode
| output |
Filter
| *.IMG |
Files:
ORTHO1TO
Description
The file for the first orthoimage to be exported to.
Type
| filename |
File Mode
| output |
Filter
| *.IMG |
Files:
ORTHO2TO
Description
The file for the second orthoimage to be exported to.
Type
| filename |
File Mode
| output |
Filter
| *.IMG |
Files:
ORTHO3TO
Description
The file for the third orthoimage to be exported to.
Type
| filename |
File Mode
| output |
Filter
| *.IMG |
Files:
ORTHO4TO
Description
The file for the fourth orthoimage to be exported to.
Type
| filename |
File Mode
| output |
Filter
| *.IMG |
DTM Output Settings:
DTMBITTYPE
Description
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:
|
Option |
Brief |
Description |
8BIT | 8 bit data |
Pixels are in 8-bit data range (0 to 255).
|
U16BIT | 16 bit unsigned data |
Pixels are in the 16-bit data range (0 to 65535)
|
S16BIT | 16 bit signed data |
Pixels are in 16 bit signed data range (-32768 to 32767)
|
32BIT | 32 bit data |
Pixels are in the 32 bit floating point data range
(-3.40282347e+38 to 3.40282347e+38)
|
|
DTM Output Settings:
NULL
Description
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 |
DTM Output Settings:
LRS
Description
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 |
DTM Output Settings:
LIS
Description
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 |
DTM Output Settings:
HIS
Description
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 |
DTM Output Settings:
HRS
Description
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 |
Ortho Output Settings:
ORTHOBITTYPE
Description
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
|
8BIT
|
Option List:
|
Option |
Brief |
Description |
8BIT | 8 bit data |
Pixels are in 8-bit data range (0 to 255).
|
U16BIT | 16 bit unsigned data |
Pixels are in the 16-bit data range (0 to 65535)
|
S16BIT | 16 bit signed data |
Pixels are in 16 bit signed data range (-32768 to 32767)
|
32BIT | 32 bit data |
Pixels are in the 32 bit floating point data range
(-3.40282347e+38 to 3.40282347e+38)
|
|
Ortho Output Settings:
ONULL
Description
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 |
Ortho Output Settings:
OLRS
Description
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 |
Ortho Output Settings:
OLIS
Description
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 |
Ortho Output Settings:
OHIS
Description
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 |
Ortho Output Settings:
OHRS
Description
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 |
Output Data Storage Order:
ENDIAN
Description
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:
|
Option |
Brief |
Description |
LSB | Least significant byte |
The least significant byte will be the first byte output.
|
MSB | Most significant byte |
The most significant byte will be the first byte output.
|
|