|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGribPDSParamTable
public final class GribPDSParamTable
A class containing static methods which deliver descriptions and names of parameters, levels and units for byte codes from GRIB records.
Field Summary | |
---|---|
protected int |
center_id
Identification of center e.g. 88 for Oslo. |
protected String |
filename
Stores the name of the file containing this table - not opened unless required for lookup. |
protected GribPDSParameter[] |
parameters
Parameters - stores array of GribPDSParameter classes |
protected int |
subcenter_id
Identification of center defined sub-center - not fully implemented yet. |
protected int |
table_number
Identification of parameter table version number |
protected URL |
url
URL store corresponding url of filename containint this table. |
Method Summary | |
---|---|
int |
getCenter_id()
|
GribPDSParameter |
getParameter(int id)
Get the parameter with id id. |
String |
getParameterDescription(int id)
Get a description for the parameter with id id. |
static GribPDSParamTable |
getParameterTable(int center,
int subcenter,
int number)
Looks for the parameter table which matches the center, subcenter and table version from the tables array. |
String |
getParameterTag(int id)
Get the tag/name of the parameter with id id. |
String |
getParameterUnit(int id)
Get a description for the unit with id id. |
int |
getSubcenter_id()
|
int |
getVersionNumber()
getVersionNumber |
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int center_id
protected int subcenter_id
protected int table_number
protected String filename
protected URL url
protected GribPDSParameter[] parameters
Method Detail |
---|
public static GribPDSParamTable getParameterTable(int center, int subcenter, int number)
center
- -
integer from PDS octet 5, representing Center.subcenter
- -
integer from PDS octet 26, representing Subcenternumber
- -
integer from PDS octet 4, representing Parameter Table Version
public GribPDSParameter getParameter(int id)
id
- DOCUMENT ME!
public String getParameterTag(int id)
id
- DOCUMENT ME!
public String getParameterDescription(int id)
id
- DOCUMENT ME!
public String getParameterUnit(int id)
id
- DOCUMENT ME!
public String toString()
toString
in class Object
public int getVersionNumber()
public int getCenter_id()
public int getSubcenter_id()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |