Package ucar.nc2
Class VariableSimpleImpl
- java.lang.Object
-
- ucar.nc2.VariableSimpleImpl
-
- All Implemented Interfaces:
Comparable<VariableSimpleIF>
,VariableSimpleIF
@Deprecated public class VariableSimpleImpl extends Object implements VariableSimpleIF
Deprecated.use VariableSimpleBuilderImplementation of VariableSimpleIF- Since:
- 6/10/14
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VariableSimpleImpl
add(Attribute att)
Deprecated.AttributeContainer
attributes()
Deprecated.Attributes for the variable.int
compareTo(VariableSimpleIF o)
Deprecated.Attribute
findAttributeIgnoreCase(String name)
Deprecated.find the attribute for the variable with the given name, ignoring case.List<Attribute>
getAttributes()
Deprecated.Attributes for the variable.DataType
getDataType()
Deprecated.Variable's data typeString
getDescription()
Deprecated.description of the VariableList<Dimension>
getDimensions()
Deprecated.Dimension List.String
getFullName()
Deprecated.full, backslash escaped name of the data VariableString
getName()
Deprecated.Name of the data Variable.int
getRank()
Deprecated.Variable rankint[]
getShape()
Deprecated.Variable shapeString
getShortName()
Deprecated.short name of the data VariableString
getUnitsString()
Deprecated.Units of the Variable.static VariableSimpleImpl
makeScalar(String name, String desc, String units, DataType dt)
Deprecated.static VariableSimpleImpl
makeString(String name, String desc, String units, int str_len)
Deprecated.
-
-
-
Method Detail
-
makeScalar
public static VariableSimpleImpl makeScalar(String name, String desc, String units, DataType dt)
Deprecated.
-
makeString
public static VariableSimpleImpl makeString(String name, String desc, String units, int str_len)
Deprecated.
-
add
public VariableSimpleImpl add(Attribute att)
Deprecated.
-
getName
public String getName()
Deprecated.Description copied from interface:VariableSimpleIF
Name of the data Variable. Not that this is technically ambiguous v-a-v short or full name; however, since this is a Variable interface, one must assume that it is intended to be getFullName().- Specified by:
getName
in interfaceVariableSimpleIF
- Returns:
- name of the data Variable
-
getFullName
public String getFullName()
Deprecated.Description copied from interface:VariableSimpleIF
full, backslash escaped name of the data Variable- Specified by:
getFullName
in interfaceVariableSimpleIF
- Returns:
- full, backslash escaped name of the data Variable
-
getShortName
public String getShortName()
Deprecated.Description copied from interface:VariableSimpleIF
short name of the data Variable- Specified by:
getShortName
in interfaceVariableSimpleIF
- Returns:
- short name of the data Variable
-
getDescription
public String getDescription()
Deprecated.Description copied from interface:VariableSimpleIF
description of the Variable- Specified by:
getDescription
in interfaceVariableSimpleIF
- Returns:
- description of the Variable, or null if none.
-
getUnitsString
public String getUnitsString()
Deprecated.Description copied from interface:VariableSimpleIF
Units of the Variable. These should be udunits compatible if possible- Specified by:
getUnitsString
in interfaceVariableSimpleIF
- Returns:
- Units of the Variable, or null if none.
-
getRank
public int getRank()
Deprecated.Description copied from interface:VariableSimpleIF
Variable rank- Specified by:
getRank
in interfaceVariableSimpleIF
- Returns:
- Variable rank
-
getShape
public int[] getShape()
Deprecated.Description copied from interface:VariableSimpleIF
Variable shape- Specified by:
getShape
in interfaceVariableSimpleIF
- Returns:
- Variable shape
-
getDimensions
public List<Dimension> getDimensions()
Deprecated.Description copied from interface:VariableSimpleIF
Dimension List. empty for a scalar variable.- Specified by:
getDimensions
in interfaceVariableSimpleIF
- Returns:
- List of ucar.nc2.Dimension, ImmutableList in ver6
-
getDataType
public DataType getDataType()
Deprecated.Description copied from interface:VariableSimpleIF
Variable's data type- Specified by:
getDataType
in interfaceVariableSimpleIF
- Returns:
- Variable's data type
-
attributes
public AttributeContainer attributes()
Deprecated.Description copied from interface:VariableSimpleIF
Attributes for the variable.- Specified by:
attributes
in interfaceVariableSimpleIF
-
getAttributes
public List<Attribute> getAttributes()
Deprecated.Description copied from interface:VariableSimpleIF
Attributes for the variable.- Specified by:
getAttributes
in interfaceVariableSimpleIF
- Returns:
- List of type ucar.nc2.Attribute
-
findAttributeIgnoreCase
public Attribute findAttributeIgnoreCase(String name)
Deprecated.Description copied from interface:VariableSimpleIF
find the attribute for the variable with the given name, ignoring case.- Specified by:
findAttributeIgnoreCase
in interfaceVariableSimpleIF
- Parameters:
name
- attribute name- Returns:
- the attribute for the variable with the given name, or null if not found.
-
compareTo
public int compareTo(VariableSimpleIF o)
Deprecated.- Specified by:
compareTo
in interfaceComparable<VariableSimpleIF>
-
-