Package ucar.nc2.internal.dataset
Class CoordSystemBuilder.VarProcess
- java.lang.Object
-
- ucar.nc2.internal.dataset.CoordSystemBuilder.VarProcess
-
- Enclosing class:
- CoordSystemBuilder
protected class CoordSystemBuilder.VarProcess extends Object
Classifications of Variables into axis, systems and transforms
-
-
Field Summary
Fields Modifier and Type Field Description CoordinateAxis.Builder<?>
axis
AxisType
axisType
String
coordAxisTypes
String
coordinateAxes
String
coordinates
String
coordinateSystems
String
coordinateSystemsFor
String
coordinateTransforms
String
coordTransformType
String
coordVarAlias
CoordinateSystem.Builder
cs
CoordinateTransform.Builder
ct
Group.Builder
gb
boolean
isCoordinateAxis
boolean
isCoordinateSystem
boolean
isCoordinateTransform
boolean
isCoordinateVariable
String
positive
VariableDS.Builder<?>
vb
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<CoordinateAxis.Builder>
findCoordinateAxes(boolean addCoordVariables)
Create a list of coordinate axes for this data variable.protected boolean
hasCoordinateSystem()
protected boolean
isData()
protected void
makeCoordinatesFromCoordinateSystem()
For any variable listed in a coordinateAxes attribute, make into a coordinate.protected void
makeCoordinateSystem()
For explicit coordinate system variables, make a CoordinateSystem.protected CoordinateAxis.Builder
makeIntoCoordinateAxis()
Turn the variable into a coordinate axis.protected boolean
maybeData()
String
toString()
-
-
-
Field Detail
-
gb
public Group.Builder gb
-
vb
public VariableDS.Builder<?> vb
-
coordVarAlias
public String coordVarAlias
-
positive
public String positive
-
coordinateAxes
public String coordinateAxes
-
coordinateSystems
public String coordinateSystems
-
coordinateSystemsFor
public String coordinateSystemsFor
-
coordinateTransforms
public String coordinateTransforms
-
coordAxisTypes
public String coordAxisTypes
-
coordTransformType
public String coordTransformType
-
coordinates
public String coordinates
-
isCoordinateVariable
public boolean isCoordinateVariable
-
isCoordinateAxis
public boolean isCoordinateAxis
-
axisType
public AxisType axisType
-
axis
public CoordinateAxis.Builder<?> axis
-
isCoordinateSystem
public boolean isCoordinateSystem
-
cs
public CoordinateSystem.Builder cs
-
isCoordinateTransform
public boolean isCoordinateTransform
-
ct
public CoordinateTransform.Builder ct
-
-
Method Detail
-
isData
protected boolean isData()
-
maybeData
protected boolean maybeData()
-
hasCoordinateSystem
protected boolean hasCoordinateSystem()
-
makeIntoCoordinateAxis
protected CoordinateAxis.Builder makeIntoCoordinateAxis()
Turn the variable into a coordinate axis. Add to the dataset, replacing variable if needed.- Returns:
- coordinate axis
-
makeCoordinatesFromCoordinateSystem
protected void makeCoordinatesFromCoordinateSystem()
For any variable listed in a coordinateAxes attribute, make into a coordinate.
-
makeCoordinateSystem
protected void makeCoordinateSystem()
For explicit coordinate system variables, make a CoordinateSystem.
-
findCoordinateAxes
protected List<CoordinateAxis.Builder> 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.
-
-