public class WindProfileSet extends CompositeDisplayable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIVE_WIND_PROFILE
The name of the active wind profile property.
|
static java.lang.String |
DIRECTION
The name of the wind direction property.
|
static java.lang.String |
GEOPOTENTIAL_ALTITUDE
The name of the geopotential altitude property.
|
static java.lang.String |
GEOPOTENTIAL_ALTITUDE_EXTENT
The name of the geopotential altitude extent property.
|
static java.lang.String |
MAXIMUM_SPEED
The name of the maximum wind speed property.
|
static java.lang.String |
PRESSURE
The name of the pressure property.
|
static java.lang.String |
SPEED
The name of the wind speed property.
|
cnt, labelDISPLAY, parent, SCALAR_MAP_SET| Constructor and Description |
|---|
WindProfileSet(WindProfile missingWindProfile,
visad.LocalDisplay display)
Constructs with a given missing wind profile and VisAD display.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
visad.Real |
getDirection()
Returns the profile wind direction property.
|
visad.Real |
getGeopotentialAltitude()
Returns the geopotential altitude property.
|
visad.RealTuple |
getGeopotentialAltitudeExtent()
Returns the geopotential altitude extent property.
|
visad.RealType |
getGeopotentialAltitudeRealType()
Returns the type of the geopotential altitude quantity.
|
visad.Real |
getMaximumSpeed()
Returns the maximum profile wind speed property.
|
visad.RealType |
getSoutherlyWindRealType()
Returns the type of the southerly wind quantity.
|
visad.Real |
getSpeed()
Returns the profile wind speed property.
|
visad.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(visad.Real dir)
Sets the profile wind direction property.
|
void |
setGeopotentialAltitude(visad.Real geoAlt)
Sets the geopotential altitude property.
|
protected void |
setGeopotentialAltitudeExtent()
Sets the geopotential altitude extent property.
|
protected void |
setGeopotentialAltitudeExtent(visad.RealTuple extent)
Sets the geopotential altitude extent property.
|
protected void |
setMaximumSpeed(visad.Real speed)
Sets the maximum profile wind speed property.
|
void |
setOriginalProfile(int index)
Reset the profile at the given index
|
void |
setPressure(visad.Real pressure)
Sets the pressure property.
|
protected void |
setSpeed(visad.Real spd)
Sets the profile wind speed property.
|
void |
setWindLevels(visad.Gridded1DSet levels)
Set the levels of the wind profile to display.
|
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setPointSize, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringaddConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRangepublic static java.lang.String ACTIVE_WIND_PROFILE
public static java.lang.String GEOPOTENTIAL_ALTITUDE
public static java.lang.String PRESSURE
public static java.lang.String SPEED
public static java.lang.String DIRECTION
public static java.lang.String GEOPOTENTIAL_ALTITUDE_EXTENT
public static java.lang.String MAXIMUM_SPEED
public WindProfileSet(WindProfile missingWindProfile, visad.LocalDisplay display) throws visad.VisADException, java.rmi.RemoteException
missingWindProfile - The missing wind profile.display - The VisAD display.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addWindProfile(WindProfile windProfile) throws java.rmi.RemoteException, visad.VisADException
windProfile - The wind profile to be added.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addWindProfile(int index,
WindProfile windProfile)
throws java.rmi.RemoteException,
visad.VisADException
index - The index of the wind profile.windProfile - The wind profile value.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void removeWindProfile(int index)
throws java.lang.IndexOutOfBoundsException,
java.rmi.RemoteException,
visad.VisADException
index - The index of the wind profile.java.lang.IndexOutOfBoundsException - The index is out of range.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setActiveWindProfile(int index)
throws java.rmi.RemoteException,
visad.VisADException
index - The index of the active wind profile. A value
of -1 means that there is to be no active
wind profile.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setActiveWindProfile(WindProfile profile) throws java.rmi.RemoteException, visad.VisADException
profile - The new value.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public WindProfile getActiveWindProfile()
public void setOriginalProfile(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - index of profilejava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic void setGeopotentialAltitude(visad.Real geoAlt)
throws java.rmi.RemoteException,
visad.VisADException
geoAlt - The new value.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getGeopotentialAltitude()
protected void setGeopotentialAltitudeExtent()
throws java.rmi.RemoteException,
visad.VisADException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setGeopotentialAltitudeExtent(visad.RealTuple extent)
extent - The new value.public visad.RealTuple getGeopotentialAltitudeExtent()
public void setWindLevels(visad.Gridded1DSet levels)
throws visad.VisADException,
java.rmi.RemoteException
levels - the set of levels (if null, display all);visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setPressure(visad.Real pressure)
throws java.rmi.RemoteException,
visad.VisADException
pressure - The pressure property.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setSpeed(visad.Real spd)
spd - The new value.public visad.Real getSpeed()
protected void setDirection(visad.Real dir)
dir - The new value.public visad.Real getDirection()
public visad.RealType getGeopotentialAltitudeRealType()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setMaximumSpeed(visad.Real speed)
speed - The new value.public visad.Real getMaximumSpeed()
public visad.RealType getWesterlyWindRealType()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.RealType getSoutherlyWindRealType()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void clear()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.