Serialized Form


Package uk.ac.leeds.ccg.andyt.grids.core

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract extends OutOfMemoryErrorHandler implements Serializable

serialVersionUID: 1L

Serialized Fields

gridStatistics

GridStatisticsAbstract gridStatistics
A reference to the grid Statistics Object.


nChunkRows

int nChunkRows
For storing the number of chunk rows.


nChunkCols

int nChunkCols
For storing the number of chunk columns.


chunkNrows

int chunkNrows
For storing the (usual) number of rows of cells in a chunk. The number of rows in the final chunk row may be less.


chunkNcols

int chunkNcols
For storing the (usual) number of columns of cells in a chunk. The number of columns in the final chunk column may be less.


nrows

long nrows
For storing the number of rows in the grid.


ncols

long ncols
For storing the number of columns in the grid.


name

java.lang.String name
For storing the name of the grid.


dimensions

java.math.BigDecimal[] dimensions
For storing cellsize, minx, miny, maxx, maxy. Although maxx and maxy could be easily calculated if required, for convenience they are calculated and stored by default during construction.


dimensionsScale

int dimensionsScale
For storing the minimum number of decimal places used to store dimensions.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract.CellID extends java.lang.Object implements Serializable

Serialized Fields

cellRowIndex

long cellRowIndex
For storing the row in which the cell is positioned


cellColIndex

long cellColIndex
For storing the column in which the cell is positioned


hashCode

int hashCode
For storing a hashCode for the cell. NB. When the number of cells in a grid is more than the maximum int value care should be taken that hashCodes are distributed in a relatively even way. Operations will slow down greatly if a large number of cells have a CellID with the same hashCode.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellAbstract.ChunkID extends java.lang.Object implements Serializable

Serialized Fields

chunkRowIndex

int chunkRowIndex
For storing the chunk row index


chunkColIndex

int chunkColIndex
For storing the chunk column index


hashCode

int hashCode
For storing a hashCode for this ChunkID. NB. When the number of cells in a chunk is more than the maximum int value care should be taken to distributed hashcodes in a relatively even way. Operations may slow down greatly if a large number of chunks have ChunkIDs with the same hashCode.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellChunkAbstract extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellChunkAbstract.ChunkCellID extends java.lang.Object implements Serializable

Serialized Fields

chunkCellRowIndex

int chunkCellRowIndex
For storing the row in which the cell is positioned


chunkCellColIndex

int chunkCellColIndex
For storing the column in which the cell is positioned


hashCode

int hashCode
For storing a hashCode for the cell. NB. When the number of cells in a grid is more than the maximum int value care should be taken to distributed hashcodes in a relatively even way. Operations will slow down greatly if a large number of cells have a ChunkCellID with the same hashCode.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDouble extends Grid2DSquareCellAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

noDataValue

double noDataValue
For storing the NODATA value of the grid, which by default is Double.NEGATIVE_INFINITY. N.B. Double.NaN should not be used. N.B. Care should be taken so that noDataValue is not a data value.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunk64CellMap extends Grid2DSquareCellDoubleChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

data

gnu.trove.TDoubleLongHashMap data
For storing values mapped to a binary encoded long. The long is a key which indicates if the value is that at a given location. Both keys and values are unique.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkAbstract extends Grid2DSquareCellChunkAbstract implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkArray extends Grid2DSquareCellDoubleChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

data

double[][] data
For storing values arranged in rows and columns.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkJAI extends Grid2DSquareCellDoubleChunkAbstract implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream ois)
Deserialization method.


writeObject

private void writeObject(java.io.ObjectOutputStream oos)
Serialization method.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkMap extends Grid2DSquareCellDoubleChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

defaultValue

double defaultValue
A value initialised with grid that can be used to optimise storage. Storage is optimised with the defaultValue set to the most common value. By default the defaultValue is set to this.grid2DSquareCell.getNoDataValue().


data

gnu.trove.TDoubleObjectHashMap data
For storing values mapped to a ChunkCellID HashSet or an individual ChunkCellID.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkRAF extends Grid2DSquareCellDoubleChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

