Package hec.heclib.grid
Class HrapInfo
java.lang.Object
hec.heclib.grid.GridInfo
hec.heclib.grid.HrapInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class hec.heclib.grid.GridInfo
DSS7_GRID_STRUCT_VERSION, GRID_NODATA_VALUE, GRID_STRUCT_VERSION_UNDEFINED, NAD_27, NAD_83 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintbooleanintflatSize()returns flattened size in bytesvoidintsetCellInfo(int lowerLeftCellX, int lowerLeftCellY, int numberOfCellsX, int numberOfCellsY, float cellSize) intsetDataSource(String dataSource) voidshow(BufferedWriter out) toString()Methods inherited from class hec.heclib.grid.GridInfo
copy, getCellSize, getCompressionBase, getCompressionMethod, getCompressionScaleFactor, getDataType, getDataTypeName, getDataUnits, getEndTime, getEndTimeFromPath, getGridInfoSize, getGridNodataValue, getGridType, getInfoSize, getLowerLeftCellX, getLowerLeftCellY, getMaxDataValue, getMaxValue, getMeanDataValue, getMeanValue, getMinDataValue, getMinValue, getNad27, getNad83, getNumberOfCellsX, getNumberOfCellsY, getNumEqual, getPrecip2Byte, getRange, getRangeLimitTable, getRangeNum, getSizeOfCompressedElements, getStartTime, getStartTimeFromPath, getTimePeriod, getUndefinedCompressionMethod, getUndefinedProjectionDatum, getVersion, getZlibDeflate, loadFlatData, set, setCompressionInfo, setCompressionMethod, setDataInfo, setDataType, setDataUnits, setGridTimes, setGridTimes, setGridTimes, setGridType, setMaxDataValue, setParameterInfo, setRangeInfo, setVerboseMode, show, show, showRanges
-
Constructor Details
-
HrapInfo
public HrapInfo() -
HrapInfo
Copy Constructor. Makes a copy of given GridInfo object.- Parameters:
hi-
-
-
Method Details
-
convertToGridInfo
- Overrides:
convertToGridInfoin classGridInfo
-
convertToGridInfo
-
convertToHrapInfo
-
setCellInfo
public int setCellInfo(int lowerLeftCellX, int lowerLeftCellY, int numberOfCellsX, int numberOfCellsY, float cellSize) - Overrides:
setCellInfoin classGridInfo
-
show
-
getSpatialReferenceSystem
- Overrides:
getSpatialReferenceSystemin classGridInfo
-
toString
-
setDataSource
-
flatSize
public int flatSize()Description copied from class:GridInforeturns flattened size in bytes -
makeGridInfoFlat
-
makeGridInfoFlat
-
set
-
equals
-