ISIS Application Documentation
tabledump | Standard View | TOC | Home |
Program to output a selected table to a file
Description
Categories
Groups
History
This program takes a cube with one or more table blobs in it, and, through input provided by the user, outputs a selected table to an ASCII file, with formatting determined by user input.
Helper button has been provided in the GUI mode for the NAME parameter. The helper button will sequentially fill in the name of each table when pressed, clear the field to blank after the last table has been reached, and then wrap back to the beginning.
Name | Description |
---|---|
FROM | Input Cube |
TO | Output file |
Name | Description |
---|---|
NAME | The name of the table |
DELIMIT | The character to be inserted between table entries |
CUSTOM | User-defined delimiter |
This is the cube containing the table to be output.
Type | cube |
---|---|
File Mode | input |
Filter | *.cub |
This is the output file where the table will be written.
Type | filename |
---|---|
File Mode | output |
Internal Default | No Output file will be created |
Filter | *.txt |
This is the name of the table to be output. The name is found in the labels, in the relevant object, as the value of the Keyword "Name." This value is set by the program creating the table, and is standardized to certain conventions.
Type | string |
---|
This option will determine which character will be used to separate table entries, with the default option as a comma. The other options are space, to separate with a single space, or "OTHER," which allows the user to input whatever they wish as the delimiter character.
Type | string | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default | COMMA | ||||||||||||
Option List: |
|
This parameter is only used if the user has selected "OTHER" as a delimiter. The user then enters something into this parameter to use as a delimiter.
Type | string |
---|
Brendan George | 2006-10-26 | Original version |
Brendan George | 2006-12-18 | Fixed helper button |
Steven Lambright | 2007-07-27 | Changed category from Utility to Import and Export |
Steven Koechle | 2008-05-20 | Changed TO parameter to function like other applications in ISIS. It now defaults to console output when no TO file is enterd. |
Christopher Austin | 2008-06-19 | Fixed string representation and display. |
Travis Addair | 2009-03-03 | Changed helper button to only place one table name into the NAME parameter each time it is pressed |
Kris Becker | 2010-12-10 | Added a newline to the last line of the output TO file. |
Jeannie Backer | 2012-10-04 | Changed references to TableField methods to lower camel case. Ordered includes. Added g_ prefix to global variables. Added padding to control statements. References #1169. |
Steven Lambright | 2012-12-10 | Text field outputs are no longer padded with NULL (ASCII 0) characters; these characters were not intended to be part of the output. This was fixed because preserving this behavior would have been much more difficult than fixing it. References #1312. |