Package ucar.nc2.dataset.transform
Class WRFEtaTransformBuilder
- java.lang.Object
-
- ucar.nc2.dataset.transform.AbstractTransformBuilder
-
- ucar.nc2.dataset.transform.WRFEtaTransformBuilder
-
- All Implemented Interfaces:
VertTransformBuilderIF
public class WRFEtaTransformBuilder extends AbstractTransformBuilder implements VertTransformBuilderIF
Create WRF Eta vertical transform. This is different from other VertTransformBuilderIF because it is specific to a CoordinateSystem.
-
-
Field Summary
-
Fields inherited from class ucar.nc2.dataset.transform.AbstractTransformBuilder
earth, earth_radius, false_easting, false_northing, lat0, lon0
-
-
Constructor Summary
Constructors Constructor Description WRFEtaTransformBuilder(CoordinateSystem cs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTransformName()
Get the Transform name.VerticalCT
makeCoordinateTransform(NetcdfDataset ds, AttributeContainer v)
Make a vertical CoordinateTransform from a Coordinate Transform Variable.VerticalTransform
makeMathTransform(NetcdfDataset ds, Dimension timeDim, VerticalCT vCT)
Make a VerticalTransform.-
Methods inherited from class ucar.nc2.dataset.transform.AbstractTransformBuilder
addParameter, getFalseEastingScaleFactor, getFalseEastingScaleFactor, getGeoCoordinateUnits, getGeoCoordinateUnits, readAttributeDouble, setErrorBuffer
-
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.transform.VertTransformBuilderIF
setErrorBuffer
-
-
-
-
Constructor Detail
-
WRFEtaTransformBuilder
public WRFEtaTransformBuilder(CoordinateSystem cs)
-
-
Method Detail
-
makeCoordinateTransform
public VerticalCT makeCoordinateTransform(NetcdfDataset ds, AttributeContainer v)
Description copied from interface:VertTransformBuilderIF
Make a vertical CoordinateTransform from a Coordinate Transform Variable. A VerticalCT is just a container for the metadata, the real work is in the VerticalTransform- Specified by:
makeCoordinateTransform
in interfaceVertTransformBuilderIF
- Parameters:
ds
- the containing datasetv
- the coordinate transform variable.- Returns:
- CoordinateTransform
-
getTransformName
public String getTransformName()
Description copied from interface:VertTransformBuilderIF
Get the Transform name. Typically this is matched on by an attribute in the dataset.- Specified by:
getTransformName
in interfaceVertTransformBuilderIF
- Specified by:
getTransformName
in classAbstractTransformBuilder
- Returns:
- name of the transform.
-
makeMathTransform
public VerticalTransform makeMathTransform(NetcdfDataset ds, Dimension timeDim, VerticalCT vCT)
Description copied from interface:VertTransformBuilderIF
Make a VerticalTransform. We need to defer making the transform until we've identified the time coordinate dimension.- Specified by:
makeMathTransform
in interfaceVertTransformBuilderIF
- Parameters:
ds
- the datasettimeDim
- the time dimensionvCT
- the vertical coordinate transform- Returns:
- ucar.unidata.geoloc.vertical.VerticalTransform math transform
-
-