|
||||||||||
| 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 |
addLocalParameters(String LocalParameters)
Read in local parameters |
static void |
addParametersUser(InputStream is)
Let the user add parameters |
static void |
addParametersUser(String UserGribTable)
Reads in the list of parameters and stores them. |
static String |
getCategoryName(int d,
int c)
Get a description for the Category with ids id. |
static 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 GridParameter |
getParameter(int d,
int c,
int p,
int center)
Get a Local Parameter obj for the Parameter with ids id. |
static String |
getParameterDescription(int d,
int c,
int p)
Get a description for the Parameter with ids id. |
static String |
getParameterName(int d,
int c,
int p)
Get a Name for the Parameter with ids id. |
static String |
getParameterUnit(int d,
int c,
int p)
Get a unit for the Parameter with ids id. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterTable()
| Method Detail |
|---|
public static String getDisciplineName(int aDis)
aDis - Discipline as a int
public static String getCategoryName(int d,
int c)
d - Disciplinec - Category
public static String getParameterName(int d,
int c,
int p)
d - Disciplinec - Categoryp - Parameter
public static String getParameterUnit(int d,
int c,
int p)
d - Disciplinec - Categoryp - Parameter
public static 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 GridParameter getParameter(int d,
int c,
int p,
int center)
d - Disciplinec - Categoryp - Parametercenter -
public static void addParametersUser(String UserGribTable)
throws IOException
UserGribTable - Name
IOException - on reading list user parameters
public static void addParametersUser(InputStream is)
throws IOException
is - InputStream
IOException - on read
public static void addLocalParameters(String LocalParameters)
throws IOException
LocalParameters -
IOException - on readpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||