file

java.io.File file
The File used to store the data.


randomAccessFile

java.io.RandomAccessFile randomAccessFile
The RandomAccessFile for accessing file.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellInt extends Grid2DSquareCellAbstract implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunk64CellMap extends Grid2DSquareCellIntChunkAbstract implements Serializable

Serialized Fields

data

gnu.trove.TIntLongHashMap data
For storing values mapped to a binary encoded long. The long is a key which indicates if the value is that at a given location. Both keys and values are unique.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkAbstract extends Grid2DSquareCellChunkAbstract implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkArray extends Grid2DSquareCellIntChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

data

int[][] data
For storing values arranged in rows and columns.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkJAI extends Grid2DSquareCellIntChunkAbstract implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream ois)

writeObject

private void writeObject(java.io.ObjectOutputStream oos)

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkMap extends Grid2DSquareCellIntChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

defaultValue

int defaultValue
A value initialised with grid that can be used to optimise storage. Storage is optimised with the defaultValue set to the most common value. By default the defaultValue is set to this.grid2DSquareCell.getNoDataValue().


data

gnu.trove.TIntObjectHashMap data
For storing values mapped to a ChunkCellID HashSet or an individual ChunkCellID.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkRAF extends Grid2DSquareCellIntChunkAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

file

java.io.File file
The File used to store the data.


randomAccessFile

java.io.RandomAccessFile randomAccessFile
The RandomAccessFile for accessing file.

Class uk.ac.leeds.ccg.andyt.grids.core.GridStatistics0 extends GridStatisticsAbstract implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.GridStatistics1 extends GridStatisticsAbstract implements Serializable

serialVersionUID: 1L

Serialized Fields

isUpToDate

boolean isUpToDate
Is true iff fields are upToDate else is false.

Class uk.ac.leeds.ccg.andyt.grids.core.GridStatisticsAbstract extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

grid2DSquareCell

Grid2DSquareCellAbstract grid2DSquareCell
A reference to the Grid2DSquareCellAbstract this is for.


nonNoDataValueCountBigInteger

java.math.BigInteger nonNoDataValueCountBigInteger
For storing the number of cells with non noDataValues.


sumBigDecimal

java.math.BigDecimal sumBigDecimal
For storing the sum of all non noDataValues as a BigDecimal.


minBigDecimal

java.math.BigDecimal minBigDecimal
For storing the minimum of all non noDataValues as a BigDecimal.


minCountBigInteger

java.math.BigInteger minCountBigInteger
For storing the number of min values as a BigInteger.


maxBigDecimal

java.math.BigDecimal maxBigDecimal
For storing the maximum of all non noDataValues as a BigDecimal.


maxCountBigInteger

java.math.BigInteger maxCountBigInteger
For storing the number of max values as a BigInteger.

Class uk.ac.leeds.ccg.andyt.grids.core.OutOfMemoryErrorHandler extends java.lang.Object implements Serializable

serialVersionUID: 1L


Package uk.ac.leeds.ccg.andyt.grids.examples

Class uk.ac.leeds.ccg.andyt.grids.examples.Example extends Grid2DSquareCellProcessorDEM implements Serializable

Serialized Fields

time

long time

Class uk.ac.leeds.ccg.andyt.grids.examples.GenerateTestData extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

testDataDirectory

java.io.File testDataDirectory

time0

long time0

Class uk.ac.leeds.ccg.andyt.grids.examples.UtilitiesRuns extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

time

long time

Package uk.ac.leeds.ccg.andyt.grids.exchange

Class uk.ac.leeds.ccg.andyt.grids.exchange.ESRIAsciiGridImporter extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

file

java.io.File file
For storing ESRIAsciigrid File


bufferedReader

java.io.BufferedReader bufferedReader
For storing ESRIAsciigrid BufferedReader


streamTokenizer

java.io.StreamTokenizer streamTokenizer
For storing ESRIAsciigrid StreamTokenizer


