Package thredds.server.opendap
Class NcSDFloat64
- java.lang.Object
-
- opendap.dap.DAPNode
-
- opendap.dap.BaseType
-
- opendap.dap.DPrimitive
-
- opendap.dap.DFloat64
-
- thredds.server.opendap.servers.SDFloat64
-
- thredds.server.opendap.NcSDFloat64
-
- All Implemented Interfaces:
Serializable,Cloneable,opendap.dap.ClientIO,HasNetcdfVariable,ExprParserConstants,RelOps,ServerMethods
public class NcSDFloat64 extends SDFloat64 implements HasNetcdfVariable
Wraps a netcdf scalar double variable.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface thredds.server.opendap.servers.parsers.ExprParserConstants
AMPERSAND, COLON, COMMA, DEFAULT, EOF, EQUAL, FLOATCONST, FUNCTION, GREATER, GREATER_EQL, INTCONST, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, NOT_EQUAL, operatorImage, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, STRINGCONST, tokenImage, VAR, WORD
-
-
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 value (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 thredds.server.opendap.servers.SDFloat64
equal, greater, greater_eql, isRead, isSynthesized, less, less_eql, not_equal, printDecl, printVal, printXML, regexp, serialize, setRead, setSynthesized
-
Methods inherited from class opendap.dap.DFloat64
deserialize, externalize, getTypeName, getValue, newPrimitiveVector, setValue
-
Methods inherited from class opendap.dap.BaseType
addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, checkSemantics, cloneDAG, delAttribute, delAttribute, elementCount, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, 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, 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, setProject
-
-
-
-
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 value (parameters are ignored).- Specified by:
readin interfaceServerMethods- Specified by:
readin classSDFloat64- 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:
IOException- When there is a problem reading data.
-
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
-
-