ucar.unidata.geoloc.vertical
Class VTfromExistingData

java.lang.Object
  extended by ucar.unidata.geoloc.vertical.VerticalTransformImpl
      extended by ucar.unidata.geoloc.vertical.VTfromExistingData
All Implemented Interfaces:
VerticalTransform

public class VTfromExistingData
extends VerticalTransformImpl

This implements a VerticalTransform using an existing 3D variable. This is a common case when the 3D pressure or height field is stored in the file.

Author:
john

Field Summary
static java.lang.String existingDataField
          The name of the Parameter whose value is the variable that contains the 2D Height or Pressure field
 
Fields inherited from class ucar.unidata.geoloc.vertical.VerticalTransformImpl
units
 
Constructor Summary
VTfromExistingData(NetcdfDataset ds, Dimension timeDim, VerticalCT vCT)
          Constructor.
 
Method Summary
 ArrayDouble.D3 getCoordinateArray(int timeIndex)
          _more_
 
Methods inherited from class ucar.unidata.geoloc.vertical.VerticalTransformImpl
getTimeDimension, getUnitString, isTimeDependent, readArray, subset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

existingDataField

public static final java.lang.String existingDataField
The name of the Parameter whose value is the variable that contains the 2D Height or Pressure field

See Also:
Constant Field Values
Constructor Detail

VTfromExistingData

public VTfromExistingData(NetcdfDataset ds,
                          Dimension timeDim,
                          VerticalCT vCT)
Constructor.

Parameters:
ds - _more_
timeDim - _more_
vCT - _more_
Method Detail

getCoordinateArray

public ArrayDouble.D3 getCoordinateArray(int timeIndex)
                                  throws java.io.IOException,
                                         InvalidRangeException
_more_

Specified by:
getCoordinateArray in interface VerticalTransform
Specified by:
getCoordinateArray in class VerticalTransformImpl
Parameters:
timeIndex - _more_
Returns:
_more_
Throws:
java.io.IOException - _more_
InvalidRangeException - _more_