Package ucar.nc2.iosp.grads
Class GradsVariable
- java.lang.Object
-
- ucar.nc2.iosp.grads.GradsVariable
-
public class GradsVariable extends Object
Hold information about a GrADS variable
-
-
Constructor Summary
Constructors Constructor Description GradsVariable(String varDescriptor)
Create a variable from the descriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Get the variable descriptionString
getName()
Get the variable nameint
getNumLevels()
Get the number of levelsString
getUnitName()
Get the unit nameString
toString()
Return a String representation of this object
-
-
-
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
-
-