visad.data.dods
Class Float32Valuator

java.lang.Object
  extended by visad.data.dods.Valuator
      extended by visad.data.dods.Float32Valuator

public final class Float32Valuator
extends Valuator

Provides support for processing 32-bit floating-point values in a DODS dataset. Processing includes checking for validity and unpacking.

Instances are immutable.

Author:
Steven R. Emmerson

Field Summary
 
Fields inherited from class visad.data.dods.Valuator
ranger, unpacker, vetter
 
Method Summary
 SimpleSet getRepresentationalSet(RealType realType)
          Returns the set used to represent unpacked, numeric values associated with this instance in the range of a VisAD FlatField.
static Valuator valuator(dods.dap.AttributeTable table)
          Returns an instance of this class corresponding to the attributes for a DODS variable.
 
Methods inherited from class visad.data.dods.Valuator
decode, process, process, process, process, valuator, valueRanger, valueUnpacker, valueVetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

valuator

public static Valuator valuator(dods.dap.AttributeTable table)
                         throws BadFormException,
                                VisADException,
                                RemoteException
Returns an instance of this class corresponding to the attributes for a DODS variable.

Parameters:
table - The attribute table for a DODS variable.
Throws:
BadFormException - The attribute table is corrupt.
VisADException - VisAD failure.
RemoteException - Java RMI failure.

getRepresentationalSet

public SimpleSet getRepresentationalSet(RealType realType)
                                 throws VisADException
Returns the set used to represent unpacked, numeric values associated with this instance in the range of a VisAD FlatField.

Specified by:
getRepresentationalSet in class Valuator
Returns:
realType The VisAD real-type for the set.
Throws:
VisADException - VisAD failure.