ucar.nc2.iosp.gempak
Class GempakParameterTable

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

public class GempakParameterTable
extends 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(String tbl)
          Add parameters from the table
 GempakParameter getParameter(String name)
          Get the parameter for the given name
static void main(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(String tbl)
                   throws IOException
Add parameters from the table

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

getParameter

public GempakParameter getParameter(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(String[] args)
                 throws IOException
Test

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


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.