
MergeGrids |
org.ecoinformatics.seek.gis.java_gis.MergeGrids |
Name: MergeGrids.java
Purpose: The purpose of this actor is to 'merge' two ASC grids. The precise
meaning of 'merge' will depend on the 'merge' operator. One example
is the combination of 2 grids into a new grid whose extent is a rectangle
that includes both input bounding box retangles, averageing values from
both inputs. Simple math operations (add, subtract) are other examples.
Order of the input grids may be significant( e.g for subtraction). Extent
of the output will always include the combined extent of the inputs, but
the cell size will match that of the first grid.
Author(s): : Dan Higgins NCEAS UC Santa Barbara
Version:
grid1FileName
The first grid file (*.asc format) to be merged
grid2FileName
The second grid file (*.asc format) to be merged
mergedGridFileName
The file name to be given to the result
mergedGridFileResult
The resulting merged grid filename.
mergeOperation
This parameter describes the type of merge to be executed. Choices include"
AVERAGE, ADD, SUBTRACT, MASK, NOT_MASK
MASK - grid2 missing values will mask correponding points in grid1
NOT_MASK - grid2 NOT-missing values will mask correponding points in grid1
useDisk
Boolean setting to determine whether or not to use disk for storing grid data rather
than putting all data in RAM arrays