|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.unidata.view.sounding.WindProfile
public abstract class WindProfile
Provides support for the display of a vertical profile of the horizontal wind.
| Field Summary | |
|---|---|
static String |
DIRECTION
The name of the wind direction property. |
static String |
GEOPOTENTIAL_ALTITUDE
The name of the geopotential altitude property. |
static String |
GEOPOTENTIAL_ALTITUDE_EXTENT
The name of the geopotential altitude extent property. |
static String |
MAXIMUM_SPEED
The name of the maximum wind speed property. |
static String |
PRESSURE
The name of the geopotential altitude property. |
static String |
SPEED
The name of the wind speed property. |
static String |
WIND_PROFILE
The name of the wind profile property. |
| Fields inherited from class ucar.visad.display.CompositeDisplayable |
|---|
cnt, label |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
protected |
WindProfile()
Constructs from nothing. |
protected |
WindProfile(WindProfile that)
Constructs from another instance. |
| Method Summary | |
|---|---|
protected static FlatField |
ensureCartesian(FlatField input)
Ensures a wind profile in cartesian coordinates. |
boolean |
equals(Object obj)
Indicates if this instance is identical to another object. |
Real |
getDirection()
Returns the wind direction property. |
Real |
getGeopotentialAltitude()
Returns the geopotential altitude property. |
RealTuple |
getGeopotentialAltitudeExtent()
Returns the geopotential altitude extent property. |
static RealType |
getGeopotentialAltitudeRealType()
Returns the type of the geopotential altitude. |
Real |
getMaximumSpeed()
Returns the maximum wind speed property. |
protected FlatField |
getMissingWindField()
Returns an instance of a wind field with no values. |
Real |
getPressure()
Returns the pressure property. |
protected abstract Field |
getProfile()
Returns the vertical profile of the horizontal wind. |
static RealType |
getSoutherlyWindRealType()
Returns the type of the southerly wind. |
Real |
getSpeed()
Returns the wind speed property. |
static RealType |
getWesterlyWindRealType()
Returns the type of the westerly wind. |
int |
hashCode()
Returns the hash code of this instance. |
protected void |
profileChange(Field oldProfile)
Handles a change to the vertical profile of the horizontal wind due to either explicit setting or direct manipulation by a VisAD DataRenderer. |
protected void |
setAltitudeExtent()
Sets the vertical extent of the wind profile. |
protected void |
setDirection(Real dir)
Set the direction value |
void |
setGeopotentialAltitude(Real geopotentialAltitude)
Sets the geopotential altitude property. |
protected void |
setMaximumSpeed()
Sets the maximum wind speed of the wind profile. |
abstract void |
setOriginalProfile()
Resets the vertical profile of the horizontal wind to the profile of the last setProfile(). |
void |
setPressure(Real pressure)
Sets the pressure property. |
abstract void |
setProfile(Field profile)
Sets the vertical profile of the horizontal wind. |
protected void |
setSpeed(Real spd)
Set the speed property |
protected void |
setSpeedAndDirection()
Sets the wind speed and direction properties. |
abstract void |
setWindLevels(Gridded1DSet levels)
Set the levels of the wind profile to display. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String WIND_PROFILE
public static String GEOPOTENTIAL_ALTITUDE
public static String PRESSURE
public static String SPEED
public static String DIRECTION
public static String GEOPOTENTIAL_ALTITUDE_EXTENT
public static String MAXIMUM_SPEED
| Constructor Detail |
|---|
protected WindProfile()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected WindProfile(WindProfile that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.| Method Detail |
|---|
protected FlatField getMissingWindField()
public abstract void setProfile(Field profile)
throws VisADException,
RemoteException
profile - The vertical profile of the horizontal wind.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public abstract void setOriginalProfile()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract Field getProfile()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void profileChange(Field oldProfile)
throws VisADException,
RemoteException
oldProfile - The old profile. May be null.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setAltitudeExtent()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setMaximumSpeed()
throws RemoteException,
VisADException
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getMaximumSpeed()
public RealTuple getGeopotentialAltitudeExtent()
public void setGeopotentialAltitude(Real geopotentialAltitude)
throws RemoteException,
VisADException
geopotentialAltitude - The new value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getGeopotentialAltitude()
public void setPressure(Real pressure)
throws RemoteException,
VisADException
pressure - The new value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getPressure()
protected void setSpeedAndDirection()
throws RemoteException,
VisADException
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getSpeed()
public Real getDirection()
public static RealType getGeopotentialAltitudeRealType()
throws VisADException
VisADException - VisAD failure.
public static RealType getWesterlyWindRealType()
throws VisADException
VisADException - VisAD failure.
public static RealType getSoutherlyWindRealType()
throws VisADException
VisADException - VisAD failure.public boolean equals(Object obj)
equals in class Objectobj - The other object.
true if and only if this instance
is identical to the other object.public int hashCode()
hashCode in class Object
protected static FlatField ensureCartesian(FlatField input)
throws VisADException,
RemoteException
input - Wind profile in cartesian or polar coordinates.
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
public abstract void setWindLevels(Gridded1DSet levels)
throws VisADException,
RemoteException
levels - the set of levels (if null, display all);
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.protected void setSpeed(Real spd)
spd - speed valueprotected void setDirection(Real dir)
dir - direction value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||