Package uk.ac.leeds.ccg.andyt.grids.process

Class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor extends OutOfMemoryErrorHandler implements Serializable

Serialized Fields

startTime

long startTime
For storing the start time of the processing.


log

java.io.PrintWriter log
The log for recording progress and information about the processing.


logIndentation

int logIndentation
The log indentation (how many spaces before a log message line is output).


workspace

java.io.File workspace
The workspace directory for the processing.


grid2DSquareCells

java.util.HashSet<E> grid2DSquareCells
A collection of the Grid2dSquareCellAbstracts being processed


grid2DSquareCellIntChunkFactory

Grid2DSquareCellIntChunkAbstractFactory grid2DSquareCellIntChunkFactory
Default Grid2DSquareCellIntChunkAbstractFactory


grid2DSquareCellIntChunk64CellMapFactory

Grid2DSquareCellIntChunk64CellMapFactory grid2DSquareCellIntChunk64CellMapFactory
Grid2DSquareCellIntChunk64CellMapFactory


grid2DSquareCellIntChunkArrayFactory

Grid2DSquareCellIntChunkArrayFactory grid2DSquareCellIntChunkArrayFactory
Grid2DSquareCellIntChunkArrayFactory


grid2DSquareCellIntChunkJAIFactory

Grid2DSquareCellIntChunkJAIFactory grid2DSquareCellIntChunkJAIFactory
Grid2DSquareCellIntChunkJAIFactory


grid2DSquareCellIntChunkMapFactory

Grid2DSquareCellIntChunkMapFactory grid2DSquareCellIntChunkMapFactory
Grid2DSquareCellIntChunkMapFactory


grid2DSquareCellIntChunkRAFFactory

Grid2DSquareCellIntChunkRAFFactory grid2DSquareCellIntChunkRAFFactory
Grid2DSquareCellIntChunkRAFFactory


grid2DSquareCellIntFactory

Grid2DSquareCellIntFactory grid2DSquareCellIntFactory
Grid2DSquareCellIntFactory


grid2DSquareCellDoubleChunkFactory

Grid2DSquareCellDoubleChunkAbstractFactory grid2DSquareCellDoubleChunkFactory
Default Grid2DSquareCellDoubleChunkAbstractFactory


grid2DSquareCellDoubleChunk64CellMapFactory

Grid2DSquareCellDoubleChunk64CellMapFactory grid2DSquareCellDoubleChunk64CellMapFactory
Grid2DSquareCellDoubleChunk64CellMapFactory


grid2DSquareCellDoubleChunkArrayFactory

Grid2DSquareCellDoubleChunkArrayFactory grid2DSquareCellDoubleChunkArrayFactory
Grid2DSquareCellDoubleChunkArrayFactory


grid2DSquareCellDoubleChunkJAIFactory

Grid2DSquareCellDoubleChunkJAIFactory grid2DSquareCellDoubleChunkJAIFactory
Grid2DSquareCellDoubleChunkJAIFactory


grid2DSquareCellDoubleChunkMapFactory

Grid2DSquareCellDoubleChunkMapFactory grid2DSquareCellDoubleChunkMapFactory
Grid2DSquareCellDoubleChunkMapFactory


grid2DSquareCellDoubleChunkRAFFactory

Grid2DSquareCellDoubleChunkRAFFactory grid2DSquareCellDoubleChunkRAFFactory
Grid2DSquareCellDoubleChunkRAFFactory


grid2DSquareCellDoubleFactory

Grid2DSquareCellDoubleFactory grid2DSquareCellDoubleFactory
Grid2DSquareCellDoubleFactory


gridStatistics0

GridStatistics0 gridStatistics0
GridStatistics0


gridStatistics1

GridStatistics1 gridStatistics1
GridStatistics1


gridStatistics

GridStatisticsAbstract gridStatistics
GridStatistics1

Class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessorDEM extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

cellIDs

java.util.HashSet<E> cellIDs
A HashSet for storing Grid2DSquareCellAbstract.CellIDs

Class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessorGWS extends Grid2DSquareCellProcessor implements Serializable