Package ucar.nc2.iosp.grid
Class GridParameter
- java.lang.Object
-
- ucar.nc2.iosp.grid.GridParameter
-
- Direct Known Subclasses:
GempakParameter
public class GridParameter extends Object
Class which represents a grid parameter. A parameter consists of a number that can be used to look up in a table, a name( ie Temperature), a description( ie Temperature at 2 meters), and Units( ie K ).
-
-
Constructor Summary
Constructors Constructor Description GridParameter()GridParameter(int center, int subcenter, int version, int number)GridParameter(int number, String name, String description, String unit)GridParameter(int number, String name, String description, String unit, String cf_name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCFname()StringgetDescription()description of parameter.StringgetName()intgetNumber()StringgetUnit()unit of parameter.inthashCode()voidsetDescription(String description)sets description of parameter.voidsetName(String name)sets name of parameter.voidsetNumber(int number)sets number of parameter.voidsetUnit(String unit)sets unit of parameter.StringtoString()Return a String representation of this object
-
-
-
Method Detail
-
getNumber
public final int getNumber()
-
getName
public final String getName()
-
getDescription
public final String getDescription()
description of parameter.- Returns:
- description
-
getUnit
public final String getUnit()
unit of parameter.- Returns:
- unit
-
getCFname
public String getCFname()
-
setNumber
public final void setNumber(int number)
sets number of parameter.- Parameters:
number- of parameter
-
setName
public final void setName(String name)
sets name of parameter.- Parameters:
name- of parameter
-
setDescription
public final void setDescription(String description)
sets description of parameter.- Parameters:
description- of parameter
-
setUnit
public final void setUnit(String unit)
sets unit of parameter.- Parameters:
unit- of parameter
-
toString
public String toString()
Return a String representation of this object
-
-