public abstract class WindProfile extends CompositeDisplayable
| Modifier and Type | Field and Description |
|---|---|
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 geopotential altitude property.
|
static java.lang.String |
SPEED
The name of the wind speed property.
|
static java.lang.String |
WIND_PROFILE
The name of the wind profile property.
|
cnt, labelDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
protected |
WindProfile()
Constructs from nothing.
|
protected |
WindProfile(WindProfile that)
Constructs from another instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected static visad.FlatField |
ensureCartesian(visad.FlatField input)
Ensures a wind profile in cartesian coordinates.
|
boolean |
equals(java.lang.Object obj)
Indicates if this instance is identical to another object.
|
visad.Real |
getDirection()
Returns the wind direction property.
|
visad.Real |
getGeopotentialAltitude()
Returns the geopotential altitude property.
|
visad.RealTuple |
getGeopotentialAltitudeExtent()
Returns the geopotential altitude extent property.
|
static visad.RealType |
getGeopotentialAltitudeRealType()
Returns the type of the geopotential altitude.
|
visad.Real |
getMaximumSpeed()
Returns the maximum wind speed property.
|
protected visad.FlatField |
getMissingWindField()
Returns an instance of a wind field with no values.
|
visad.Real |
getPressure()
Returns the pressure property.
|
protected abstract visad.Field |
getProfile()
Returns the vertical profile of the horizontal wind.
|
static visad.RealType |
getSoutherlyWindRealType()
Returns the type of the southerly wind.
|
visad.Real |
getSpeed()
Returns the wind speed property.
|
static visad.RealType |
getWesterlyWindRealType()
Returns the type of the westerly wind.
|
int |
hashCode()
Returns the hash code of this instance.
|
protected void |
profileChange(visad.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(visad.Real dir)
Set the direction value
|
void |
setGeopotentialAltitude(visad.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(visad.Real pressure)
Sets the pressure property.
|
abstract void |
setProfile(visad.Field profile)
Sets the vertical profile of the horizontal wind.
|
protected void |
setSpeed(visad.Real spd)
Set the speed property
|
protected void |
setSpeedAndDirection()
Sets the wind speed and direction properties.
|
abstract 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 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
protected WindProfile()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected WindProfile(WindProfile that) throws java.rmi.RemoteException, visad.VisADException
that - The other instance.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.protected visad.FlatField getMissingWindField()
public abstract void setProfile(visad.Field profile)
throws visad.VisADException,
java.rmi.RemoteException
profile - The vertical profile of the horizontal wind.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public abstract void setOriginalProfile()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected abstract visad.Field getProfile()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void profileChange(visad.Field oldProfile)
throws visad.VisADException,
java.rmi.RemoteException
oldProfile - The old profile. May be null.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setAltitudeExtent()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setMaximumSpeed()
throws java.rmi.RemoteException,
visad.VisADException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getMaximumSpeed()
public visad.RealTuple getGeopotentialAltitudeExtent()
public void setGeopotentialAltitude(visad.Real geopotentialAltitude)
throws java.rmi.RemoteException,
visad.VisADException
geopotentialAltitude - The new value.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getGeopotentialAltitude()
public void setPressure(visad.Real pressure)
throws java.rmi.RemoteException,
visad.VisADException
pressure - The new value.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getPressure()
protected void setSpeedAndDirection()
throws java.rmi.RemoteException,
visad.VisADException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getSpeed()
public visad.Real getDirection()
public static visad.RealType getGeopotentialAltitudeRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public static visad.RealType getWesterlyWindRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public static visad.RealType getSoutherlyWindRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The other object.true if and only if this instance
is identical to the other object.public int hashCode()
hashCode in class java.lang.Objectprotected static visad.FlatField ensureCartesian(visad.FlatField input)
throws visad.VisADException,
java.rmi.RemoteException
input - Wind profile in cartesian or polar coordinates.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public abstract void setWindLevels(visad.Gridded1DSet levels)
throws visad.VisADException,
java.rmi.RemoteException
levels - the set of levels (if null, display all);visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.protected void setSpeed(visad.Real spd)
spd - speed valueprotected void setDirection(visad.Real dir)
dir - direction value