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 TypeMethodDescriptionint
int
int
boolean
int
flatSize()
returns flattened size in bytesvoid
int
setCellInfo
(int lowerLeftCellX, int lowerLeftCellY, int numberOfCellsX, int numberOfCellsY, float cellSize) int
setDataSource
(String dataSource) void
show
(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:
convertToGridInfo
in classGridInfo
-
convertToGridInfo
-
convertToHrapInfo
-
setCellInfo
public int setCellInfo(int lowerLeftCellX, int lowerLeftCellY, int numberOfCellsX, int numberOfCellsY, float cellSize) - Overrides:
setCellInfo
in classGridInfo
-
show
-
getSpatialReferenceSystem
- Overrides:
getSpatialReferenceSystem
in classGridInfo
-
toString
-
setDataSource
-
flatSize
public int flatSize()Description copied from class:GridInfo
returns flattened size in bytes -
makeGridInfoFlat
-
makeGridInfoFlat
-
set
-
equals
-