|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.dataset.transform.AbstractCoordTransBuilder
public abstract class AbstractCoordTransBuilder
Abstract superclass for implementations of CoordTransBuilderIF.
| Field Summary | |
|---|---|
protected Formatter |
errBuffer
|
| Constructor Summary | |
|---|---|
AbstractCoordTransBuilder()
|
|
| Method Summary | |
|---|---|
protected boolean |
addParameter(CoordinateTransform rs,
String paramName,
NetcdfFile ds,
String varNameEscaped)
Add a Parameter to a CoordinateTransform. |
static double |
getFalseEastingScaleFactor(NetcdfDataset ds,
Variable ctv)
|
protected String |
getFormula(NetcdfDataset ds,
Variable ctv)
|
VerticalTransform |
makeMathTransform(NetcdfDataset ds,
Dimension timeDim,
VerticalCT vCT)
Make a VerticalTransform. |
String[] |
parseFormula(String formula_terms,
String termString)
|
protected double |
readAttributeDouble(Variable v,
String attname,
double defValue)
Read a variable attribute as a double. |
protected double[] |
readAttributeDouble2(Attribute att)
Read an attribute as double[2]. |
void |
setErrorBuffer(Formatter errBuffer)
Pass in a Formatter where error messages can be appended. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ucar.nc2.dataset.CoordTransBuilderIF |
|---|
getTransformName, getTransformType, makeCoordinateTransform |
| Field Detail |
|---|
protected Formatter errBuffer
| Constructor Detail |
|---|
public AbstractCoordTransBuilder()
| Method Detail |
|---|
public void setErrorBuffer(Formatter errBuffer)
CoordTransBuilderIF
setErrorBuffer in interface CoordTransBuilderIFerrBuffer - use this Formatter to record parse and error info
public VerticalTransform makeMathTransform(NetcdfDataset ds,
Dimension timeDim,
VerticalCT vCT)
CoordTransBuilderIF
makeMathTransform in interface CoordTransBuilderIFds - the datasettimeDim - the time dimensionvCT - the vertical coordinate transform
protected double readAttributeDouble(Variable v,
String attname,
double defValue)
v - the variableattname - name of variabledefValue - default value if attribute is not found
protected double[] readAttributeDouble2(Attribute att)
att - the attribute. May be numeric or String.
protected boolean addParameter(CoordinateTransform rs,
String paramName,
NetcdfFile ds,
String varNameEscaped)
rs - the CoordinateTransformparamName - the parameter nameds - datasetvarNameEscaped - escaped variable name
protected String getFormula(NetcdfDataset ds,
Variable ctv)
public String[] parseFormula(String formula_terms,
String termString)
public static double getFalseEastingScaleFactor(NetcdfDataset ds,
Variable ctv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||