Module Import Binary Raw Data
Imports grid from binary raw data.
- Author: (c) 2003 by O.Conrad
- Specification: grid
- Menu: File|Grid|Import
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Output | Grid (*) | Data Object (optional output) | GRID | - | - | 
| Options | Raw Data File | File path | FILE_DATA | - | - | 
 | Cell Count (X) | Integer | NX | - | Default: 1 | 
 | Cell Count (Y) | Integer | NY | - | Default: 1 | 
 | Cell Size | Floating point | DXY | - | Default: 1.000000 | 
 | Left Border (X) | Floating point | XMIN | - | Default: 0.000000 | 
 | Lower Border (Y) | Floating point | YMIN | - | Default: 0.000000 | 
 | Unit Name | Text | UNIT | - | - | 
 | Z Multiplier | Floating point | ZFACTOR | - | Default: 1.000000 | 
 | No Data Value | Floating point | NODATA | - | Default: -99999.000000 | 
 | Data Offset (Bytes) | Integer | DATA_OFFSET | - | Default: 0 | 
 | Line Offset (Bytes) | Integer | LINE_OFFSET | - | Default: 0 | 
 | Line Endset (Bytes) | Integer | LINE_ENDSET | - | Default: 0 | 
 | Data Type | Choice | DATA_TYPE | - | Available Choices: [0] 1 Byte Integer (unsigned)
 [1] 1 Byte Integer (signed)
 [2] 2 Byte Integer (unsigned)
 [3] 2 Byte Integer (signed)
 [4] 4 Byte Integer (unsigned)
 [5] 4 Byte Integer (signed)
 [6] 4 Byte Floating Point
 [7] 8 Byte Floating Point
 Default: 0
 | 
 | Byte Order | Choice | BYTEORDER_BIG | - | Available Choices: [0] Little Endian (Intel)
 [1] Big Endian (Motorola)
 Default: 0
 | 
 | Line Order | Choice | TOPDOWN | - | Available Choices: [0] Bottom to Top
 [1] Top to Bottom
 Default: 0
 | 
| (*) optional | 
Command-line
Usage: saga_cmd io_grid 4 [-GRID <str>] [-FILE_DATA <str>] [-NX <num>] [-NY <num>] [-DXY <str>] [-XMIN <str>] [-YMIN <str>] [-UNIT <str>] [-ZFACTOR <str>] [-NODATA <str>] [-DATA_OFFSET <num>] [-LINE_OFFSET <num>] [-LINE_ENDSET <num>] [-DATA_TYPE <str>] [-BYTEORDER_BIG <str>] [-TOPDOWN <str>]
  -GRID:<str>         	Grid
	Data Object (optional output)
  -FILE_DATA:<str>    	Raw Data File
	File path
  -NX:<num>           	Cell Count (X)
	Integer
	Default: 1
  -NY:<num>           	Cell Count (Y)
	Integer
	Default: 1
  -DXY:<str>          	Cell Size
	Floating point
	Default: 1.000000
  -XMIN:<str>         	Left Border (X)
	Floating point
	Default: 0.000000
  -YMIN:<str>         	Lower Border (Y)
	Floating point
	Default: 0.000000
  -UNIT:<str>         	Unit Name
	Text
  -ZFACTOR:<str>      	Z Multiplier
	Floating point
	Default: 1.000000
  -NODATA:<str>       	No Data Value
	Floating point
	Default: -99999.000000
  -DATA_OFFSET:<num>  	Data Offset (Bytes)
	Integer
	Default: 0
  -LINE_OFFSET:<num>  	Line Offset (Bytes)
	Integer
	Default: 0
  -LINE_ENDSET:<num>  	Line Endset (Bytes)
	Integer
	Default: 0
  -DATA_TYPE:<str>    	Data Type
	Choice
	Available Choices:
	[0] 1 Byte Integer (unsigned)
	[1] 1 Byte Integer (signed)
	[2] 2 Byte Integer (unsigned)
	[3] 2 Byte Integer (signed)
	[4] 4 Byte Integer (unsigned)
	[5] 4 Byte Integer (signed)
	[6] 4 Byte Floating Point
	[7] 8 Byte Floating Point
	Default: 0
  -BYTEORDER_BIG:<str>	Byte Order
	Choice
	Available Choices:
	[0] Little Endian (Intel)
	[1] Big Endian (Motorola)
	Default: 0
  -TOPDOWN:<str>      	Line Order
	Choice
	Available Choices:
	[0] Bottom to Top
	[1] Top to Bottom
	Default: 0