Package thredds.server.opendap
Class NcSDStructure
java.lang.Object
opendap.dap.DAPNode
opendap.dap.BaseType
opendap.dap.DConstructor
opendap.dap.DStructure
opendap.servers.SDStructure
thredds.server.opendap.NcSDStructure
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,opendap.servers.RelOps,opendap.servers.ServerMethods
public class NcSDStructure
extends opendap.servers.SDStructure
Wraps a netcdf Structure, as an SDStructure.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class opendap.dap.DAPNode
opendap.dap.DAPNode.CloneMap -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<opendap.dap.BaseType>protected NcSDStructureprotected ucar.ma2.StructureDataFields inherited from class opendap.dap.DStructure
varsFields inherited from class opendap.dap.DAPNode
_nameClear, _nameEncoded -
Constructor Summary
ConstructorsConstructorDescriptionNcSDStructure(NcSDStructure org, ucar.ma2.StructureData sdata) NcSDStructure(ucar.nc2.Structure s, List<opendap.dap.BaseType> list) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionucar.nc2.Variablebooleanvoidserialize(String dataset, DataOutputStream sink, opendap.servers.CEEvaluator ce, Object specialO) voidsetData(ucar.ma2.StructureData sdata) Methods inherited from class opendap.servers.SDStructure
equal, greater, greater_eql, isRead, isSynthesized, less, less_eql, not_equal, printDecl, printVal, printXML, regexp, setProject, setRead, setSynthesizedMethods inherited from class opendap.dap.DStructure
addVariable, checkSemantics, cloneDAG, deserialize, elementCount, externalize, getTypeName, getVar, getVarCount, getVariable, getVariables, getVariableSetMethods inherited from class opendap.dap.DConstructor
addVariable, someChildHasAttributesMethods 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, setClearNameMethods inherited from class opendap.dap.DAPNode
clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProjectedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface opendap.servers.ServerMethods
isProject, setProject
-
Field Details
-
memberBTlist
-
org
-
sdata
protected ucar.ma2.StructureData sdata
-
-
Constructor Details
-
NcSDStructure
Constructor.- Parameters:
s- the netcdf Structurelist- of the member variables
-
NcSDStructure
-
-
Method Details
-
getVariable
public ucar.nc2.Variable getVariable() -
read
public boolean read(String datasetName, Object specialO) throws opendap.dap.NoSuchVariableException, IOException - Specified by:
readin interfaceopendap.servers.ServerMethods- Specified by:
readin classopendap.servers.SDStructure- Throws:
opendap.dap.NoSuchVariableExceptionIOException
-
setData
public void setData(ucar.ma2.StructureData sdata) -
serialize
public void serialize(String dataset, DataOutputStream sink, opendap.servers.CEEvaluator ce, Object specialO) throws opendap.dap.NoSuchVariableException, opendap.servers.DAP2ServerSideException, IOException - Specified by:
serializein interfaceopendap.servers.ServerMethods- Overrides:
serializein classopendap.servers.SDStructure- Throws:
opendap.dap.NoSuchVariableExceptionopendap.servers.DAP2ServerSideExceptionIOException
-