ISIS Application Documentation
ascii2isis | Printer Friendly View | TOC | Home |
Import ascii file as a cube
Overview | Parameters | Example 1 |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:09 |
Parameter GroupsFiles
Ascii file dimensions
Special Pixels
|
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:09 |
The file name of the input ascii file to be converted to cube.
Type | filename |
---|---|
File Mode | input |
Filter | *.txt |
The file name of the output cube.
Type | cube |
---|---|
File Mode | output |
Pixel Type | real |
Filter | *.cub |
Storage order of image data defines which dimension varies the fastest and the third varying the slowest (sample, line or band). BSQ = Band Sequential (sample, line, band) BIL = Band Interleaved by Line (sample, band, line) BIP = Band Interleaved by Pixel (band, sample, line)
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | BSQ | ||||||||||||
Option List: |
|
This defines the number of samples in the ascii.
Type | integer |
---|
This defines the number of lines in the raw image.
Type | integer |
---|
This defines the number of bands in the raw image. If greater than 1, the image is assumed to be in band sequential order.
Type | integer |
---|---|
Default | 1 |
This defines the number of bytes to skip before the actual image data is read. This would be for raw images with header data.
Type | integer |
---|---|
Default | 0 |
If this option is used input raw pixels below minimum and above maximum will be converted to LRS and HRS respectively. Otherwise pixels in the input raw file will be left unchanged in most cases. For example, importing a raw 8-bit file and outputing to a 16-bit or 32-bit real will cause 0 and 255 to be actual values. If left as 8-bit then 0 will be NULL and 255 will be HRS.
Type | boolean |
---|---|
Default | NO |
Inclusions |
|
Minimum valid value. Anything below this value will be set to LRS.
Type | double |
---|---|
Inclusions |
|
Maximum valid value. Anything above this value will be set to HRS.
Type | double |
---|---|
Inclusions |
|
If this option is used input raw pixels below minimum and above maximum will be converted to LRS and HRS respectively. Otherwise pixels in the input raw file will be left unchanged in most cases. For example, importing a raw 8-bit file and outputing to a 16-bit or 32-bit real will cause 0 and 255 to be actual values. If left as 8-bit then 0 will be NULL and 255 will be HRS.
Type | boolean |
---|---|
Default | NO |
Inclusions |
|
Minimum valid value. Anything below this value will be set to LRS.
Type | double |
---|---|
Inclusions |
|
Maximum valid value. Anything above this value will be set to HRS.
Type | double |
---|---|
Inclusions |
|
If this option is used input raw pixels below minimum and above maximum will be converted to LRS and HRS respectively. Otherwise pixels in the input raw file will be left unchanged in most cases. For example, importing a raw 8-bit file and outputing to a 16-bit or 32-bit real will cause 0 and 255 to be actual values. If left as 8-bit then 0 will be NULL and 255 will be HRS.
Type | boolean |
---|---|
Default | NO |
Inclusions |
|
Minimum valid value. Anything below this value will be set to LRS.
Type | double |
---|---|
Inclusions |
|
Maximum valid value. Anything above this value will be set to HRS.
Type | double |
---|---|
Inclusions |
|
Example 1Converting an ascii file to an Isis Cube Description
This example will show the conversion from a ascii file to a cube.
Command Line
ascii2isis
FROM=input.txt TO=out.cub
samples=10 lines=10 skip=35
Convert the image input.txt to the Isis Cube out.cub
GUI Screenshot
Data FileLinks open in a new window.
Output Image |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 02/21/2025 19:28:09 |