|
||||||||||
| 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
ucar.unidata.view.sounding.WindBarbProfile
public class WindBarbProfile
Provides support for the display of a wind profile on in an AerologicalDisplay as a set of as a set of wind barbs. Winds must be of form CartesianHorizontalWindOfPressure;
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.view.sounding.WindProfile |
|---|
DIRECTION, GEOPOTENTIAL_ALTITUDE, GEOPOTENTIAL_ALTITUDE_EXTENT, MAXIMUM_SPEED, PRESSURE, SPEED, WIND_PROFILE |
| 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 | |
|---|---|
|
WindBarbProfile(LocalDisplay display)
Constructs from a VisAD display. |
|
WindBarbProfile(LocalDisplay display,
AerologicalCoordinateSystem cs)
Constructs from a VisAD display. |
protected |
WindBarbProfile(WindBarbProfile that)
Constructs from another instance. |
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
boolean |
equals(Object obj)
Indicates if this instance is identical to another object. |
AerologicalCoordinateSystem |
getCoordinateSystem()
Set the coordinate system for this display. |
protected FlatField |
getMissingWindField()
Returns an instance of a wind field with no values. |
protected 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(Field profile)
Sets the wind profile. |
protected void |
setSpeedAndDirection()
Sets the wind speed and direction properties. |
void |
setWindLevels(Gridded1DSet levels)
Set the levels of the wind profile to display. |
| Methods inherited from class ucar.unidata.view.sounding.WindProfile |
|---|
ensureCartesian, getDirection, getGeopotentialAltitude, getGeopotentialAltitudeExtent, getGeopotentialAltitudeRealType, getMaximumSpeed, getPressure, getSoutherlyWindRealType, getSpeed, getWesterlyWindRealType, profileChange, setAltitudeExtent, setDirection, setGeopotentialAltitude, setMaximumSpeed, setPressure, setSpeed |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WindBarbProfile(LocalDisplay display)
throws VisADException,
RemoteException
display - The VisAD display. (not used)
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public WindBarbProfile(LocalDisplay display,
AerologicalCoordinateSystem cs)
throws VisADException,
RemoteException
display - The VisAD display. (not used)cs - The AerologicalCoordinateSystem
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected WindBarbProfile(WindBarbProfile that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void setCoordinateSystem(AerologicalCoordinateSystem acs)
throws VisADException,
RemoteException
acs - the coordinate system
RemoteException - Java RMI failure
VisADException - VisAD failurepublic AerologicalCoordinateSystem getCoordinateSystem()
protected FlatField getMissingWindField()
getMissingWindField in class WindProfile
public void setProfile(Field profile)
throws VisADException,
RemoteException
setProfile in class WindProfileprofile - The wind profile.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setOriginalProfile()
throws VisADException,
RemoteException
setOriginalProfile in class WindProfileVisADException - VisAD failure.
RemoteException - Java RMI failure.
protected Field getProfile()
throws VisADException,
RemoteException
getProfile in class WindProfileRemoteException
VisADException
public void setWindLevels(Gridded1DSet levels)
throws RemoteException,
VisADException
setWindLevels in class WindProfilelevels - the set of levels (if null, display all);
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setSpeedAndDirection()
throws RemoteException,
VisADException
setSpeedAndDirection in class WindProfileVisADException - VisAD failure.
RemoteException - Java RMI failure.public boolean equals(Object obj)
equals in class WindProfileobj - 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 RemoteException,
VisADException
cloneForDisplay in class CompositeDisplayableVisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||