org.iges.grads.server.dap
Class GradsGrid

java.lang.Object
  |
  +--SDGrid
        |
        +--org.iges.grads.server.dap.GradsGrid

public class GradsGrid
extends SDGrid

Represents a server-side Grid object for the GrADS-DODS server. All datatypes that appear in DDS'es for GrADS datasets must have server-side implementations, even if its just a shell.

See Also:
Serialized Form

Constructor Summary
GradsGrid()
          Constructs a new GradsGrid.
GradsGrid(java.lang.String n)
          Constructs a new GradsGrid with name n.
 
Method Summary
 java.util.Vector getDimensions()
          Returns a list of dimension vectors for this grid.
 boolean read(java.lang.String datasetName, java.lang.Object specialO)
          Read a value from the named dataset for this variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradsGrid

public GradsGrid()
Constructs a new GradsGrid.


GradsGrid

public GradsGrid(java.lang.String n)
Constructs a new GradsGrid 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
Read a value from the named dataset for this variable.

Parameters:
datasetName - String identifying the file or other data store from which to read a vaue for this variable.
specialO - not used in this implementation
Returns:
always false in this implementation
NoSuchVariableException
java.io.IOException
java.io.EOFException

getDimensions

public java.util.Vector getDimensions()
Returns a list of dimension vectors for this grid. Why this isn't in the DODS API, I don't know..