SAGA-GIS Module Library Documentation (v2.1.3)

Module Import Binary Raw Data

Imports grid from binary raw data.

Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGrid (*)Data Object (optional output)GRID--
OptionsRaw Data FileFile pathFILE_DATA--
Cell Count (X)IntegerNX-Default: 1
Cell Count (Y)IntegerNY-Default: 1
Cell SizeFloating pointDXY-Default: 1.000000
Left Border (X)Floating pointXMIN-Default: 0.000000
Lower Border (Y)Floating pointYMIN-Default: 0.000000
Unit NameTextUNIT--
Z MultiplierFloating pointZFACTOR-Default: 1.000000
No Data ValueFloating pointNODATA-Default: -99999.000000
Data Offset (Bytes)IntegerDATA_OFFSET-Default: 0
Line Offset (Bytes)IntegerLINE_OFFSET-Default: 0
Line Endset (Bytes)IntegerLINE_ENDSET-Default: 0
Data TypeChoiceDATA_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 OrderChoiceBYTEORDER_BIG-Available Choices:
[0] Little Endian (Intel)
[1] Big Endian (Motorola)
Default: 0
Line OrderChoiceTOPDOWN-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