public class UInt32AttributeAdapter extends FloatAttributeAdapter
Attribute.UINT32
attribute to
the VisAD data-import context.
Instances are immutable.
Constructor and Description |
---|
UInt32AttributeAdapter(String name,
dods.dap.Attribute attr)
Constructs from a name and an appropriate attribute.
|
Modifier and Type | Method and Description |
---|---|
protected float |
floatValue(String spec)
Returns the numeric value corresponding to an appropriate string
specification.
|
number, visadSet
data, getAttributeName, getRealType
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName
public UInt32AttributeAdapter(String name, dods.dap.Attribute attr) throws VisADException
name
- The name of the attribute.attr
- The attribute. Must have the appropriate type.VisADException
- VisAD failure. Probably the attribute has an
inappropriate type.protected float floatValue(String spec)
floatValue
in class FloatAttributeAdapter
spec
- A string specification appropriate to this
instance.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.