Class StructureDS

    • Method Detail

      • select

        public Structure select​(List<String> memberNames)
        Description copied from class: Structure
        Create a subset of the Structure consisting only of the given member variables
        Overrides:
        select in class Structure
        Parameters:
        memberNames - list of Variable names, already a member
        Returns:
        Structure containing just those members
      • getOriginalDataType

        public DataType getOriginalDataType()
        When this wraps another Variable, get the original Variable's DataType.
        Returns:
        original Variable's DataType
      • getOriginalName

        public String getOriginalName()
        When this wraps another Variable, get the original Variable's DataType.
        Specified by:
        getOriginalName in interface VariableEnhanced
        Returns:
        original Variable's DataType
      • getCoordinateSystems

        public com.google.common.collect.ImmutableList<CoordinateSystem> getCoordinateSystems()
        Description copied from interface: Enhancements
        Get the list of Coordinate Systems for this Variable.
        Specified by:
        getCoordinateSystems in interface ucar.nc2.dataset.Enhancements
        Returns:
        list of type CoordinateSystem; may be empty but not null.
      • getDescription

        public String getDescription()
        Description copied from class: Variable
        Get the description of the Variable. Default is to use CDM.LONG_NAME attribute value. If not exist, look for "description", "title", or "standard_name" attribute value (in that order).
        Specified by:
        getDescription in interface ucar.nc2.dataset.Enhancements
        Specified by:
        getDescription in interface VariableSimpleIF
        Overrides:
        getDescription in class Variable
        Returns:
        description, or null if not found.
      • getUnitsString

        public String getUnitsString()
        Description copied from class: Variable
        Get the Unit String for the Variable. Looks for the CDM.UNITS attribute value
        Specified by:
        getUnitsString in interface ucar.nc2.dataset.Enhancements
        Specified by:
        getUnitsString in interface VariableSimpleIF
        Overrides:
        getUnitsString in class Variable
        Returns:
        unit string, or null if not found.