Class NcSDGrid

    • Nested Class Summary

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

        opendap.dap.DAPNode.CloneMap
    • Field Summary

      • Fields inherited from class opendap.dap.DGrid

        ARRAY, arrayVar, MAPS, mapVars
      • Fields inherited from class opendap.dap.DAPNode

        _nameClear, _nameEncoded, log
    • Constructor Summary

      Constructors 
      Constructor Description
      NcSDGrid​(String name, List<opendap.dap.BaseType> list)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean read​(String datasetName, Object specialO)
      Read a value from the named dataset for this variable.
      • 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.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
    • Constructor Detail

      • NcSDGrid

        public NcSDGrid​(String name,
                        List<opendap.dap.BaseType> list)
        Constructor.
        Parameters:
        name - of the Grid
        list - of the variables, first data then maps
    • Method Detail

      • read

        public boolean read​(String datasetName,
                            Object specialO)
                     throws opendap.dap.NoSuchVariableException,
                            IOException
        Description copied from class: SDGrid
        Read a value from the named dataset for this variable.
        Specified by:
        read in interface ServerMethods
        Specified by:
        read in class SDGrid
        Parameters:
        datasetName - String identifying the file or other data store from which to read a vaue for this variable.
        specialO - This Object is 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 a null.
        Returns:
        true if more data remains to be read, otherwise false. 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.