ISIS Application Documentation
table2cube | Standard View | TOC | Home |
Converts a table to a cube
Description
Categories
Groups
Examples
History
Name | Description |
---|---|
FROM | Input file name |
TO | Output file name |
Name | Description |
---|---|
TABLENAME | Table Name |
FIELD | Field Name |
STARTREC | Starting Record |
NUMREC | Number of records |
STARTELEM | Starting element in field |
NUMELEM | Number of elements in field |
Specify the input file containing table data.
Type | filename |
---|---|
File Mode | input |
Specify the output file, which will be a cube populated with the data from the table.
Type | cube |
---|---|
File Mode | output |
Pixel Type | real |
Filter | *.cub |
Specify the table name inside of the table input file (FROM).
Type | string |
---|
Specify the field name inside of the cube to gather the data from. The size of the array inside of this field will be the same as the number of samples in the output cube (unless otherwise specified).
Type | string |
---|
Specify the starting record inside of the table. Use this if you want to skip initial data. One Based.
Type | integer |
---|---|
Default | 1 |
Specify the number of records to convert, this starts with the first record specified by STARTREC. One Based.
Type | integer |
---|---|
Internal Default | All |
Specify the starting element in the field. For example, if you have an array of size three but only want the last element this should be set to three. One Based.
Type | integer |
---|---|
Default | 1 |
Specify the number of elements in the field to convert into the output cube, this starts with the first record specified by STARTELEM. One Based.
Type | integer |
---|---|
Internal Default | All |
Converting a table to a cube using table2cube
Convert table to cube In this example table2cube will convert the table "Example," field "Data" from out.tbl to out.cub . |
Image after conversion
Parameter Name:
TO This is the table from out.tbl after being converted to an Isis cube. The file "out.tbl" was constructed by making a 500 by 500 table of the mathematical equation: element mod row (effectively x % y). |
Steve Koechle and Steven Lambright | 2007-06-15 | Original Version |
Jeannie Backer | 2012-10-04 | PROG: Changed references to TableField methods to lower camel case. Ordered includes. Added g_ prefix to global variables. References #1169. |