ucar.nc2.dataset.conv
Class NUWGConvention
java.lang.Object
ucar.nc2.dataset.CoordSysBuilder
ucar.nc2.dataset.conv.NUWGConvention
- All Implemented Interfaces:
- CoordSysBuilderIF
public class NUWGConvention
- extends CoordSysBuilder
NUWG Convention (ad hoc).
see http://www.unidata.ucar.edu/packages/netcdf/NUWG/
- Author:
- caron
Methods inherited from class ucar.nc2.dataset.CoordSysBuilder |
addCoordinateVariable, addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, buildCoordinateSystems, factory, findCoordinateAxes, findCoordinateAxis, findCoordinateSystems, findCoordinateTransforms, findVarProcess, getConventionUsed, getParseInfo, getUseMaximalCoordSys, getUserAdvice, hasXY, isCoordinateAxisForVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateSystemsMaximal, makeCoordinateTransform, makeCoordinateTransformVariable, makeDummyTransformVariable, registerConvention, registerConvention, registerConvention, registerNcML, setConventionUsed, setUseMaximalCoordSys |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUWGConvention
public NUWGConvention()
augmentDataset
public void augmentDataset(NetcdfDataset ds,
CancelTask cancelTask)
- Description copied from interface:
CoordSysBuilderIF
- Make changes to the dataset that are needed before processing scale/offset in NetcdfDataset.
- Specified by:
augmentDataset
in interface CoordSysBuilderIF
- Overrides:
augmentDataset
in class CoordSysBuilder
- Parameters:
ds
- modify this datasetcancelTask
- give user a chance to bail out
extraInfo
public String extraInfo()
makeCoordinateTransforms
protected void makeCoordinateTransforms(NetcdfDataset ds)
- Description copied from class:
CoordSysBuilder
- Take all previously identified Coordinate Transforms and create a
CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().
- Overrides:
makeCoordinateTransforms
in class CoordSysBuilder
- Parameters:
ds
- why
getAxisType
protected AxisType getAxisType(NetcdfDataset ds,
VariableEnhanced ve)
- 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 class CoordSysBuilder
- Parameters:
ds
- for this datasetve
- a variable alreaddy identified as a Coodinate 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
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.