|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jgrib.GribPDSParamTable
public 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 java.lang.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 |
static java.lang.String |
PROPERTY_GRIBTABURL
System property variable to search, or set, when using user supplied gribtab directories, and or a stand alone gribtab file !! |
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 static java.util.ArrayList |
tables
List of parameter tables |
protected java.net.URL |
url
URL store corresponding url of filename containint this table. |
Method Summary | |
---|---|
int |
getCenter_id()
|
java.lang.String |
getFilename()
|
GribPDSParameter |
getParameter(int id)
Get the parameter with id id. |
java.lang.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. |
java.lang.String |
getParameterTag(int id)
Get the tag/name of the parameter with id id. |
java.lang.String |
getParameterUnit(int id)
Get a description for the unit with id id. |
int |
getSubcenter_id()
|
int |
getTable_number()
|
java.net.URL |
getUrl()
|
protected static void |
readTableEntry(java.net.URL aFileUrl,
java.util.ArrayList aTables)
|
java.lang.String |
toString()
Overrides Object.toString() |
static void |
turnOffJGRIBLogging()
This method is called as the very first nethod in the JGRIB library. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_GRIBTABURL
protected int center_id
protected int subcenter_id
protected int table_number
protected java.lang.String filename
protected java.net.URL url
protected GribPDSParameter[] parameters
protected static java.util.ArrayList tables
Method Detail |
---|
public static void turnOffJGRIBLogging()
protected static void readTableEntry(java.net.URL aFileUrl, java.util.ArrayList aTables) throws java.io.IOException, NotSupportedException
aFileUrl
- aTables
-
java.io.IOException
NotSupportedException
public static GribPDSParamTable getParameterTable(int center, int subcenter, int number) throws NotSupportedException
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
NotSupportedException
public GribPDSParameter getParameter(int id)
id
-
public java.lang.String getParameterTag(int id)
id
-
public java.lang.String getParameterDescription(int id)
id
-
public java.lang.String getParameterUnit(int id)
id
-
public int getCenter_id()
public int getSubcenter_id()
public int getTable_number()
public java.lang.String getFilename()
public java.net.URL getUrl()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |