ucar.nc2.dataset.transform
Class VExplicitField
java.lang.Object
ucar.nc2.dataset.transform.AbstractCoordTransBuilder
ucar.nc2.dataset.transform.VExplicitField
- All Implemented Interfaces:
- CoordTransBuilderIF
public class VExplicitField
- extends AbstractCoordTransBuilder
Create a Vertical Transform from an "explicit_field", where the vertical coordinate is explciitly specified as a variable.
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VExplicitField
public VExplicitField()
getTransformName
public 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
makeCoordinateTransform
public CoordinateTransform makeCoordinateTransform(NetcdfDataset ds,
Variable ctv)
- Description copied from interface:
CoordTransBuilderIF
- Make a CoordinateTransform from a Coordinate Transform Variable.
- Parameters:
ds
- the containing datasetctv
- the coordinate transform variable.
- Returns:
- CoordinateTransform
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 datasettimeDim
- the time dimensionvCT
- the vertical coordinate transform
- Returns:
- ucar.unidata.geoloc.vertical.VerticalTransform math transform
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.