Package ucar.nc2.internal.dataset.conv
Class NUWGConvention
- java.lang.Object
-
- ucar.nc2.internal.dataset.CoordSystemBuilder
-
- ucar.nc2.internal.dataset.conv.NUWGConvention
-
public class NUWGConvention extends CoordSystemBuilder
NUWG Convention (ad hoc). see https://www.unidata.ucar.edu/software/netcdf/NUWG/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NUWGConvention.Factory
-
Nested classes/interfaces inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
CoordSystemBuilder.VarProcess
-
-
Field Summary
-
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 protected void
augmentDataset(CancelTask cancelTask)
String
extraInfo()
protected AxisType
getAxisType(VariableDS.Builder v)
Identify what kind of AxisType the named variable is.String
getZisPositive(CoordinateAxis v)
protected void
makeCoordinateTransforms()
Take all previously identified Coordinate Transforms and create a CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().-
Methods inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, buildCoordinateSystems, countDomainSize, findCoordinateAxis, findVarProcess, getConventionUsed, getParseInfo, getUserAdvice, identifyCoordinateAxes, identifyCoordinateSystems, identifyCoordinateTransforms, isCoordinateAxisForVariable, isCoordinateVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateTransform, makeCoordinateTransformVariable, setConventionUsed
-
-
-
-
Method Detail
-
augmentDataset
protected void augmentDataset(CancelTask cancelTask) throws IOException
- Overrides:
augmentDataset
in classCoordSystemBuilder
- Throws:
IOException
-
extraInfo
public String extraInfo()
-
makeCoordinateTransforms
protected void makeCoordinateTransforms()
Description copied from class:CoordSystemBuilder
Take all previously identified Coordinate Transforms and create a CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().- Overrides:
makeCoordinateTransforms
in classCoordSystemBuilder
-
getAxisType
protected AxisType getAxisType(VariableDS.Builder v)
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:
v
- a variable already identified as a Coordinate Axis- Returns:
- AxisType or null if unknown.
-
getZisPositive
public String getZisPositive(CoordinateAxis v)
- Parameters:
v
- for this axis- Returns:
- "up" if this is a Vertical (z) coordinate axis which goes up as coords get bigger
-
-