SAGA-GIS Tool Library Documentation (v7.8.2)

Tool Import Binary Raw Data

Imports grid from binary raw data.

Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGrid (*)Data Object Grid, output, optionalGRID--
OptionsFileFile pathFILE--
Number of ColumnsIntegerNX-Minimum: 1
Default: 1
Number of RowsIntegerNY-Minimum: 1
Default: 1
Cell SizeFloating pointCELLSIZE-Minimum: 0.000000
Default: 1.000000
Position VectorChoicePOS_VECTOR-Available Choices:
[0] cell's center
[1] cell's corner
Default: 0
XFloating pointPOS_X-Default: 0.000000
SideChoicePOS_X_SIDE-Available Choices:
[0] left
[1] right
Default: 0
YFloating pointPOS_Y-Default: 0.000000
SideChoicePOS_Y_SIDE-Available Choices:
[0] top
[1] bottom
Default: 0
Data TypeChoiceDATA_TYPE-Available Choices:
[0] 8 bit unsigned integer
[1] 8 bit signed integer
[2] 16 bit unsigned integer
[3] 16 bit signed integer
[4] 32 bit unsigned integer
[5] 32 bit signed integer
[6] 32 bit floating point
[7] 64 bit floating point
Default: 0
Byte OrderChoiceBYTEORDER-Available Choices:
[0] Little Endian (Intel)
[1] Big Endian (Motorola)
Default: 0
UnitTextUNIT--
Z-ScaleFloating pointZFACTOR-Default: 1.000000
No Data ValueFloating pointNODATA-Default: -99999.000000
Data Offset (Bytes)IntegerDATA_OFFSET-Default: 0
Record Offset (Bytes)IntegerLINE_OFFSET-Default: 0
Record Endset (Bytes)IntegerLINE_ENDSET-Default: 0
Value OrderChoiceORDER-Available Choices:
[0] columns by rows
[1] rows by columns
Default: 0
Invert Row OrderBooleanTOPDOWN-Default: 1
Invert Column OrderBooleanLEFTRIGHT-Default: 0
(*) optional

Command-line

Usage: saga_cmd io_grid 4 [-GRID <str>] [-FILE <str>] [-NX <num>] [-NY <num>] [-CELLSIZE <double>] [-POS_VECTOR <str>] [-POS_X <double>] [-POS_X_SIDE <str>] [-POS_Y <double>] [-POS_Y_SIDE <str>] [-DATA_TYPE <str>] [-BYTEORDER <str>] [-UNIT <str>] [-ZFACTOR <double>] [-NODATA <double>] [-DATA_OFFSET <num>] [-LINE_OFFSET <num>] [-LINE_ENDSET <num>] [-ORDER <str>] [-TOPDOWN <str>] [-LEFTRIGHT <str>]
  -GRID:<str>       	Grid
	Data Object Grid, output, optional
  -FILE:<str>       	File
	File path
  -NX:<num>         	Number of Columns
	Integer
	Minimum: 1
	Default: 1
  -NY:<num>         	Number of Rows
	Integer
	Minimum: 1
	Default: 1
  -CELLSIZE:<double>	Cell Size
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -POS_VECTOR:<str> 	Position Vector
	Choice
	Available Choices:
	[0] cell's center
	[1] cell's corner
	Default: 0
  -POS_X:<double>   	X
	Floating point
	Default: 0.000000
  -POS_X_SIDE:<str> 	Side
	Choice
	Available Choices:
	[0] left
	[1] right
	Default: 0
  -POS_Y:<double>   	Y
	Floating point
	Default: 0.000000
  -POS_Y_SIDE:<str> 	Side
	Choice
	Available Choices:
	[0] top
	[1] bottom
	Default: 0
  -DATA_TYPE:<str>  	Data Type
	Choice
	Available Choices:
	[0] 8 bit unsigned integer
	[1] 8 bit signed integer
	[2] 16 bit unsigned integer
	[3] 16 bit signed integer
	[4] 32 bit unsigned integer
	[5] 32 bit signed integer
	[6] 32 bit floating point
	[7] 64 bit floating point
	Default: 0
  -BYTEORDER:<str>  	Byte Order
	Choice
	Available Choices:
	[0] Little Endian (Intel)
	[1] Big Endian (Motorola)
	Default: 0
  -UNIT:<str>       	Unit
	Text
  -ZFACTOR:<double> 	Z-Scale
	Floating point
	Default: 1.000000
  -NODATA:<double>  	No Data Value
	Floating point
	Default: -99999.000000
  -DATA_OFFSET:<num>	Data Offset (Bytes)
	Integer
	Default: 0
  -LINE_OFFSET:<num>	Record Offset (Bytes)
	Integer
	Default: 0
  -LINE_ENDSET:<num>	Record Endset (Bytes)
	Integer
	Default: 0
  -ORDER:<str>      	Value Order
	Choice
	Available Choices:
	[0] columns by rows
	[1] rows by columns
	Default: 0
  -TOPDOWN:<str>    	Invert Row Order
	Boolean
	Default: 1
  -LEFTRIGHT:<str>  	Invert Column Order
	Boolean
	Default: 0