Package hec.heclib.grid
Class AlbersInfo
java.lang.Object
hec.heclib.grid.GridInfo
hec.heclib.grid.AlbersInfo
- 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
float
float
float
float
float
int
float
float
float
int
void
void
set
(AlbersInfo ai) void
setCentralMeridian
(float meridian) void
setCoordOfGridCellZero
(float x, float y) void
setFalseEastingAndNorthing
(float falseEasting, float falseNorthing) void
setLatitudeOfProjectionOrigin
(float latitude) void
setProjectionDatum
(int projectionDatum) int
setProjectionInfo
(int projectionDatum, String projectionUnits, float firstStandardParallel, float secondStandardParallel, float centralMeridian, float latitudeOfProjectionOrigin, float falseEasting, float falseNorthing, float xCoordOfGridCellZero, float yCoordOfGridCellZero) void
setProjectionUnits
(String units) void
setStandardParallels
(float first, float second) void
show
(BufferedWriter out) toString()
Methods inherited from class hec.heclib.grid.GridInfo
copy, flatSize, 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, setCellInfo, setCompressionInfo, setCompressionMethod, setDataInfo, setDataType, setDataUnits, setGridTimes, setGridTimes, setGridTimes, setGridType, setMaxDataValue, setParameterInfo, setRangeInfo, setVerboseMode, show, show, showRanges
-
Constructor Details
-
AlbersInfo
public AlbersInfo() -
AlbersInfo
Copy Constructor. Makes a copy of given GridInfo object.
-
-
Method Details
-
getProjectionDatum
public int getProjectionDatum() -
setProjectionDatum
public void setProjectionDatum(int projectionDatum) -
getProjectionUnits
-
setProjectionUnits
-
getFirstStandardParallel
public float getFirstStandardParallel() -
getSecondStandardParallel
public float getSecondStandardParallel() -
setStandardParallels
public void setStandardParallels(float first, float second) -
getCentralMeridian
public float getCentralMeridian() -
setCentralMeridian
public void setCentralMeridian(float meridian) -
getLatitudeOfProjectionOrigin
public float getLatitudeOfProjectionOrigin() -
setLatitudeOfProjectionOrigin
public void setLatitudeOfProjectionOrigin(float latitude) -
getFalseEasting
public float getFalseEasting() -
getFalseNorthing
public float getFalseNorthing() -
setFalseEastingAndNorthing
public void setFalseEastingAndNorthing(float falseEasting, float falseNorthing) -
getXCoordOfGridCellZero
public float getXCoordOfGridCellZero() -
getYCoordOfGridCellZero
public float getYCoordOfGridCellZero() -
setCoordOfGridCellZero
public void setCoordOfGridCellZero(float x, float y) -
toString
-
show
-
getSpatialReferenceSystem
- Overrides:
getSpatialReferenceSystem
in classGridInfo
-
setProjectionInfo
public int setProjectionInfo(int projectionDatum, String projectionUnits, float firstStandardParallel, float secondStandardParallel, float centralMeridian, float latitudeOfProjectionOrigin, float falseEasting, float falseNorthing, float xCoordOfGridCellZero, float yCoordOfGridCellZero) -
makeGridInfoFlat
-
loadFlatData
-
convertToGridInfo
- Overrides:
convertToGridInfo
in classGridInfo
-
convertToGridInfo
-
convertToAlbersInfo
-
equals
-
set
-