public class GradsDimension extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LEVELS
levels type mapping
|
static String |
LINEAR
linear type mapping
|
Constructor and Description |
---|
GradsDimension(String name,
int size,
String mapping)
Make a new GradsDimension from the values
|
Modifier and Type | Method and Description |
---|---|
protected void |
addLevel(String level)
Add a level to the list of levels
|
protected List<String> |
getLevels()
Get the levels
|
String |
getName()
Get the name of this dimension
|
int |
getSize()
Get the size of this dimension
|
String |
getType()
Get the mapping type
|
String |
getUnit()
Get the units
|
double[] |
getValues()
Get the values
|
protected double[] |
makeLevelValues()
Make the level values from the specifications
|
protected void |
setUnit(String unit)
Set the unit
|
String |
toString()
Return a String representation of this object
|
public static final String LINEAR
public static final String LEVELS
protected void addLevel(String level)
level
- level to addpublic String getName()
public int getSize()
public double[] getValues()
public String getUnit()
protected void setUnit(String unit)
unit
- the unitpublic String getType()
protected double[] makeLevelValues()
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.