org.iges.grads.server.dap
Class GradsArray

java.lang.Object
  |
  +--SDArray
        |
        +--org.iges.grads.server.dap.GradsArray

public class GradsArray
extends SDArray

An implementation of the DODS Array data type.

See Also:
Only certain arrays are legal: a 3 or 4 dimensional array that represents actual data, where the array dimensions are either [time][lev][lat][lon] or [time][lat][lon]; or a 1 dimensional array that represents the grid definition of lon, lat, lev or time. All values are Float32, except time which is a Float64 using the COARDS time convention. *, Serialized Form

Constructor Summary
GradsArray()
          Constructs a new GradsArray.
GradsArray(java.lang.String n)
          Constructs a new GradsArray with name n.
 
Method Summary
 Bounds.Grid calculateBounds()
          Translates dimension information stored in this object into a Bounds.Grid object for the Dataset.getSubset() method.
 boolean read(java.lang.String datasetName, java.lang.Object specialO)
          Just a dummy procedure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradsArray

public GradsArray()
Constructs a new GradsArray.


GradsArray

public GradsArray(java.lang.String n)
Constructs a new GradsArray with name n.

Parameters:
n - the name of the variable.
Method Detail

read

public boolean read(java.lang.String datasetName,
                    java.lang.Object specialO)
             throws NoSuchVariableException,
                    java.io.IOException,
                    java.io.EOFException
Just a dummy procedure. Data is actually read by the serialize() method, so it can be written directly to the output stream.

NoSuchVariableException
java.io.IOException
java.io.EOFException

calculateBounds

public Bounds.Grid calculateBounds()
Translates dimension information stored in this object into a Bounds.Grid object for the Dataset.getSubset() method.