Package ucar.nc2.dataset
Interface Enhancements
- All Known Subinterfaces:
VariableEnhanced
- All Known Implementing Classes:
CoordinateAxis,CoordinateAxis1D,CoordinateAxis1DTime,CoordinateAxis2D,SequenceDS,StructureDS,StructurePseudo2Dim,StructurePseudoDS,VariableDS
Deprecated.
do not use
A 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
Modifier and TypeMethodDescriptionvoidDeprecated.Add a CoordinateSystem to the dataset.Deprecated.Get the list of Coordinate Systems for this Variable.Deprecated.Get the description of the Variable, or null if none.Deprecated.Get the Unit String for the Variable, or null if none.voidDeprecated.Remove a CoordinateSystem from the dataset.
-
Method Details
-
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
Deprecated.Add a CoordinateSystem to the dataset.- Parameters:
cs- add this Coordinate System
-
removeCoordinateSystem
Deprecated.Remove a CoordinateSystem from the dataset.- Parameters:
cs- remove this coordinate system
-