Package ucar.visad.quantities
Class PolarHorizontalWind
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.VectorQuantity
ucar.visad.quantities.Wind
ucar.visad.quantities.HorizontalWind
ucar.visad.quantities.PolarHorizontalWind
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
Nested ClassesModifier and TypeClassDescriptionstatic final class
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
Modifier and TypeMethodDescriptionstatic RealType
Obtain the RealType of the direction component.static RealTupleType
Obtains the RealTupleType associated with this class.static RealType
Obtain the RealType of the speed component.static RealTuple
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
-
Method Details
-
getRealTupleType
Obtains the RealTupleType associated with this class.- Returns:
- The RealTupleType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-
getSpeedRealType
Obtain the RealType of the speed component.- Returns:
- The RealType of the speed compoment.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
getDirectionRealType
Obtain the RealType of the direction component.- Returns:
- The RealType of the direction compoment.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
newRealTuple
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.
-