Package com.luciad.format.grib
Class TLcdGRIB2CategoryTableDecoder
java.lang.Object
com.luciad.format.grib.TLcdGRIB2CategoryTableDecoder
- All Implemented Interfaces:
ILcdInputStreamFactoryCapable
@Deprecated
public class TLcdGRIB2CategoryTableDecoder
extends Object
implements ILcdInputStreamFactoryCapable
Deprecated.
The NetCDF decoder should be used to decode GRIB data.
The
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.
Example
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
- Since:
- 10.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Decodes a GRIB category table file.Deprecated.Returns the input stream factory that is used.void
setInputStreamFactory
(ILcdInputStreamFactory aInputStreamFactory) Deprecated.Sets the input stream factory to be used.
-
Constructor Details
-
TLcdGRIB2CategoryTableDecoder
public TLcdGRIB2CategoryTableDecoder()Deprecated.
-
-
Method Details
-
getInputStreamFactory
Deprecated.Description copied from interface:ILcdInputStreamFactoryCapable
Returns the input stream factory that is used.- Specified by:
getInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Returns:
- the input stream factory that is used.
-
setInputStreamFactory
Deprecated.Description copied from interface:ILcdInputStreamFactoryCapable
Sets the input stream factory to be used.- Specified by:
setInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Parameters:
aInputStreamFactory
- the input stream factory to be used.
-
decode
Deprecated.Decodes a GRIB category table file.- Parameters:
aSource
- the input file- Returns:
- a decoded TLcdGRIB2CategoryTable
- Throws:
IOException
- if the parsing failed.
-