public class DefaultConvention extends CoordSysBuilder
CoordSysBuilder.ConventionNameOk, CoordSysBuilder.VarProcess
Modifier and Type | Field and Description |
---|---|
protected ProjectionCT |
projCT |
conventionName, coordVarMap, debug, log, parseInfo, resourcesDir, userAdvice, varList
Constructor and Description |
---|
DefaultConvention() |
Modifier and Type | Method and Description |
---|---|
void |
augmentDataset(NetcdfDataset ds,
CancelTask cancelTask)
Make changes to the dataset that are needed before processing scale/offset in NetcdfDataset.
|
protected void |
findCoordinateAxes(NetcdfDataset ds)
Identify coordinate axes, set VarProcess.isCoordinateAxis = true.
|
protected AxisType |
getAxisType(NetcdfDataset ds,
VariableEnhanced ve)
Identify what kind of AxisType the named variable is.
|
protected void |
makeCoordinateTransforms(NetcdfDataset ds)
Take all previously identified Coordinate Transforms and create a
CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().
|
addCoordinateVariable, addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, breakupConventionNames, buildConventionAttribute, buildCoordinateSystems, factory, findCoordinateAxis, findCoordinateSystems, findCoordinateTransforms, findVarProcess, getConventionUsed, getParseInfo, getUseMaximalCoordSys, getUserAdvice, hasXY, isCoordinateAxisForVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateSystemsMaximal, makeCoordinateTransform, makeCoordinateTransformVariable, makeDummyTransformVariable, registerConvention, registerConvention, registerConvention, registerNcML, setConventionUsed, setUseMaximalCoordSys
protected ProjectionCT projCT
public void augmentDataset(NetcdfDataset ds, CancelTask cancelTask)
CoordSysBuilderIF
augmentDataset
in interface CoordSysBuilderIF
augmentDataset
in class CoordSysBuilder
ds
- modify this datasetcancelTask
- give user a chance to bail outprotected void findCoordinateAxes(NetcdfDataset ds)
CoordSysBuilder
findCoordinateAxes
in class CoordSysBuilder
ds
- whyprotected void makeCoordinateTransforms(NetcdfDataset ds)
CoordSysBuilder
makeCoordinateTransforms
in class CoordSysBuilder
ds
- whyprotected AxisType getAxisType(NetcdfDataset ds, VariableEnhanced ve)
CoordSysBuilder
getAxisType
in class CoordSysBuilder
ds
- for this datasetve
- a variable alreaddy identified as a Coodinate Axis