public class CF1Convention extends CSMConvention
CoordSysBuilder.ConventionNameOk, CoordSysBuilder.VarProcess
checkForMeter
conventionName, coordVarMap, debug, log, parseInfo, resourcesDir, userAdvice, varList
Constructor and Description |
---|
CF1Convention() |
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 AxisType |
getAxisType(NetcdfDataset ncDataset,
VariableEnhanced v)
Augment COARDS axis type identification with Standard names (including dimensionless vertical coordinates) and CF.AXIS attributes
|
static int |
getVersion(java.lang.String hasConvName)
Get which CF version this is, ie CF-1.x
|
static java.lang.String |
getZisPositive(java.lang.String zaxisName,
java.lang.String vertCoordUnits)
Guess the value of ZisPositive based on z axis name and units
|
addParameter2, findCoordinateAxes, makeCoordinateTransform
checkTimeVarForCalendar, isMine
addCoordinateVariable, addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, breakupConventionNames, buildConventionAttribute, buildCoordinateSystems, factory, findCoordinateAxis, findCoordinateSystems, findCoordinateTransforms, findVarProcess, getConventionUsed, getParseInfo, getUseMaximalCoordSys, getUserAdvice, hasXY, isCoordinateAxisForVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateSystemsMaximal, makeCoordinateTransforms, makeCoordinateTransformVariable, makeDummyTransformVariable, registerConvention, registerConvention, registerConvention, registerNcML, setConventionUsed, setUseMaximalCoordSys
public static int getVersion(java.lang.String hasConvName)
hasConvName
- extract from convention name or list of namespublic static java.lang.String getZisPositive(java.lang.String zaxisName, java.lang.String vertCoordUnits)
zaxisName
- z coordinate axis namevertCoordUnits
- z coordinate axis namepublic void augmentDataset(NetcdfDataset ds, CancelTask cancelTask) throws java.io.IOException
CoordSysBuilderIF
augmentDataset
in interface CoordSysBuilderIF
augmentDataset
in class CSMConvention
ds
- modify this datasetcancelTask
- give user a chance to bail outjava.io.IOException
- on errorprotected AxisType getAxisType(NetcdfDataset ncDataset, VariableEnhanced v)
getAxisType
in class COARDSConvention
ncDataset
- for this datasetv
- a variable alreaddy identified as a Coodinate Axis