ucar.nc2.dataset
Class VerticalCT

java.lang.Object
  extended by ucar.nc2.dataset.CoordinateTransform
      extended by ucar.nc2.dataset.VerticalCT
All Implemented Interfaces:
java.lang.Comparable

public class VerticalCT
extends CoordinateTransform

A VerticalCT is a CoordinateTransform function CT: (GeoZ) -> Height or Pressure. Typically it may be dependent also on X,Y and/or Time. CT: (X,Y,GeoZ,Time) -> Height or Pressure. This class just records the transformation parameters. The mathematical transformation itself is delegated to a class implementing ucar.unidata.geoloc.vertical.VerticalTransform;

Version:
$Revision:51 $ $Date:2006-07-12 17:13:13Z $
Author:
caron

Nested Class Summary
static class VerticalCT.Type
          Enumeration of known Vertical transformations.
 
Constructor Summary
VerticalCT(java.lang.String name, java.lang.String authority, VerticalCT.Type type, CoordTransBuilderIF builder)
          Create a Vertical Coordinate Transform.
VerticalCT(VerticalCT from)
          Copy Constructor
 
Method Summary
 CoordTransBuilderIF getBuilder()
          get the Vertical Transform function
 VerticalTransform getVerticalTransform()
          get the Vertical Transform function
 VerticalCT.Type getVerticalTransformType()
          get the Vertical Transform type
 VerticalTransform makeVerticalTransform(NetcdfDataset ds, Dimension timeDim)
          use the builder to make the Vertical Transform function
 void setVerticalTransform(VerticalTransform vt)
          set the Vertical Transform function
 
Methods inherited from class ucar.nc2.dataset.CoordinateTransform
addParameter, compareTo, equals, findParameterIgnoreCase, getAuthority, getName, getParameters, getTransformType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerticalCT

public VerticalCT(java.lang.String name,
                  java.lang.String authority,
                  VerticalCT.Type type,
                  CoordTransBuilderIF builder)
Create a Vertical Coordinate Transform.

Parameters:
name - name of transform, must be unique within the dataset.
authority - naming authority.
type - type of vertical transform
builder - creates the VerticalTransform

VerticalCT

public VerticalCT(VerticalCT from)
Copy Constructor

Parameters:
from - copy from this one
Method Detail

getVerticalTransformType

public VerticalCT.Type getVerticalTransformType()
get the Vertical Transform type


getVerticalTransform

public VerticalTransform getVerticalTransform()
get the Vertical Transform function


getBuilder

public CoordTransBuilderIF getBuilder()
get the Vertical Transform function


setVerticalTransform

public void setVerticalTransform(VerticalTransform vt)
set the Vertical Transform function


makeVerticalTransform

public VerticalTransform makeVerticalTransform(NetcdfDataset ds,
                                               Dimension timeDim)
use the builder to make the Vertical Transform function