|
||||||||||
| 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.WindProfileSet
public class WindProfileSet
Provides support for a CompositeDisplayable of WindProfile-s.
| Field Summary | |
|---|---|
static String |
ACTIVE_WIND_PROFILE
The name of the active wind profile property. |
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 pressure property. |
static String |
SPEED
The name of the wind speed 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 | |
|---|---|
WindProfileSet(WindProfile missingWindProfile,
LocalDisplay display)
Constructs with a given missing wind profile and VisAD display. |
|
| Method Summary | |
|---|---|
void |
addWindProfile(int index,
WindProfile windProfile)
Sets a wind profile of this composite. |
void |
addWindProfile(WindProfile windProfile)
Adds a wind profile to this composite. |
void |
clear()
Clears the wind profiles from this composite. |
WindProfile |
getActiveWindProfile()
Returns the active wind profile property. |
Real |
getDirection()
Returns the profile wind direction property. |
Real |
getGeopotentialAltitude()
Returns the geopotential altitude property. |
RealTuple |
getGeopotentialAltitudeExtent()
Returns the geopotential altitude extent property. |
RealType |
getGeopotentialAltitudeRealType()
Returns the type of the geopotential altitude quantity. |
Real |
getMaximumSpeed()
Returns the maximum profile wind speed property. |
RealType |
getSoutherlyWindRealType()
Returns the type of the southerly wind quantity. |
Real |
getSpeed()
Returns the profile wind speed property. |
RealType |
getWesterlyWindRealType()
Returns the type of the westerly wind quantity. |
void |
removeWindProfile(int index)
Removes a wind profile from this composite. |
void |
setActiveWindProfile(int index)
Sets the index of the active wind-profile. |
protected void |
setActiveWindProfile(WindProfile profile)
Sets the active wind profile property. |
protected void |
setDirection(Real dir)
Sets the profile wind direction property. |
void |
setGeopotentialAltitude(Real geoAlt)
Sets the geopotential altitude property. |
protected void |
setGeopotentialAltitudeExtent()
Sets the geopotential altitude extent property. |
protected void |
setGeopotentialAltitudeExtent(RealTuple extent)
Sets the geopotential altitude extent property. |
protected void |
setMaximumSpeed(Real speed)
Sets the maximum profile wind speed property. |
void |
setOriginalProfile(int index)
Reset the profile at the given index |
void |
setPressure(Real pressure)
Sets the pressure property. |
protected void |
setSpeed(Real spd)
Sets the profile wind speed property. |
void |
setWindLevels(Gridded1DSet levels)
Set the levels of the wind profile to display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String ACTIVE_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 |
|---|
public WindProfileSet(WindProfile missingWindProfile,
LocalDisplay display)
throws VisADException,
RemoteException
missingWindProfile - The missing wind profile.display - The VisAD display.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void addWindProfile(WindProfile windProfile)
throws RemoteException,
VisADException
windProfile - The wind profile to be added.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void addWindProfile(int index,
WindProfile windProfile)
throws RemoteException,
VisADException
index - The index of the wind profile.windProfile - The wind profile value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void removeWindProfile(int index)
throws IndexOutOfBoundsException,
RemoteException,
VisADException
index - The index of the wind profile.
IndexOutOfBoundsException - The index is out of range.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setActiveWindProfile(int index)
throws RemoteException,
VisADException
index - The index of the active wind profile. A value
of -1 means that there is to be no active
wind profile.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setActiveWindProfile(WindProfile profile)
throws RemoteException,
VisADException
profile - The new value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public WindProfile getActiveWindProfile()
public void setOriginalProfile(int index)
throws VisADException,
RemoteException
index - index of profile
RemoteException - Java RMI problem
VisADException - VisAD problem
public void setGeopotentialAltitude(Real geoAlt)
throws RemoteException,
VisADException
geoAlt - The new value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getGeopotentialAltitude()
protected void setGeopotentialAltitudeExtent()
throws RemoteException,
VisADException
VisADException - VisAD failure.
RemoteException - Java RMI failure.protected void setGeopotentialAltitudeExtent(RealTuple extent)
extent - The new value.public RealTuple getGeopotentialAltitudeExtent()
public void setWindLevels(Gridded1DSet levels)
throws VisADException,
RemoteException
levels - the set of levels (if null, display all);
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setPressure(Real pressure)
throws RemoteException,
VisADException
pressure - The pressure property.
VisADException - VisAD failure.
RemoteException - Java RMI failure.protected void setSpeed(Real spd)
spd - The new value.public Real getSpeed()
protected void setDirection(Real dir)
dir - The new value.public Real getDirection()
public RealType getGeopotentialAltitudeRealType()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.protected void setMaximumSpeed(Real speed)
speed - The new value.public Real getMaximumSpeed()
public RealType getWesterlyWindRealType()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public RealType getSoutherlyWindRealType()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void clear()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||