ucar.nc2
Interface VariableSimpleIF

All Superinterfaces:
Comparable<VariableSimpleIF>
All Known Subinterfaces:
RadialDatasetSweep.RadialVariable, VariableEnhanced, VariableIF
All Known Implementing Classes:
AddeVariable, CoordinateAxis, CoordinateAxis1D, CoordinateAxis1DTime, CoordinateAxis2D, DODSGrid, DODSStructure, DODSVariable, RadialDatasetSweepAdapter.MyRadialVariableAdapter, Sequence, SequenceDS, Structure, StructureDS, StructurePseudo, StructurePseudo2Dim, StructurePseudoDS, Variable, VariableDS, VariableSimpleAdapter, VariableSimpleSubclass

public interface VariableSimpleIF
extends Comparable<VariableSimpleIF>

A lightweight abstractions of a Variable.

Author:
caron
See Also:
FeatureDataset

Method Summary
 Attribute findAttributeIgnoreCase(String name)
          find the attribute for the variable with the given name, ignoring case.
 List<Attribute> getAttributes()
          Attributes for the variable.
 DataType getDataType()
          Variable's data type
 String getDescription()
          description of the Variable
 List<Dimension> getDimensions()
          Dimension List.
 String getName()
           
 int getRank()
          Variable rank
 int[] getShape()
          Variable shape
 String getShortName()
          short name of the data Variable
 String getUnitsString()
          Units of the Variable.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()

getShortName

String getShortName()
short name of the data Variable

Returns:
short name of the data Variable

getDescription

String getDescription()
description of the Variable

Returns:
description of the Variable, or null if none.

getUnitsString

String getUnitsString()
Units of the Variable. These should be udunits compatible if possible

Returns:
Units of the Variable, or null if none.

getRank

int getRank()
Variable rank

Returns:
Variable rank

getShape

int[] getShape()
Variable shape

Returns:
Variable shape

getDimensions

List<Dimension> getDimensions()
Dimension List. empty for a scalar variable.

Returns:
List of ucar.nc2.Dimension

getDataType

DataType getDataType()
Variable's data type

Returns:
Variable's data type

getAttributes

List<Attribute> getAttributes()
Attributes for the variable.

Returns:
List of type ucar.nc2.Attribute

findAttributeIgnoreCase

Attribute findAttributeIgnoreCase(String name)
find the attribute for the variable with the given name, ignoring case.

Parameters:
name - attribute name
Returns:
the attribute for the variable with the given name, or null if not found.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.