ucar.nc2.dataset.transform
Class AbstractCoordTransBuilder
java.lang.Object
ucar.nc2.dataset.transform.AbstractCoordTransBuilder
- All Implemented Interfaces:
- CoordTransBuilderIF
- Direct Known Subclasses:
- AlbersEqualArea, FlatEarth, LambertAzimuthal, LambertConformalConic, Mercator, Orthographic, PolarStereographic, RotatedLatLon, RotatedPole, Stereographic, TransverseMercator, UTM, VAtmHybridHeight, VAtmHybridSigmaPressure, VAtmLnPressure, VAtmSigma, VerticalPerspective, VExplicitField, VOceanS, VOceanSG1, VOceanSG2, VOceanSigma, WRFEtaTransformBuilder
public abstract class AbstractCoordTransBuilder
- extends java.lang.Object
- implements CoordTransBuilderIF
Abstract superclass for implementations of CoordTransBuilderIF.
- Author:
- caron
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCoordTransBuilder
public AbstractCoordTransBuilder()
setErrorBuffer
public void setErrorBuffer(java.util.Formatter errBuffer)
- Description copied from interface:
CoordTransBuilderIF
- Pass in a Formatter where error messages can be appended.
- Specified by:
setErrorBuffer
in interface CoordTransBuilderIF
- Parameters:
errBuffer
- use this Formatter to record parse and error info
makeMathTransform
public VerticalTransform makeMathTransform(NetcdfDataset ds,
Dimension timeDim,
VerticalCT vCT)
- Description copied from interface:
CoordTransBuilderIF
- Make a VerticalTransform. Only implement if you are a TransformType.Vertical.
We need to defer making the transform until we've identified the time coordinate dimension.
- Specified by:
makeMathTransform
in interface CoordTransBuilderIF
- Parameters:
ds
- the datasettimeDim
- the time dimensionvCT
- the vertical coordinate transform
- Returns:
- ucar.unidata.geoloc.vertical.VerticalTransform math transform
parseFormula
public java.lang.String[] parseFormula(java.lang.String formula_terms,
java.lang.String termString)
getFalseEastingScaleFactor
public static double getFalseEastingScaleFactor(NetcdfDataset ds,
Variable ctv)