Module Create New Table
Creates a new empty table.
Possible field types are:
- string
- date
- color
- unsigned 1 byte integer
- signed 1 byte integer
- unsigned 2 byte integer
- signed 2 byte integer
- unsigned 4 byte integer
- signed 4 byte integer
- unsigned 8 byte integer
- signed 8 byte integer
- 4 byte floating point number
- 8 byte floating point number
- binary
- Author: O. Conrad (c) 2005
- Specification: grid
- Menu: Table|Construction
Parameters
| Name | Type | Identifier | Description | Constraints |
Output | Table (*) | Data Object (optional output) | TABLE | - | - |
Options | Name | Text | NAME | - | Default: New Table |
Number of Attributes | Integer | NFIELDS | - | Minimum: 1 Default: 2 |
Attributes | Parameters | FIELDS | - | 6 Parameters: - 1. - 2. Default: Name - 3. Available Choices: [0] string [1] date [2] color [3] unsigned 1 byte integer [4] signed 1 byte integer [5] unsigned 2 byte integer [6] signed 2 byte integer [7] unsigned 4 byte integer [8] signed 4 byte integer [9] unsigned 8 byte integer [10] signed 8 byte integer [11] 4 byte floating point number [12] 8 byte floating point number [13] binary Default: 0 - 4. - 5. Default: Name - 6. Available Choices: [0] string [1] date [2] color [3] unsigned 1 byte integer [4] signed 1 byte integer [5] unsigned 2 byte integer [6] signed 2 byte integer [7] unsigned 4 byte integer [8] signed 4 byte integer [9] unsigned 8 byte integer [10] signed 8 byte integer [11] 4 byte floating point number [12] 8 byte floating point number [13] binary Default: 0
|
(*) optional |
Command-line
Usage: saga_cmd table_tools 0 [-TABLE <str>] [-NAME <str>] [-NFIELDS <num>] [-FIELDS_NAME000 <str>] [-FIELDS_TYPE000 <str>] [-FIELDS_NAME001 <str>] [-FIELDS_TYPE001 <str>]
-TABLE:<str> Table
Data Object (optional output)
-NAME:<str> Name
Text
Default: New Table
-NFIELDS:<num> Number of Attributes
Integer
Minimum: 1
Default: 2
-FIELDS_NAME000:<str> Name
Text
Default: Name
-FIELDS_TYPE000:<str> Type
Choice
Available Choices:
[0] string
[1] date
[2] color
[3] unsigned 1 byte integer
[4] signed 1 byte integer
[5] unsigned 2 byte integer
[6] signed 2 byte integer
[7] unsigned 4 byte integer
[8] signed 4 byte integer
[9] unsigned 8 byte integer
[10] signed 8 byte integer
[11] 4 byte floating point number
[12] 8 byte floating point number
[13] binary
Default: 0
-FIELDS_NAME001:<str> Name
Text
Default: Name
-FIELDS_TYPE001:<str> Type
Choice
Available Choices:
[0] string
[1] date
[2] color
[3] unsigned 1 byte integer
[4] signed 1 byte integer
[5] unsigned 2 byte integer
[6] signed 2 byte integer
[7] unsigned 4 byte integer
[8] signed 4 byte integer
[9] unsigned 8 byte integer
[10] signed 8 byte integer
[11] 4 byte floating point number
[12] 8 byte floating point number
[13] binary
Default: 0