Package ucar.nc2.internal.dataset.conv
Class DefaultConventions
- java.lang.Object
-
- ucar.nc2.internal.dataset.CoordSystemBuilder
-
- ucar.nc2.internal.dataset.conv.DefaultConventions
-
public class DefaultConventions extends CoordSystemBuilder
Default Coordinate Conventions. Used when no other is specified or recognized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultConventions.Factory
-
Nested classes/interfaces inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
CoordSystemBuilder.VarProcess
-
-
Field Summary
Fields Modifier and Type Field Description protected ProjectionCT
projCT
-
Fields inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
conventionName, coords, coordVarsForDimension, datasetBuilder, debug, log, parseInfo, rootGroup, userAdvice, varList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
augmentDataset(CancelTask cancelTask)
protected AxisType
getAxisType(VariableDS.Builder vb)
Identify what kind of AxisType the named variable is.protected void
identifyCoordinateAxes()
Everything named in the coordinateAxes or coordinates attribute are Coordinate axes.-
Methods inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, buildCoordinateSystems, countDomainSize, findCoordinateAxis, findVarProcess, getConventionUsed, getParseInfo, getUserAdvice, identifyCoordinateSystems, identifyCoordinateTransforms, isCoordinateAxisForVariable, isCoordinateVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateTransform, makeCoordinateTransforms, makeCoordinateTransformVariable, setConventionUsed
-
-
-
-
Field Detail
-
projCT
protected ProjectionCT projCT
-
-
Method Detail
-
augmentDataset
public void augmentDataset(CancelTask cancelTask)
- Overrides:
augmentDataset
in classCoordSystemBuilder
-
identifyCoordinateAxes
protected void identifyCoordinateAxes()
Description copied from class:CoordSystemBuilder
Everything named in the coordinateAxes or coordinates attribute are Coordinate axes.- Overrides:
identifyCoordinateAxes
in classCoordSystemBuilder
-
getAxisType
@Nullable protected AxisType getAxisType(VariableDS.Builder vb)
Description copied from class:CoordSystemBuilder
Identify what kind of AxisType the named variable is. Only called for variables already identified as Coordinate Axes. Default null - subclasses can override.- Overrides:
getAxisType
in classCoordSystemBuilder
- Parameters:
vb
- a variable already identified as a Coordinate Axis- Returns:
- AxisType or null if unknown.
-
-