Package ucar.nc2.dataset
Interface Enhancements
-
- All Known Subinterfaces:
VariableEnhanced
- All Known Implementing Classes:
CoordinateAxis,CoordinateAxis1D,CoordinateAxis1DTime,CoordinateAxis2D,SequenceDS,StructureDS,StructurePseudo2Dim,StructurePseudoDS,VariableDS
@Deprecated public interface Enhancements
Deprecated.do not useA Variable decorator that handles Coordinates Systems and "standard attributes" and adds them to the object model. Specifically, this:- adds a list of CoordinateSystem.
- adds unitString from the standard attribute units
- adds description from the standard attributes long_name, description or title
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddCoordinateSystem(CoordinateSystem cs)Deprecated.Add a CoordinateSystem to the dataset.List<CoordinateSystem>getCoordinateSystems()Deprecated.Get the list of Coordinate Systems for this Variable.StringgetDescription()Deprecated.Get the description of the Variable, or null if none.StringgetUnitsString()Deprecated.Get the Unit String for the Variable, or null if none.voidremoveCoordinateSystem(CoordinateSystem cs)Deprecated.Remove a CoordinateSystem from the dataset.
-
-
-
Method Detail
-
getDescription
String getDescription()
Deprecated.Get the description of the Variable, or null if none.- Returns:
- description of the Variable, or null
-
getUnitsString
String getUnitsString()
Deprecated.Get the Unit String for the Variable, or null if none.- Returns:
- Unit String for the Variable, or null
-
getCoordinateSystems
List<CoordinateSystem> getCoordinateSystems()
Deprecated.Get the list of Coordinate Systems for this Variable.- Returns:
- list of type CoordinateSystem; may be empty but not null.
-
addCoordinateSystem
void addCoordinateSystem(CoordinateSystem cs)
Deprecated.Add a CoordinateSystem to the dataset.- Parameters:
cs- add this Coordinate System
-
removeCoordinateSystem
void removeCoordinateSystem(CoordinateSystem cs)
Deprecated.Remove a CoordinateSystem from the dataset.- Parameters:
cs- remove this coordinate system
-
-