net.sourceforge.jgrib
Class GribTab

java.lang.Object
  extended by net.sourceforge.jgrib.GribTab
All Implemented Interfaces:
java.lang.Comparable

Deprecated. Implemetation now is supported by GribPDSParameter

public class GribTab
extends java.lang.Object
implements java.lang.Comparable

A class containing methods which deliver descriptions and names of parameters, levels and units for byte codes from GRIB records.


Constructor Summary
GribTab(int centId, int tabId, java.lang.String[][] parTable)
          Deprecated. Make one grib table
GribTab(java.lang.String fileName)
          Deprecated. Load grid table from file
GribTab(java.net.URL url)
          Deprecated.  
 
Method Summary
 int compareTo(java.lang.Object obj)
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 int getCenterId()
          Deprecated. Get center identifiewr
static java.lang.String getLevel(int pds9, int pds10, int pds11)
          Deprecated. Get a description for the level code.
 java.lang.String getParameterDescription(int id)
          Deprecated. Get a description for the parameter with id id.
 java.lang.String getParameterTag(int id)
          Deprecated. Get the tag/name of the parameter with id id.
 java.lang.String getParameterUnit(int id)
          Deprecated. Get a description for the unit with id id.
 int getTableId()
          Deprecated. Get table identifier
 int hashCode()
          Deprecated.  
 void printTable()
          Deprecated. Prints parameter table
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GribTab

public GribTab(int centId,
               int tabId,
               java.lang.String[][] parTable)
Deprecated. 
Make one grib table

Parameters:
centId - center id
tabId - table id
parTable - table

GribTab

public GribTab(java.lang.String fileName)
        throws java.io.IOException
Deprecated. 
Load grid table from file

Parameters:
fileName - file name
Throws:
java.io.IOException

GribTab

public GribTab(java.net.URL url)
        throws java.io.IOException
Deprecated. 
Parameters:
url -
Throws:
java.io.IOException
Method Detail

compareTo

public int compareTo(java.lang.Object obj)
Deprecated. 
Specified by:
compareTo in interface java.lang.Comparable
Parameters:
obj - - Object to compare to "this"
Returns:
integer value
See Also:
Comparable.compareTo(java.lang.Object)

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

getLevel

public static java.lang.String getLevel(int pds9,
                                        int pds10,
                                        int pds11)
Deprecated. 
Get a description for the level code.

Parameters:
pds9 - part 1 of leve code
pds10 - part 2 of level code
pds11 - part 3 of level code
Returns:
description of the level

getParameterTag

public java.lang.String getParameterTag(int id)
Deprecated. 
Get the tag/name of the parameter with id id.

Parameters:
id -
Returns:
tag/name of the parameter

getParameterDescription

public java.lang.String getParameterDescription(int id)
Deprecated. 
Get a description for the parameter with id id.

Parameters:
id - index
Returns:
description for the parameter

getParameterUnit

public java.lang.String getParameterUnit(int id)
Deprecated. 
Get a description for the unit with id id.

Parameters:
id - index
Returns:
description of the unit for the parameter

getCenterId

public int getCenterId()
Deprecated. 
Get center identifiewr

Returns:
id

getTableId

public int getTableId()
Deprecated. 
Get table identifier

Returns:
id

printTable

public void printTable()
Deprecated. 
Prints parameter table