Class 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:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class opendap.dap.DAPNode

        opendap.dap.DAPNode.CloneMap
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected List<opendap.dap.BaseType> memberBTlist  
      protected NcSDStructure org  
      protected ucar.ma2.StructureData sdata  
      • Fields inherited from class opendap.dap.DStructure

        vars
      • Fields inherited from class opendap.dap.DAPNode

        _nameClear, _nameEncoded
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ucar.nc2.Variable getVariable()  
      boolean read​(String datasetName, Object specialO)  
      void serialize​(String dataset, DataOutputStream sink, opendap.servers.CEEvaluator ce, Object specialO)  
      void setData​(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, setSynthesized
      • Methods inherited from class opendap.dap.DStructure

        addVariable, checkSemantics, cloneDAG, deserialize, elementCount, externalize, getTypeName, getVar, getVarCount, getVariable, getVariables, getVariableSet
      • Methods inherited from class opendap.dap.DConstructor

        addVariable, someChildHasAttributes
      • 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 interface opendap.servers.ServerMethods

        isProject, setProject
    • Field Detail

      • memberBTlist

        protected List<opendap.dap.BaseType> memberBTlist
      • sdata

        protected ucar.ma2.StructureData sdata
    • Constructor Detail

      • NcSDStructure

        public NcSDStructure​(ucar.nc2.Structure s,
                             List<opendap.dap.BaseType> list)
        Constructor.
        Parameters:
        s - the netcdf Structure
        list - of the member variables
      • NcSDStructure

        public NcSDStructure​(NcSDStructure org,
                             ucar.ma2.StructureData sdata)
    • Method Detail

      • getVariable

        public ucar.nc2.Variable getVariable()
      • read

        public boolean read​(String datasetName,
                            Object specialO)
                     throws opendap.dap.NoSuchVariableException,
                            IOException
        Specified by:
        read in interface opendap.servers.ServerMethods
        Specified by:
        read in class opendap.servers.SDStructure
        Throws:
        opendap.dap.NoSuchVariableException
        IOException
      • 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:
        serialize in interface opendap.servers.ServerMethods
        Overrides:
        serialize in class opendap.servers.SDStructure
        Throws:
        opendap.dap.NoSuchVariableException
        opendap.servers.DAP2ServerSideException
        IOException