dods.servers.netcdf
Class NcSDArray

java.lang.Object
  extended by dods.dap.BaseType
      extended by dods.dap.DVector
          extended by dods.dap.DArray
              extended by dods.dap.Server.SDArray
                  extended by dods.servers.netcdf.NcSDArray
All Implemented Interfaces:
ClientIO, RelOps, ServerArrayMethods, ServerMethods, HasProxyObject, Cloneable

public class NcSDArray
extends SDArray
implements HasProxyObject

Wraps a netcdf variable with rank > 0 as an SDArray. For char arrays, use NcSDString (rank 0 or 1) or NcSDCharArray (rank > 1).

Version:
$Revision: 1.3 $
Author:
jcaron
See Also:
NcSDCharArray

Method Summary
 Object getProxy()
          get the underlying proxy
 boolean read(String datasetName, Object specialO)
          Read the data values (parameters are ignored).
 void setProxy(Object v)
          get/set the underlying proxy
 
Methods inherited from class dods.dap.Server.SDArray
appendDim, appendDim, equal, getStart, getStop, getStride, greater_eql, greater, isProject, isRead, isSynthesized, less_eql, less, not_equal, printDecl, printVal, regexp, serialize, setProject, setProject, setProjection, setRead, setSynthesized
 
Methods inherited from class dods.dap.DArray
checkSemantics, clone, getDimension, getDimensions, getFirstDimension, getTypeName, numDimensions
 
Methods inherited from class dods.dap.DVector
addVariable, deserialize, externalize, getLength, getPrimitiveVector, setLength
 
Methods inherited from class dods.dap.BaseType
checkSemantics, elementCount, elementCount, getLongName, getName, getParent, newPrimitiveVector, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setProxy

public void setProxy(Object v)
get/set the underlying proxy

Specified by:
setProxy in interface HasProxyObject

getProxy

public Object getProxy()
Description copied from interface: HasProxyObject
get the underlying proxy

Specified by:
getProxy in interface HasProxyObject

read

public boolean read(String datasetName,
                    Object specialO)
             throws IOException,
                    EOFException
Read the data values (parameters are ignored). Use the start, stop and stride values, typically set by the constraint evaluator.

Specified by:
read in interface ServerMethods
Specified by:
read in class SDArray
Parameters:
datasetName - not used
specialO - not used
Returns:
false (no more data to be read)
Throws:
IOException
EOFException