ucar.nc2.iosp.gempak
Class GempakParameterTable

java.lang.Object
  extended by ucar.nc2.iosp.gempak.GempakParameterTable

public class GempakParameterTable
extends java.lang.Object

Class to hold a lookup of gempak parameters

Version:
$Revision: 1.3 $
Author:
IDV Development Team

Constructor Summary
GempakParameterTable()
          Create a new table.
 
Method Summary
 void addParameters(java.lang.String tbl)
          Add parameters from the table
 GempakParameter getParameter(java.lang.String name)
          Get the parameter for the given name
static void main(java.lang.String[] args)
          Test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GempakParameterTable

public GempakParameterTable()
Create a new table.

Method Detail

addParameters

public void addParameters(java.lang.String tbl)
                   throws java.io.IOException
Add parameters from the table

Parameters:
tbl - table location
Throws:
java.io.IOException - problem reading table.

getParameter

public GempakParameter getParameter(java.lang.String name)
Get the parameter for the given name

Parameters:
name - name of the parameter (eg:, TMPK);
Returns:
corresponding parameter or null if not found in table

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Test

Parameters:
args - ignored
Throws:
java.io.IOException - problem reading the table.