Home
About ISIS
Support
Download

ISIS 3

Documentation
Tutorials
Technical Documents

ISIS 2

Documentation
Tutorials
Technical Documents

Search

USGS

ISIS 3 Application Documentation


isis2ascii

Printer Friendly View | TOC | Home

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:
  • list
  • cube2ascii

History

Tracie L Sucharski2002-06-28 Original version
Tracie Sucharski2002-10-25 Fixed bug-was writing LRS for LIS values.
K Teal Thompson2002-11-25 Add example
Tracie Sucharski2003-01-28 Remove from Utility category.
K Teal Thompson2003-02-03 Make images smaller.
K Teal Thompson2003-03-19 Add /image and /thumb directory.
Tracie Sucharski2003-04-03 Added-lien:Use IsisString class when outputing pixel values.
Stuart Sides2003-04-04 Fixed problem with isiscvs not checking in the thumb and image directories.
Kim Sides2003-05-13 Added application test
Stuart Sides2003-05-16 Modified schema location from astogeology... to isis.astrogeology..."
Stuart Sides2003-07-29 Modified filename parameters to be cube parameters where necessary
Jeff Anderson2003-08-27 Changed default extension handling mechanism
Brendan George2006-09-28 Documentation fixes
Steven Lambright2008-05-12 Removed references to CubeInfo
Makayla Shepherd2015-01-30 Increased precision of the DNs in the output text file from 6 to 7

Parameter Groups

Files

Name Description
FROMInput cube
TOOutput ascii file

Options

Name Description
HEADERPrint header
X

Files: FROM


Description

The file name of the input cube to be listed.

Type cube
File Mode input
Filter *.cub
Close Window
X

Files: TO


Description

The file name of the ascii output file.

Type filename
File Mode output
Filter *.txt
Close Window
X

Options: HEADER


Description

If set to yes, a brief header will be printed to the ascii file which will include the cube name and dimensions.

Type boolean
Default YES
Close Window

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.