CompareGrids

Use this option to check to see if two grids are equal. It checks node values, extent, mask, origin, and cell size. The tolerance is set to -4 by default, but can be customised for each test.

Important:  Be sure to include capital letters when typing the name of this program. It is case-sensitive.


Usage:

CompareGrids <grid one> <grid two> -[m|v|o|e|c] or -[nm|nv|no|ne|nc]

<> indicates a mandatory switch.
[ ] indicates an optional switch

Where:

Option Description
-m Enable mask testing
-nm No mask
-v [##.##] Enable value testing. You can enter a threshold value as an option. Default threshold is -4.
-nv No value testing
-o [##.##] Enable origins. You can enter a threshold value as an option. Default threshold is -4.
-no No origins
-e [##.##] Enable extent testing. You can enter a threshold value as an option. Default threshold is -4.
-ne No extents
-c [##.##] Enable cell size testing. You can enter a threshold value as an option. Default threshold is -4.
-nc No cell size
Verbose Verbose level: (0) Quiet, (1) PassFail, (2) Tests, (3) Details

Example:

CompareGrid abca.srg defa.srg -m off -v off -o 0.01 verbose 1

CompareGrid abca.srg defa.srg