|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.leeds.ccg.andyt.grids.core.OutOfMemoryErrorHandler
uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor
uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessorDEM
uk.ac.leeds.ccg.andyt.projects.geomorphometrics.DEMProcessing
public class DEMProcessing
| Field Summary |
|---|
| Fields inherited from class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor |
|---|
grid2DSquareCellDoubleChunk64CellMapFactory, grid2DSquareCellDoubleChunkArrayFactory, grid2DSquareCellDoubleChunkFactory, grid2DSquareCellDoubleChunkJAIFactory, grid2DSquareCellDoubleChunkMapFactory, grid2DSquareCellDoubleChunkRAFFactory, grid2DSquareCellDoubleFactory, grid2DSquareCellIntChunk64CellMapFactory, grid2DSquareCellIntChunkArrayFactory, grid2DSquareCellIntChunkFactory, grid2DSquareCellIntChunkJAIFactory, grid2DSquareCellIntChunkMapFactory, grid2DSquareCellIntChunkRAFFactory, grid2DSquareCellIntFactory, grid2DSquareCells, gridStatistics, gridStatistics0, gridStatistics1, log, logIndentation, startTime, workspace |
| Fields inherited from class uk.ac.leeds.ccg.andyt.grids.core.OutOfMemoryErrorHandler |
|---|
handleOutOfMemoryErrorFalse, handleOutOfMemoryErrorTrue, memoryReserve |
| Constructor Summary | |
|---|---|
DEMProcessing()
Creates a new ProcessorDEMRuns |
|
DEMProcessing(java.io.File workspace)
Creates a new ProcessorDEMRuns using specified workspace. |
|
| Method Summary | |
|---|---|
void |
doMetrics1(uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleFactory grid2DSquareCellDoubleFactory,
uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntFactory grid2DSquareCellIntFactory,
uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File dataDirectory,
boolean handleOutOfMemoryError)
|
void |
doSlopeAndAspect(uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleFactory grid2DSquareCellDoubleFactory,
uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract grid2DSquareCell)
Calculates the slope and aspect of dem and writes results as asciigrid files |
static void |
main(java.lang.String[] args)
|
void |
run()
|
void |
runTest(boolean handleOutOfMemoryError)
|
| Methods inherited from class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessorDEM |
|---|
doFlowAccumulation, getFlowAccumulation, getHollowFilledDEM, getInitialFlowAccumulation, getInitialPeaksHashSetAndSetTheirValue, getMaxFlowDirection, getMetrics1, getMetrics1, getMetrics2, getSlopeAndAspect, getSlopeAndAspect, getSlopeAndAspect, getSlopeAndAspect, getSlopeAndAspect, getSlopeAndAspect, getSlopeAndAspect, getUpSlopeAreaMetrics |
| Methods inherited from class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor |
|---|
addToGrid, addToGrid, addToGrid, addToGrid, addToGrid, addToGrid, addToGrid, addToGrid, addToGrid, addToGrid, aggregate, aggregate, angle, angle, angle, copyAndSetUpNewLog, distance, distance, distance, getGrid2DSquareCell, getGrid2DSquareCell, getGrid2DSquareCells, getRowProcessData, getRowProcessInitialData, getTime0, getWorkspace, linearRescale, linearRescale, log, log, log, logRescale, logRescale, mask, mask, mask, mask, mask, mask, mask, mask, mask, mask, mask, setValueALittleBitLarger, setValueALittleBitLarger, setValueALittleBitSmaller, setValueALittleBitSmaller, setWorkspace, setWorkspace, setWorkspace, swapToFileGrid2DSquareCellChunk, swapToFileGrid2DSquareCellChunkExcept |
| Methods inherited from class uk.ac.leeds.ccg.andyt.grids.core.OutOfMemoryErrorHandler |
|---|
clearMemoryReserve, initMemoryReserve, initMemoryReserve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DEMProcessing()
public DEMProcessing(java.io.File workspace)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the command line argumentspublic void run()
public void runTest(boolean handleOutOfMemoryError)
throws java.lang.Exception
java.lang.Exception
public void doSlopeAndAspect(uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleFactory grid2DSquareCellDoubleFactory,
uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract grid2DSquareCell)
throws java.io.IOException
dem -
java.io.IOException
public void doMetrics1(uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleFactory grid2DSquareCellDoubleFactory,
uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntFactory grid2DSquareCellIntFactory,
uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File dataDirectory,
boolean handleOutOfMemoryError)
file - Input data file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||