SAGA 9.6.1 | Tool Library Documentation

Import Binary Raw Data


Description

Imports grid from binary raw data.


Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGriddata object Grid, output, optionalGRID--
OptionsFilefile pathFILE--
Number of Columnsinteger numberNX-Minimum: 1 Default: 1
Number of Rowsinteger numberNY-Minimum: 1 Default: 1
Cell Sizefloating point numberCELLSIZE-Minimum: 0.000000 Default: 1.000000
Position VectorchoicePOS_VECTOR-Available Choices: [0] cell's center [1] cell's corner Default: 0
Xfloating point numberPOS_X-Default: 0.000000
SidechoicePOS_X_SIDE-Available Choices: [0] left [1] right Default: 0
Yfloating point numberPOS_Y-Default: 0.000000
SidechoicePOS_Y_SIDE-Available Choices: [0] top [1] bottom Default: 0
Data Typedata typeDATA_TYPE-Available Choices: [0] unsigned 1 byte integer [1] signed 1 byte integer [2] unsigned 2 byte integer [3] signed 2 byte integer [4] unsigned 4 byte integer [5] signed 4 byte integer [6] unsigned 8 byte integer [7] signed 8 byte integer [8] 4 byte floating point number [9] 8 byte floating point number Default: 8
Byte OrderchoiceBYTEORDER-Available Choices: [0] Little Endian (Intel) [1] Big Endian (Motorola) Default: 0
UnittextUNIT--
Z-Scalefloating point numberZFACTOR-Default: 1.000000
No Data Valuefloating point numberNODATA-Default: -99999.000000
Data Offset (Bytes)integer numberDATA_OFFSET-Default: 0
Record Offset (Bytes)integer numberLINE_OFFSET-Default: 0
Record Endset (Bytes)integer numberLINE_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
Coordinate System DefinitiontextCRS_STRINGSupported formats comprise PROJ and WKT strings, object codes (e.g. "EPSG:4326").-

Command Line


Usage: saga_cmd io_grid 4 [-GRID ] [-FILE ] [-NX ] [-NY ] [-CELLSIZE ] [-POS_VECTOR ] [-POS_X ] [-POS_X_SIDE ] [-POS_Y ] [-POS_Y_SIDE ] [-DATA_TYPE ] [-BYTEORDER ] [-UNIT ] [-ZFACTOR ] [-NODATA ] [-DATA_OFFSET ] [-LINE_OFFSET ] [-LINE_ENDSET ] [-ORDER ] [-TOPDOWN ] [-LEFTRIGHT ] [-CRS_STRING ]
  -GRID:       	Grid
	data object Grid, output, optional
  -FILE:       	File
	file path
  -NX:         	Number of Columns
	integer number
	Minimum: 1
	Default: 1
  -NY:         	Number of Rows
	integer number
	Minimum: 1
	Default: 1
  -CELLSIZE:	Cell Size
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -POS_VECTOR: 	Position Vector
	choice
	Available Choices:
	[0] cell's center
	[1] cell's corner
	Default: 0
  -POS_X:   	X
	floating point number
	Default: 0.000000
  -POS_X_SIDE: 	Side
	choice
	Available Choices:
	[0] left
	[1] right
	Default: 0
  -POS_Y:   	Y
	floating point number
	Default: 0.000000
  -POS_Y_SIDE: 	Side
	choice
	Available Choices:
	[0] top
	[1] bottom
	Default: 0
  -DATA_TYPE:  	Data Type
	data type
	Available Choices:
	[0] unsigned 1 byte integer
	[1] signed 1 byte integer
	[2] unsigned 2 byte integer
	[3] signed 2 byte integer
	[4] unsigned 4 byte integer
	[5] signed 4 byte integer
	[6] unsigned 8 byte integer
	[7] signed 8 byte integer
	[8] 4 byte floating point number
	[9] 8 byte floating point number
	Default: 8
  -BYTEORDER:  	Byte Order
	choice
	Available Choices:
	[0] Little Endian (Intel)
	[1] Big Endian (Motorola)
	Default: 0
  -UNIT:       	Unit
	text
  -ZFACTOR: 	Z-Scale
	floating point number
	Default: 1.000000
  -NODATA:  	No Data Value
	floating point number
	Default: -99999.000000
  -DATA_OFFSET:	Data Offset (Bytes)
	integer number
	Default: 0
  -LINE_OFFSET:	Record Offset (Bytes)
	integer number
	Default: 0
  -LINE_ENDSET:	Record Endset (Bytes)
	integer number
	Default: 0
  -ORDER:      	Value Order
	choice
	Available Choices:
	[0] columns by rows
	[1] rows by columns
	Default: 0
  -TOPDOWN:    	Invert Row Order
	boolean
	Default: 1
  -LEFTRIGHT:  	Invert Column Order
	boolean
	Default: 0
  -CRS_STRING: 	Coordinate System Definition
	text