Class SpecifiedGridInfo

java.lang.Object
hec.heclib.grid.GridInfo
hec.heclib.grid.SpecifiedGridInfo
All Implemented Interfaces:
Serializable

public class SpecifiedGridInfo extends GridInfo
The SpecifiedGridInfo class inherits from GridInfo, extending the grid metadata to support any coordinate system, and adding new metadata fields that HEC has determined would be useful since the original GridInfo was defined in 1994. The new data fields are: _srsName (String) The name of the spatial reference system (SRS) for the grid. _srsDefinition (String) A complete spatial reference identifier in a text of arbitrary length. For present use, we are populating this field with a Spatial Reference Identifier in well-known text (WKT) format. _xCoordOfGridCellZero (float) The x coordinate value, in the SRS, of the lower left corner (not the center) of cell (0, 0). _yCoordOfGridCellZero (float) The y coordinate value, in the SRS, of the lower left corner (not the center) of cell (0, 0). _nullValue (float) the value used in the grid's data array to represent a "no data" cell. _timeZoneID (String) a name for the time zone that applies to the data in the grid. _timeZoneRawOffset (int) Offset in milliseconds from UTC. _isTimeStamped (boolean) false for data that is time-invariant (e.g. grids of stable parameters, like ground elevation). _isTSElement (boolean) false for data that is time-invariant (e.g. grids of stable parameters, like ground elevation). _isInterval (boolean) false for instantaneous values, true for period data. In addition, the GridInfo version number is explicitly stored in the header of the DSS record, and the compression method defaults to ZLIB's deflate method
See Also: