public class WindBarbProfile extends WindProfile
DIRECTION, GEOPOTENTIAL_ALTITUDE, GEOPOTENTIAL_ALTITUDE_EXTENT, MAXIMUM_SPEED, PRESSURE, SPEED, WIND_PROFILE
cnt, label
DISPLAY, parent, SCALAR_MAP_SET
Modifier | Constructor and Description |
---|---|
|
WindBarbProfile(visad.LocalDisplay display)
Constructs from a VisAD display.
|
|
WindBarbProfile(visad.LocalDisplay display,
AerologicalCoordinateSystem cs)
Constructs from a VisAD display.
|
protected |
WindBarbProfile(WindBarbProfile that)
Constructs from another instance.
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
boolean |
equals(java.lang.Object obj)
Indicates if this instance is identical to another object.
|
AerologicalCoordinateSystem |
getCoordinateSystem()
Set the coordinate system for this display.
|
protected visad.FlatField |
getMissingWindField()
Returns an instance of a wind field with no values.
|
protected visad.Field |
getProfile()
Returns the wind profile.
|
int |
hashCode()
Returns the hash code of this instance.
|
void |
setCoordinateSystem(AerologicalCoordinateSystem acs)
Set the coordinate system for this display.
|
void |
setOriginalProfile()
Resets the vertical profile of the horizontal wind to the profile of
the last setProfile().
|
void |
setProfile(visad.Field profile)
Sets the wind profile.
|
protected void |
setSpeedAndDirection()
Sets the wind speed and direction properties.
|
void |
setWindLevels(visad.Gridded1DSet levels)
Set the levels of the wind profile to display.
|
ensureCartesian, getDirection, getGeopotentialAltitude, getGeopotentialAltitudeExtent, getGeopotentialAltitudeRealType, getMaximumSpeed, getPressure, getSoutherlyWindRealType, getSpeed, getWesterlyWindRealType, profileChange, setAltitudeExtent, setDirection, setGeopotentialAltitude, setMaximumSpeed, setPressure, setSpeed
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, 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, toString
addConstantMaps, 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, setSelectedRange
public WindBarbProfile(visad.LocalDisplay display) throws visad.VisADException, java.rmi.RemoteException
display
- The VisAD display. (not used)visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public WindBarbProfile(visad.LocalDisplay display, AerologicalCoordinateSystem cs) throws visad.VisADException, java.rmi.RemoteException
display
- The VisAD display. (not used)cs
- The AerologicalCoordinateSystemvisad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected WindBarbProfile(WindBarbProfile that) throws java.rmi.RemoteException, visad.VisADException
that
- The other instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setCoordinateSystem(AerologicalCoordinateSystem acs) throws visad.VisADException, java.rmi.RemoteException
acs
- the coordinate systemjava.rmi.RemoteException
- Java RMI failurevisad.VisADException
- VisAD failurepublic AerologicalCoordinateSystem getCoordinateSystem()
protected visad.FlatField getMissingWindField()
getMissingWindField
in class WindProfile
public void setProfile(visad.Field profile) throws visad.VisADException, java.rmi.RemoteException
setProfile
in class WindProfile
profile
- The wind profile.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setOriginalProfile() throws visad.VisADException, java.rmi.RemoteException
setOriginalProfile
in class WindProfile
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected visad.Field getProfile() throws visad.VisADException, java.rmi.RemoteException
getProfile
in class WindProfile
java.rmi.RemoteException
visad.VisADException
public void setWindLevels(visad.Gridded1DSet levels) throws java.rmi.RemoteException, visad.VisADException
setWindLevels
in class WindProfile
levels
- the set of levels (if null, display all);visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected void setSpeedAndDirection() throws java.rmi.RemoteException, visad.VisADException
setSpeedAndDirection
in class WindProfile
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public boolean equals(java.lang.Object obj)
equals
in class WindProfile
obj
- The other object.true
if and only if this instance
is identical to the other object.public int hashCode()
hashCode
in class WindProfile
public Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay
in class CompositeDisplayable
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.