Package ucar.nc2.dods
Class DODSVariable
- java.lang.Object
-
- ucar.nc2.CDMNode
-
- ucar.nc2.Variable
-
- ucar.nc2.dods.DODSVariable
-
- All Implemented Interfaces:
Comparable<ucar.nc2.VariableSimpleIF>,Iterable<ucar.nc2.Attribute>,ucar.nc2.AttributeContainer,DODSNode,ucar.nc2.ProxyReader,ucar.nc2.VariableSimpleIF
- Direct Known Subclasses:
DODSGrid
public class DODSVariable extends ucar.nc2.Variable implements DODSNode
A read-only DODS-netCDF Variable. Same as a ucar.nc2.Variable except that it might have type boolean or long. Note that DODS DUInt32 widened to long and DODS DUInt16 widened to int.- See Also:
Variable
-
-
Field Summary
Fields Modifier and Type Field Description protected StringCEprotected DODSNetcdfFiledodsfile
-
Constructor Summary
Constructors Modifier Constructor Description protectedDODSVariable(DODSVariable from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ucar.nc2.Variablecopy()booleanequals(Object oo)Instances which have same content are equal.StringgetDODSName()protected booleanhasCE()inthashCode()protected StringnameWithCE()protected voidsetCE(String CE)voidsetDODSName(String name)-
Methods inherited from class ucar.nc2.Variable
_read, _read, _readScalarData, addAll, addAttribute, addLocalFieldsToBuilder, attributes, builder, compareTo, createNewCache, extraInfo, findAttribute, findAttributeDouble, findAttributeIgnoreCase, findAttributeInteger, findAttributeString, findDimensionIndex, getAttributes, getDAPName, getDAPName, getDatasetLocation, getDataType, getDescription, getDimension, getDimensions, getDimensionsAll, getDimensionsString, getElementSize, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentGroupOrRoot, getParentStructure, getProxyReader, getRanges, getRank, getScalarData, getShape, getShape, getShapeAll, getShapeAsSection, getSize, getSizeToCache, getSPobject, getUnitsString, hasCachedData, invalidateCache, isCaching, isCoordinateVariable, isEmpty, isImmutable, isMemberOfStructure, isMetadata, isScalar, isUnknownLength, isUnlimited, isVariableLength, lookupEnumString, read, read, read, read, read, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToByteChannel, readToStream, reallyRead, reallyRead, reduce, remove, removeAttribute, removeAttributeIgnoreCase, resetDimensions, resetShape, section, section, setCachedData, setCachedData, setCaching, setDataType, setDimension, setDimensions, setDimensions, setDimensionsAnonymous, setElementSize, setEnumTypedef, setImmutable, setIsScalar, setName, setParentGroup, setProxyReader, setSizeToCache, setSPobject, setValues, setValues, slice, toBuilder, toString, toStringDebug, writeCDL, writeCDL
-
Methods inherited from class ucar.nc2.CDMNode
annotate, annotation, getFullNameEscaped, getGroup, getImmutable, getName, getShortName, getSort, localhash, setParentStructure, setShortName, setSort, unwrap
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ucar.nc2.AttributeContainer
findAttValueIgnoreCase, getName, hasAttribute, hasAttributeIgnoreCase, iterator
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
CE
protected String CE
-
dodsfile
protected DODSNetcdfFile dodsfile
-
-
Constructor Detail
-
DODSVariable
protected DODSVariable(DODSVariable from)
-
-
Method Detail
-
copy
protected ucar.nc2.Variable copy()
- Overrides:
copyin classucar.nc2.Variable
-
setCE
protected void setCE(String CE)
-
hasCE
protected boolean hasCE()
-
nameWithCE
protected String nameWithCE()
-
equals
public boolean equals(Object oo)
Instances which have same content are equal.- Overrides:
equalsin classucar.nc2.Variable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classucar.nc2.Variable
-
getDODSName
public String getDODSName()
- Specified by:
getDODSNamein interfaceDODSNode- Overrides:
getDODSNamein classucar.nc2.CDMNode
-
setDODSName
public void setDODSName(String name)
- Specified by:
setDODSNamein interfaceDODSNode- Overrides:
setDODSNamein classucar.nc2.CDMNode
-
-