Tool Import Grid from XYZ
The tool allows one to import gridded data from a table (text format), which contains for each grid cell the x/y-coordinates and the cell value. If several values end up in a single grid cell, the mean value of all input values is written to that cell.
- Author: O.Conrad (c) 2009
- Menu: File|Grid|Import
Parameters
| Name | Type | Identifier | Description | Constraints |
Output | Grid (*) | Data Object Grid (optional output) | GRID | The imported grid. | - |
Count (*) | Data Object Grid (optional output) | COUNT | The number of values detected in each grid cell. | - |
Options | File | File path | FILENAME | The input file. | - |
Skip Leading Lines | Integer | SKIP | The number of leading lines to skip (usually header data). | Minimum: 0 Default: 0 |
Cell Size | Floating point | CELLSIZE | The cell size of the output grid. | Minimum: 0.000000 Default: 1.000000 |
Separator | Choice | SEPARATOR | - | Available Choices: [0] default delimiters [1] space [2] , [3] ; [4] tabulator [5] user defined Default: 0 |
User Defined | Text | USER | The user defined delimiter. | Default: * |
(*) optional |
Command-line
Usage: saga_cmd io_grid 6 [-GRID <str>] [-COUNT <str>] [-FILENAME <str>] [-SKIP <num>] [-CELLSIZE <double>] [-SEPARATOR <str>] [-USER <str>]
-GRID:<str> Grid
Data Object Grid (optional output)
-COUNT:<str> Count
Data Object Grid (optional output)
-FILENAME:<str> File
File path
-SKIP:<num> Skip Leading Lines
Integer
Minimum: 0
Default: 0
-CELLSIZE:<double> Cell Size
Floating point
Minimum: 0.000000
Default: 1.000000
-SEPARATOR:<str> Separator
Choice
Available Choices:
[0] default delimiters
[1] space
[2] ,
[3] ;
[4] tabulator
[5] user defined
Default: 0
-USER:<str> User Defined
Text
Default: *