ucar.nc2.dataset.transform
Class WRFEtaTransformBuilder

java.lang.Object
  extended by ucar.nc2.dataset.transform.AbstractCoordTransBuilder
      extended by ucar.nc2.dataset.transform.WRFEtaTransformBuilder
All Implemented Interfaces:
CoordTransBuilderIF

public class WRFEtaTransformBuilder
extends AbstractCoordTransBuilder

Author:
caron

Constructor Summary
WRFEtaTransformBuilder()
           
WRFEtaTransformBuilder(CoordinateSystem cs)
           
 
Method Summary
 java.lang.String getTransformName()
          Get the Transform name.
 TransformType getTransformType()
          Get the Transform Type : Vertical or Projection
 CoordinateTransform makeCoordinateTransform(NetcdfDataset ds, Variable v)
          Make a 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.AbstractCoordTransBuilder
getFalseEastingScaleFactor, parseFormula, setErrorBuffer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WRFEtaTransformBuilder

public WRFEtaTransformBuilder()

WRFEtaTransformBuilder

public WRFEtaTransformBuilder(CoordinateSystem cs)
Method Detail

makeCoordinateTransform

public CoordinateTransform makeCoordinateTransform(NetcdfDataset ds,
                                                   Variable v)
Description copied from interface: CoordTransBuilderIF
Make a CoordinateTransform from a Coordinate Transform Variable.

Parameters:
ds - the containing dataset
v - the coordinate transform variable.
Returns:
CoordinateTransform

getTransformName

public java.lang.String getTransformName()
Description copied from interface: CoordTransBuilderIF
Get the Transform name. Typically this is matched on by an attribute in the dataset.

Returns:
name of the transform.

getTransformType

public TransformType getTransformType()
Description copied from interface: CoordTransBuilderIF
Get the Transform Type : Vertical or Projection

Returns:
type of trrasnform

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
Overrides:
makeMathTransform in class AbstractCoordTransBuilder
Parameters:
ds - the dataset
timeDim - the time dimension
vCT - the vertical coordinate transform
Returns:
ucar.unidata.geoloc.vertical.VerticalTransform math transform