Package org.hortonmachine.modules
Class RasterSummary
java.lang.Object
org.hortonmachine.gears.libs.modules.HMModel
org.hortonmachine.modules.RasterSummary
public class RasterSummary
extends org.hortonmachine.gears.libs.modules.HMModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleandouble[][]intFields inherited from class org.hortonmachine.gears.libs.modules.HMModel
doProcess, doReset, gf, pm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]getCellsNovaluesAndZeroesCount(org.geotools.coverage.grid.GridCoverage2D coverage) static double[]getMinMax(org.geotools.coverage.grid.GridCoverage2D raster) static double[]getMinMaxAvgSum(org.geotools.coverage.grid.GridCoverage2D raster) voidprocess()Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
Field Details
-
inRaster
-
pBins
public int pBins -
doHistogram
public boolean doHistogram -
outMin
-
outMax
-
outMean
-
outSdev
-
outRange
-
outSum
-
outCb
public double[][] outCb
-
-
Constructor Details
-
RasterSummary
public RasterSummary()
-
-
Method Details
-
process
- Throws:
Exception
-
getMinMax
- Throws:
Exception
-
getMinMaxAvgSum
public static double[] getMinMaxAvgSum(org.geotools.coverage.grid.GridCoverage2D raster) throws Exception - Throws:
Exception
-
getCellsNovaluesAndZeroesCount
public static int[] getCellsNovaluesAndZeroesCount(org.geotools.coverage.grid.GridCoverage2D coverage) throws Exception - Throws:
Exception
-