Package ucar.nc2.grib.grib2.table
Class EccodesCodeTable
- java.lang.Object
-
- ucar.nc2.grib.grib2.table.EccodesCodeTable
-
- All Implemented Interfaces:
Grib2CodeTableInterface
public class EccodesCodeTable extends Object implements Grib2CodeTableInterface
ECMWF code tables read from resources/grib2/ecmwf/tables/. EcmwfCodeTableCompare is used to compare with WMO.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.grib.grib2.table.Grib2CodeTableInterface
Grib2CodeTableInterface.Entry
-
-
Field Summary
Fields Modifier and Type Field Description static int
LATEST_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EccodesCodeTable
factory(int version, int discipline, int category)
com.google.common.collect.ImmutableList<Grib2CodeTableInterface.Entry>
getEntries()
Grib2CodeTableInterface.Entry
getEntry(int code)
Find the Entry in this table with the given code.String
getName()
String
getShortName()
-
-
-
Field Detail
-
LATEST_VERSION
public static final int LATEST_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
factory
public static EccodesCodeTable factory(int version, int discipline, int category) throws IOException
- Throws:
IOException
-
getName
public String getName()
- Specified by:
getName
in interfaceGrib2CodeTableInterface
-
getShortName
public String getShortName()
- Specified by:
getShortName
in interfaceGrib2CodeTableInterface
-
getEntries
public com.google.common.collect.ImmutableList<Grib2CodeTableInterface.Entry> getEntries()
- Specified by:
getEntries
in interfaceGrib2CodeTableInterface
-
getEntry
@Nullable public Grib2CodeTableInterface.Entry getEntry(int code)
Description copied from interface:Grib2CodeTableInterface
Find the Entry in this table with the given code.- Specified by:
getEntry
in interfaceGrib2CodeTableInterface
- Parameters:
code
- unsigned short.
-
-