Package ucar.nc2.dods

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

      • Nested classes/interfaces inherited from class ucar.nc2.Variable

        ucar.nc2.Variable.Builder<T extends ucar.nc2.Variable.Builder<T>>, ucar.nc2.Variable.Cache
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String CE  
      protected DODSNetcdfFile dodsfile  
      • Fields inherited from class ucar.nc2.Variable

        attributes, cache, dataType, debugCaching, defaultCoordsSizeToCache, defaultSizeToCache, dimensions, elementSize, hashCode, isVariableLength, ncfile, permitCaching, proxyReader, shape, sizeToCache, spiObject
      • Fields inherited from class ucar.nc2.CDMNode

        annotations, dodsname, group, immutable, parentstruct, shortName, sort
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ucar.nc2.Variable copy()  
      boolean equals​(Object oo)
      Instances which have same content are equal.
      String getDODSName()  
      protected boolean hasCE()  
      int hashCode()  
      protected String nameWithCE()  
      protected void setCE​(String CE)  
      void setDODSName​(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 interface ucar.nc2.AttributeContainer

        findAttValueIgnoreCase, getName, hasAttribute, hasAttributeIgnoreCase, iterator
      • Methods inherited from interface ucar.nc2.VariableSimpleIF

        getName, getShortName
    • Constructor Detail

      • DODSVariable

        protected DODSVariable​(DODSVariable from)
    • Method Detail

      • copy

        protected ucar.nc2.Variable copy()
        Overrides:
        copy in class ucar.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:
        equals in class ucar.nc2.Variable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class ucar.nc2.Variable
      • getDODSName

        public String getDODSName()
        Specified by:
        getDODSName in interface DODSNode
        Overrides:
        getDODSName in class ucar.nc2.CDMNode
      • setDODSName

        public void setDODSName​(String name)
        Specified by:
        setDODSName in interface DODSNode
        Overrides:
        setDODSName in class ucar.nc2.CDMNode