Package ucar.nc2.dataset.conv
Class COARDSConvention
- java.lang.Object
-
- ucar.nc2.dataset.CoordSysBuilder
-
- ucar.nc2.dataset.conv.COARDSConvention
-
- All Implemented Interfaces:
CoordSysBuilderIF
- Direct Known Subclasses:
CSMConvention
,Nimbus
public class COARDSConvention extends CoordSysBuilder
COARDS Convention. see http://ferret.wrc.noaa.gov/noaa_coop/coop_cdf_profile.html
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.nc2.dataset.CoordSysBuilder
CoordSysBuilder.ConventionNameOk, CoordSysBuilder.VarProcess
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
checkForMeter
-
Fields inherited from class ucar.nc2.dataset.CoordSysBuilder
conventionName, coordVarMap, debug, log, parseInfo, resourcesDir, userAdvice, varList
-
-
Constructor Summary
Constructors Constructor Description COARDSConvention()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
augmentDataset(NetcdfDataset ds, CancelTask cancelTask)
Make changes to the dataset that are needed before processing scale/offset in NetcdfDataset.protected boolean
checkTimeVarForCalendar(Variable var)
protected AxisType
getAxisType(NetcdfDataset ncDataset, VariableEnhanced v)
Identify what kind of AxisType the named variable is.static boolean
isMine(String hasName)
-
Methods inherited from class ucar.nc2.dataset.CoordSysBuilder
addCoordinateVariable, addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, breakupConventionNames, buildConventionAttribute, buildCoordinateSystems, factory, findCoordinateAxes, findCoordinateAxis, findCoordinateSystems, findCoordinateTransforms, findVarProcess, getConventionUsed, getParseInfo, getUseMaximalCoordSys, getUserAdvice, isCoordinateAxisForVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateSystemsMaximal, makeCoordinateTransform, makeCoordinateTransforms, makeCoordinateTransformVariable, registerConvention, registerConvention, registerConvention, registerNcML, setConventionUsed, setUseMaximalCoordSys
-
-
-
-
Method Detail
-
isMine
public static boolean isMine(String hasName)
-
checkTimeVarForCalendar
protected boolean checkTimeVarForCalendar(Variable var)
-
augmentDataset
public void augmentDataset(NetcdfDataset ds, CancelTask cancelTask) throws IOException
Description copied from interface:CoordSysBuilderIF
Make changes to the dataset that are needed before processing scale/offset in NetcdfDataset.- Specified by:
augmentDataset
in interfaceCoordSysBuilderIF
- Overrides:
augmentDataset
in classCoordSysBuilder
- Parameters:
ds
- modify this datasetcancelTask
- give user a chance to bail out- Throws:
IOException
- on error
-
getAxisType
protected AxisType getAxisType(NetcdfDataset ncDataset, VariableEnhanced v)
Description copied from class:CoordSysBuilder
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 classCoordSysBuilder
- Parameters:
ncDataset
- for this datasetv
- a variable alreaddy identified as a Coodinate Axis- Returns:
- AxisType or null if unknown.
-
-