public class GradsAttribute
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BYTE
Grads Btye identifier
|
static java.lang.String |
FLOAT32
GrADS Float32 identifier
|
static java.lang.String |
FLOAT64
GrADS Float64 identifier
|
static java.lang.String |
GLOBAL
the global identifier
|
static java.lang.String |
INT16
GrADS Int16 identifier
|
static java.lang.String |
INT32
GrADS Int32 identifier
|
static java.lang.String |
STRING
Grads String identifier
|
static java.lang.String |
UINT16
GrADS UInt16 identifier
|
static java.lang.String |
UINT32
GrADS UInt32 identifier
|
Constructor and Description |
---|
GradsAttribute(java.lang.String vName,
java.lang.String aType,
java.lang.String aName,
java.lang.String aValue)
Create a GradsAttribute
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getType() |
java.lang.String |
getValue() |
java.lang.String |
getVariable()
Get the variable this is associated with
|
static GradsAttribute |
parseAttribute(java.lang.String attrSpec)
Parse an attribute spec
|
public static final java.lang.String GLOBAL
public static final java.lang.String STRING
public static final java.lang.String BYTE
public static final java.lang.String INT16
public static final java.lang.String UINT16
public static final java.lang.String INT32
public static final java.lang.String UINT32
public static final java.lang.String FLOAT32
public static final java.lang.String FLOAT64
public GradsAttribute(java.lang.String vName, java.lang.String aType, java.lang.String aName, java.lang.String aValue)
vName
- the variableaType
- the attribute typeaName
- the attribute nameaValue
- the attribute valuepublic static GradsAttribute parseAttribute(java.lang.String attrSpec)
attrSpec
- the attribute spec (e.g. @ precip String units mm/day)public java.lang.String getVariable()
public java.lang.String getType()
public java.lang.String getName()
public java.lang.String getValue()