public abstract class AbstractTransformBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Earth |
earth |
protected double |
earth_radius |
protected double |
false_easting |
protected double |
false_northing |
protected double |
lat0 |
protected double |
lon0 |
Constructor and Description |
---|
AbstractTransformBuilder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addParameter(CoordinateTransform rs,
java.lang.String paramName,
NetcdfFile ds,
java.lang.String varNameEscaped)
Add a Parameter to a CoordinateTransform.
|
static double |
getFalseEastingScaleFactor(NetcdfDataset ds,
AttributeContainer ctv) |
static double |
getFalseEastingScaleFactor(java.lang.String geoCoordinateUnits) |
static java.lang.String |
getGeoCoordinateUnits(NetcdfDataset ds,
AttributeContainer ctv) |
abstract java.lang.String |
getTransformName() |
protected double |
readAttributeDouble(AttributeContainer atts,
java.lang.String attname,
double defValue)
Read an attribute as a double.
|
void |
setErrorBuffer(java.util.Formatter errBuffer) |
protected double lat0
protected double lon0
protected double false_easting
protected double false_northing
protected double earth_radius
protected Earth earth
public static double getFalseEastingScaleFactor(NetcdfDataset ds, AttributeContainer ctv)
public static java.lang.String getGeoCoordinateUnits(NetcdfDataset ds, AttributeContainer ctv)
public static double getFalseEastingScaleFactor(java.lang.String geoCoordinateUnits)
public void setErrorBuffer(java.util.Formatter errBuffer)
public abstract java.lang.String getTransformName()
protected double readAttributeDouble(AttributeContainer atts, java.lang.String attname, double defValue)
atts
- the attribute containerattname
- name of variabledefValue
- default value if attribute is not foundprotected boolean addParameter(CoordinateTransform rs, java.lang.String paramName, NetcdfFile ds, java.lang.String varNameEscaped)
rs
- the CoordinateTransformparamName
- the parameter nameds
- datasetvarNameEscaped
- escaped variable name