Change Data Storage
- Author: O.Conrad (c) 2003
- Menu: Grid | Values
Description
Changes a grid's data storage type, offset and scaling, e.g. from 4 byte floating point to 2 byte signed integer. This might be useful to increase precision or to save memory. If the target is not set, the original grid's storage type will be changed.
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grid | grid, input | INPUT | - | - |
Output | Converted Grid | grid, output, optional | OUTPUT | - | - |
Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - |
Data storage type | choice | TYPE | - | Available Choices:
[0] bit
[1] unsigned 1 byte integer
[2] signed 1 byte integer
[3] unsigned 2 byte integer
[4] signed 2 byte integer
[5] unsigned 4 byte integer
[6] signed 4 byte integer
[7] 4 byte floating point number
[8] 8 byte floating point number
Default: 7 |
Offset | floating point number | OFFSET | - | Default: 0.000000 |
Scale | floating point number | SCALE | - | Default: 1.000000 |
Command Line
Usage: saga_cmd grid_tools 11 [-INPUT ] [-OUTPUT ] [-TYPE ] [-OFFSET ] [-SCALE ]
-INPUT: Grid
grid, input
-OUTPUT: Converted Grid
grid, output, optional
-TYPE: Data storage type
choice
Available Choices:
[0] bit
[1] unsigned 1 byte integer
[2] signed 1 byte integer
[3] unsigned 2 byte integer
[4] signed 2 byte integer
[5] unsigned 4 byte integer
[6] signed 4 byte integer
[7] 4 byte floating point number
[8] 8 byte floating point number
Default: 7
-OFFSET: Offset
floating point number
Default: 0.000000
-SCALE: Scale
floating point number
Default: 1.000000