ISIS 3 Application Documentation
Export cube to an ascii file
Overview
Parameters
Example 1
Description
This program will print the cube data to an ascii file. Special pixels will be represented
as NULL, LIS, LRS, HIS and HRS. If you do not want special pixels in your ascii output,
run the program "stretch" to replace their value. If there are multiple bands in the cube,
they will be output in band sequential format. Beware: The output file will be roughly
3 times as big as the input.
Categories
Related Applications to Previous Versions of ISIS
This program replaces the following
applications
existing in previous versions of ISIS:
History
Tracie L Sucharski 2002-06-28
Original version
Tracie Sucharski 2002-10-25
Fixed bug-was writing LRS for LIS values.
K Teal Thompson 2002-11-25
Add example
Tracie Sucharski 2003-01-28
Remove from Utility category.
K Teal Thompson 2003-02-03
Make images smaller.
K Teal Thompson 2003-03-19
Add /image and /thumb directory.
Tracie Sucharski 2003-04-03
Added-lien:Use IsisString class when outputing pixel values.
Stuart Sides 2003-04-04
Fixed problem with isiscvs not checking in the thumb and image directories.
Kim Sides 2003-05-13
Added application test
Stuart Sides 2003-05-16
Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides 2003-07-29
Modified filename parameters to be cube parameters where necessary
Jeff Anderson 2003-08-27
Changed default extension handling mechanism
Brendan George 2006-09-28
Documentation fixes
Steven Lambright 2008-05-12
Removed references to CubeInfo
Makayla Shepherd 2015-01-30
Increased precision of the DNs in the output text file from 6 to 7
Parameter Groups
Files
Name
Description
FROM Input cube
TO Output ascii file
Options
Name
Description
HEADER Print header
Files :
FROM
Description
The file name of the input cube to be listed.
Type
cube
File Mode
input
Filter
*.cub
Files :
TO
Description
The file name of the ascii output file.
Type
filename
File Mode
output
Filter
*.txt
Example 1
Header default
Description
Demonstrate the isis2ascii application with header
Command Line
isis2ascii f=../IN/f332s28.cub t=OUT/isis2ascii.txt
Convert Viking ISIS image to ascii file. Let header default to yes.
GUI Screenshot
isis2ascii GUI
Example GUI
Screenshot of GUI with parameters filled in to perform
the isis2ascii application
Input Image
Input image
Input image for isis2ascii
Parameter Name:
FROM
This is the input image f332s28.cub to be converted to ascii.
Output Image
Output image showing results of the isis2ascii application.
Example output ascii text from isis2ascii run
Parameter Name:
TO
This is the output ascii text file isis2ascii.txt with the header.