Package ucar.nc2.dataset
Class CoordSysBuilder.VarProcess
- java.lang.Object
-
- ucar.nc2.dataset.CoordSysBuilder.VarProcess
-
- Enclosing class:
- CoordSysBuilder
public class CoordSysBuilder.VarProcess extends Object
Wrap each variable in the dataset with a VarProcess object.
-
-
Field Summary
Fields Modifier and Type Field Description CoordinateAxis
axis
AxisType
axisType
String
coordAxes
String
coordAxisTypes
String
coordinates
String
coordSys
String
coordSysFor
String
coordTransforms
String
coordTransformType
String
coordVarAlias
CoordinateSystem
cs
CoordinateTransform
ct
NetcdfDataset
ds
boolean
isCoordinateAxis
boolean
isCoordinateSystem
boolean
isCoordinateTransform
boolean
isCoordinateVariable
String
positive
Variable
v
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CoordinateAxis>
findCoordinateAxes(boolean addCoordVariables)
Create a list of coordinate axes for this data variable.boolean
hasCoordinateSystem()
boolean
isData()
void
makeCoordinateSystem()
Create a Coordinate System object, using the list of coordinate axis names in the (required) axes field.CoordinateAxis
makeIntoCoordinateAxis()
Turn the variable into a coordinate axis, if not already.boolean
maybeData()
String
toString()
-
-
-
Field Detail
-
ds
public NetcdfDataset ds
-
v
public Variable v
-
isCoordinateVariable
public boolean isCoordinateVariable
-
isCoordinateAxis
public boolean isCoordinateAxis
-
axisType
public AxisType axisType
-
coordAxes
public String coordAxes
-
coordSys
public String coordSys
-
coordSysFor
public String coordSysFor
-
coordVarAlias
public String coordVarAlias
-
positive
public String positive
-
coordAxisTypes
public String coordAxisTypes
-
coordinates
public String coordinates
-
axis
public CoordinateAxis axis
-
isCoordinateSystem
public boolean isCoordinateSystem
-
coordTransforms
public String coordTransforms
-
cs
public CoordinateSystem cs
-
isCoordinateTransform
public boolean isCoordinateTransform
-
coordTransformType
public String coordTransformType
-
ct
public CoordinateTransform ct
-
-
Method Detail
-
isData
public boolean isData()
-
maybeData
public boolean maybeData()
-
hasCoordinateSystem
public boolean hasCoordinateSystem()
-
makeIntoCoordinateAxis
public CoordinateAxis makeIntoCoordinateAxis()
Turn the variable into a coordinate axis, if not already. Add to the dataset, replacing variable if needed.- Returns:
- variable as a coordinate axis
-
makeCoordinateSystem
public void makeCoordinateSystem()
Create a Coordinate System object, using the list of coordinate axis names in the (required) axes field.
-
findCoordinateAxes
public List<CoordinateAxis> findCoordinateAxes(boolean addCoordVariables)
Create a list of coordinate axes for this data variable. Use the list of names in axes or coordinates field.- Parameters:
addCoordVariables
- if true, add any coordinate variables that are missing.- Returns:
- list of coordinate axes for this data variable.
-
-