|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib2.ParameterTable
public final class ParameterTable
Performs operations related to loading parameter tables stored in files. Through a lookup table (see readParameterTableLookup) all of the supported Parameter Tables are known. A parameter consists of a discipline( ie Meteorological_products), a Category( ie Temperature ) and a number that refers to a name( ie Temperature)
see Parameters.txt
Constructor Summary | |
---|---|
ParameterTable()
|
Method Summary | |
---|---|
static void |
addParametersUser(java.io.InputStream is)
_more_ |
static void |
addParametersUser(java.lang.String UserGribTable)
Reads in the list of parameters and stores them. |
static java.lang.String |
getCategoryName(int d,
int c)
Get a description for the Category with ids id. |
static java.lang.String |
getDisciplineName(int aDis)
Get a name for the Discipline with id. |
static GridParameter |
getParameter(int d,
int c,
int p)
Get a Parameter obj for the Parameter with ids id. |
static java.lang.String |
getParameterDescription(int d,
int c,
int p)
Get a description for the Parameter with ids id. |
static java.lang.String |
getParameterName(int d,
int c,
int p)
Get a Name for the Parameter with ids id. |
static java.lang.String |
getParameterUnit(int d,
int c,
int p)
Get a unit for the Parameter with ids id. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterTable()
Method Detail |
---|
public static java.lang.String getDisciplineName(int aDis)
aDis
- Discipline as a int
public static java.lang.String getCategoryName(int d, int c)
d
- Disciplinec
- Category
public static java.lang.String getParameterName(int d, int c, int p)
d
- Disciplinec
- Categoryp
- Parameter
public static java.lang.String getParameterUnit(int d, int c, int p)
d
- Disciplinec
- Categoryp
- Parameter
public static java.lang.String getParameterDescription(int d, int c, int p)
d
- Disciplinec
- Categoryp
- Parameter
public static GridParameter getParameter(int d, int c, int p)
d
- Disciplinec
- Categoryp
- Parameter
public static void addParametersUser(java.lang.String UserGribTable) throws java.io.IOException
UserGribTable
- Name
java.io.IOException
- on reading list user parameterspublic static void addParametersUser(java.io.InputStream is) throws java.io.IOException
is
- InputStream
java.io.IOException
- on readpublic static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |