@Deprecated public class TLcdGRIB2CategoryTableDecoder extends Object implements ILcdInputStreamFactoryCapable
TLcdGRIB2CategoryTableDecoder
decodes category table files as formatted below.
It contains a header section and the categories section. The header section defines for which center, subcenter,
table version, and discipline these categories apply to. In the categories section each line defines a mapping of a
category ID and its description.
Organization: USA NCEP Usage: GRIB Standard Center: 0 SubCenter: 0 TableVersion: 1 Discipline: 0 Categories 0,Temperature 1,Moisture 2,Momentum 3,Mass 4,Short-wave radiation 5,Long-wave radiation
Constructor and Description |
---|
TLcdGRIB2CategoryTableDecoder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TLcdGRIB2CategoryTable |
decode(String aSource)
Deprecated.
Decodes a GRIB category table file.
|
ILcdInputStreamFactory |
getInputStreamFactory()
Deprecated.
Returns the input stream factory that is used.
|
void |
setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
Deprecated.
Sets the input stream factory to be used.
|
public ILcdInputStreamFactory getInputStreamFactory()
ILcdInputStreamFactoryCapable
getInputStreamFactory
in interface ILcdInputStreamFactoryCapable
public void setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
ILcdInputStreamFactoryCapable
setInputStreamFactory
in interface ILcdInputStreamFactoryCapable
aInputStreamFactory
- the input stream factory to be used.public TLcdGRIB2CategoryTable decode(String aSource) throws IOException
aSource
- the input fileIOException
- if the parsing failed.