Package thredds.server.opendap
Class NcSDCharArray
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.BaseType
-
- opendap.dap.DVector
-
- opendap.dap.DArray
-
- opendap.servers.SDArray
-
- thredds.server.opendap.NcSDCharArray
-
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,opendap.servers.RelOps,opendap.servers.ServerArrayMethods,opendap.servers.ServerMethods,HasNetcdfVariable
public class NcSDCharArray extends opendap.servers.SDArray implements HasNetcdfVariable
Wraps a netcdf char variable with rank > 1 as an SDArray.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ucar.nc2.VariablegetVariable()get the underlying proxybooleanread(String datasetName, Object specialO)Read the data values (parameters are ignored).voidserialize(DataOutputStream sink, ucar.ma2.StructureData sdata, ucar.ma2.StructureMembers.Member m)voidsetData(ucar.ma2.Array data)reset the underlying proxy-
Methods inherited from class opendap.servers.SDArray
appendDim, appendDim, 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.DArray
checkSemantics, cloneDAG, getDimension, getDimensions, getFirstDimension, getTypeName, numDimensions, printAsMapXML, printConstraint, squeeze
-
Methods inherited from class opendap.dap.DVector
addVariable, deserialize, externalize, getContainerVar, getLength, getPrimitiveVector, setContainerVar, setLength
-
Methods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, 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
-
-
-
-
Method Detail
-
getVariable
public ucar.nc2.Variable getVariable()
Description copied from interface:HasNetcdfVariableget the underlying proxy- Specified by:
getVariablein interfaceHasNetcdfVariable
-
read
public boolean read(String datasetName, Object specialO) throws IOException
Read the data values (parameters are ignored). Use the start, stop and stride values that were set by the constraint evaluator.- Specified by:
readin interfaceopendap.servers.ServerMethods- Specified by:
readin classopendap.servers.SDArray- Parameters:
datasetName- not usedspecialO- not used- Returns:
- false (no more data to be read)
- Throws:
IOExceptionEOFException
-
setData
public void setData(ucar.ma2.Array data)
Description copied from interface:HasNetcdfVariablereset the underlying proxy- Specified by:
setDatain interfaceHasNetcdfVariable
-
serialize
public void serialize(DataOutputStream sink, ucar.ma2.StructureData sdata, ucar.ma2.StructureMembers.Member m) throws IOException
- Specified by:
serializein interfaceHasNetcdfVariable- Throws:
IOException
-
-