Class OmsZonalStatsIM
- java.lang.Object
-
- org.hortonmachine.gears.libs.modules.HMModel
-
- org.hortonmachine.gears.libs.modules.HMModelIM
-
- org.hortonmachine.gears.modules.r.summary.OmsZonalStatsIM
-
public class OmsZonalStatsIM extends HMModelIM
-
-
Field Summary
Fields Modifier and Type Field Description StringinRasterorg.geotools.data.simple.SimpleFeatureCollectioninVectororg.geotools.data.simple.SimpleFeatureCollectionoutVectordoublepBinSizedoublepPercentageThresDoublepTotalMean-
Fields inherited from class org.hortonmachine.gears.libs.modules.HMModelIM
boundsGeometries, cellBuffer, crs, inRasterIterators, inRasterNovalues, inRasters, llCorner, locationField, outGridCoverages, outRasterIterators, readGridGeometry, urCorner, xRes, yRes
-
-
Constructor Summary
Constructors Constructor Description OmsZonalStatsIM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess()protected voidprocessCell(int readCol, int readRow, int writeCol, int writeRow, int readCols, int readRows, int writeCols, int writeRows)Process one cell.-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModelIM
addDestination, addDestination, addSource, dispose, getGridCoverage, getGridCoverage, makeMosaic, makeStyle, processByTileCells
-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
-
-
-
Field Detail
-
inRaster
public String inRaster
-
inVector
public org.geotools.data.simple.SimpleFeatureCollection inVector
-
pBinSize
public double pBinSize
-
pPercentageThres
public double pPercentageThres
-
pTotalMean
public Double pTotalMean
-
outVector
public org.geotools.data.simple.SimpleFeatureCollection outVector
-
-
Method Detail
-
processCell
protected void processCell(int readCol, int readRow, int writeCol, int writeRow, int readCols, int readRows, int writeCols, int writeRows)Description copied from class:HMModelIMProcess one cell.This is used when
HMModelIM.processByTileCells()is called.- Specified by:
processCellin classHMModelIM- Parameters:
readCol- the column of the cell to read.readRow- the row of the cell to read.writeCol- the column of the cell to write.writeRow- the row of the cell to write.readCols- the total columns of the current handled read tile.readRows- the total rows of the current handled read tile.writeCols- the total columns of the current handled written tile.writeRows- the total rows of the current handled written tile.
-
-