USGS

Isis 2 Documentation


cube2ascii Documentation

cube2ascii - Converts isis (1 band) to ascii output file
PROGRAMMER: Glenn Bennett,  U.S.G.S., Flagstaff, AZ       23 JUL 2003

ParmDescriptionDefault
FROM
Input cube file name
  (default extension is .cub)
NONE
SFROM
Input sub specifier(1 band only)
{1-7:3-4:8 = rectangle 7 columns
 wide & two rows high of band 8}
"::1"
TO
Output ASCII file name
  {default is 
   otherwise default extension
   is .txt}
NONE
HEADER
Write header in output file
--- input file name, sfrom, etc.
"NO",
TRANSPOSE
NO  do not transpose.
101 102 103
104 105 106
YES do transpose.Handy for Excel
101 104
102 105
103 106
"NO",
FORMAT
ASCII output format, default:
14 columns wide,6 decimal places

Floating point:      F14.6

                {     12.345678}

Scientific Notation: E14.6

                {   .123456E+02}
"F14.6"
NULL
SPECIAL PIXEL output value for:
Null
--
LRS
SPECIAL PIXEL output value for:
Low Representation Saturation
--
LIS
SPECIAL PIXEL output value for:
Low Instrument Saturation
--
HIS
SPECIAL PIXEL output value for:
High Instrument Saturation
--
HRS
SPECIAL PIXEL output value for:
High Representation Saturation
--

ADDITIONAL NOTES:

ParmDescription
FROM
Input cube file name.  If the file extension is omitted,
then ".cub" will be assumed.
SFROM
(1 band, only)
{1-264::1 is a column 264 wide in band one,
 :1-264:7 is 264 rows in band seven}

SFROM specifies the subcube using a single string for all
three dimensions of the cube.  The order of the three
dimensions is always "samples:lines:bands".
If a dimension is left blank, all the data for that
dimension is selected.  The default value of NULL for SFROM
selects the entire cube.

Any application below can be used for any dimension.
To select specific data from any dimension:
  "10-100(3):11,12,15-20:1-10(2)" =  This example will
select every third sample starting with sample 10 thru 100.
It selects lines 11 and 12, and 15-20. It selects every
other band, starting with band 1 thru 10.

There are special characters that can be used for
selecting a subcube efficiently, such as "*","#", and "~".
For examples type "help sfrom" in TAE.

**NOTE** For more examples and explanation of the many
features of the SFROM parameter, tutor the sfrom.pdf or
refer to Introduction To ISIS, Section 6, of the ISIS
User's Manual **
TO
Output ASCII file name.
{default is 
 otherwise default extension is .txt}
FORMAT
ASCII output format, default:
14 columns wide,6 decimal places

Floating point:      F14.6

                {     12.345678}

Scientific Notation: E14.6

                {   .123456E+02}
TRANSPOSE
NO  do not transpose.
101 102 103
104 105 106
YES do transpose.Handy for Excel
101 104
102 105
103 106
NULL
SPECIAL PIXEL output value for:
Null
LRS
SPECIAL PIXEL output value for:
Low Representation Saturation
LIS
SPECIAL PIXEL output value for:
Low Instrument Saturation
HIS
SPECIAL PIXEL output value for:
High Instrument Saturation
HRS
SPECIAL PIXEL output value for:
High Representation Saturation

Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page