ucar.visad.quantities
Class PolarHorizontalWind

java.lang.Object
  extended by ucar.visad.quantities.Quantity
      extended by ucar.visad.quantities.VectorQuantity
          extended by ucar.visad.quantities.Wind
              extended by ucar.visad.quantities.HorizontalWind
                  extended by ucar.visad.quantities.PolarHorizontalWind

public final class PolarHorizontalWind
extends HorizontalWind

Provides support for the quantity of horizontal wind in polar coordinates. Instances of this class have CartesianHorizontalWind as their reference CoordinateSystem.

Author:
Steven R. Emmerson

Nested Class Summary
static class PolarHorizontalWind.PolarCoordinateSystem
          Provides support for transforming wind coordinates between polar and cartesian representations.
 
Field Summary
 
Fields inherited from class ucar.visad.quantities.HorizontalWind
DEFAULT_SPEED_UNIT
 
Method Summary
static RealType getDirectionRealType()
          Obtain the RealType of the direction component.
static RealTupleType getRealTupleType()
          Obtains the RealTupleType associated with this class.
static RealType getSpeedRealType()
          Obtain the RealType of the speed component.
static RealTuple newRealTuple(RealTuple uv)
          Returns a (speed,direction) tuple constructed from a (u,v) tuple.
 
Methods inherited from class ucar.visad.quantities.VectorQuantity
earthVectorType
 
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRealTupleType

public static RealTupleType getRealTupleType()
                                      throws VisADException
Obtains the RealTupleType associated with this class.

Returns:
The RealTupleType associated with this class.
Throws:
VisADException - Couldn't perform necessary VisAD operation.

getSpeedRealType

public static RealType getSpeedRealType()
                                 throws VisADException
Obtain the RealType of the speed component.

Returns:
The RealType of the speed compoment.
Throws:
VisADException - if a core VisAD failure occurs.

getDirectionRealType

public static RealType getDirectionRealType()
                                     throws VisADException
Obtain the RealType of the direction component.

Returns:
The RealType of the direction compoment.
Throws:
VisADException - if a core VisAD failure occurs.

newRealTuple

public static RealTuple newRealTuple(RealTuple uv)
                              throws VisADException,
                                     RemoteException
Returns a (speed,direction) tuple constructed from a (u,v) tuple.

Parameters:
uv - The (westerly,southerly) wind.
Returns:
The wind in polar coordinates.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.