ucar.nc2.iosp.grads
Class GradsVariable

java.lang.Object
  extended by ucar.nc2.iosp.grads.GradsVariable

public class GradsVariable
extends Object

Hold information about a GrADS variable

Author:
Don Murray - CU/CIRES

Constructor Summary
GradsVariable(String varDescriptor)
          Create a variable from the descriptor
 
Method Summary
 String getDescription()
          Get the variable description
 String getName()
          Get the variable name
 int getNumLevels()
          Get the number of levels
 String getUnitName()
          Get the unit name
 String toString()
          Return a String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GradsVariable

public GradsVariable(String varDescriptor)
Create a variable from the descriptor

Parameters:
varDescriptor - the variable descriptor
Method Detail

getName

public String getName()
Get the variable name

Returns:
the varName

getNumLevels

public int getNumLevels()
Get the number of levels

Returns:
the numLevs

getDescription

public String getDescription()
Get the variable description

Returns:
the description

getUnitName

public String getUnitName()
Get the unit name

Returns:
the unitName

toString

public String toString()
Return a String representation of this object

Overrides:
toString in class Object
Returns:
a String representation of this object


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