Package thredds.server.opendap
Class NcSDGrid
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.BaseType
-
- opendap.dap.DConstructor
-
- opendap.dap.DGrid
-
- thredds.server.opendap.servers.SDGrid
-
- thredds.server.opendap.NcSDGrid
-
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,RelOps,ServerArrayMethods,ServerMethods
public class NcSDGrid extends SDGrid
Wraps a netcdf variable with rank > 0, whose dimensions all have coordinate variables, as an SDGrid.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanread(String datasetName, Object specialO)Read a value from the named dataset for this variable.-
Methods inherited from class thredds.server.opendap.servers.SDGrid
addVariable, equal, getStart, getStop, getStride, greater, greater_eql, isRead, isSynthesized, less, less_eql, not_equal, printDecl, printVal, printXML, regexp, serialize, setProject, setProjection, setRead, setSynthesized
-
Methods inherited from class opendap.dap.DGrid
checkSemantics, cloneDAG, deserialize, elementCount, externalize, getArray, getArrayDims, getTypeName, getVar, getVarCount, getVariable, getVariables, projectedComponents, projectionYieldsGrid
-
Methods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printConstraint, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearName
-
Methods inherited from class opendap.dap.DAPNode
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProjected
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface thredds.server.opendap.servers.ServerMethods
isProject, setProject
-
-
-
-
Method Detail
-
read
public boolean read(String datasetName, Object specialO) throws opendap.dap.NoSuchVariableException, IOException
Description copied from class:SDGridRead a value from the named dataset for this variable.- Specified by:
readin interfaceServerMethods- Specified by:
readin classSDGrid- Parameters:
datasetName- String identifying the file or other data store from which to read a vaue for this variable.specialO- ThisObjectis a goody that is used by Server implementations to deliver important, and as yet unknown, stuff to the read method. If you don't need it, make it anull.- Returns:
trueif more data remains to be read, otherwisefalse. This is an abtsract method that must be implemented as part of the installation/localization of a OPeNDAP server.- Throws:
opendap.dap.NoSuchVariableException- When a variable can't be found.IOException- When there is a problem reading data.
-
-