|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.beans.InvisiblePropertiedBean
ucar.unidata.data.sounding.RAOB
public final class RAOB
Provides support for soundings from RAdiosonde OBservations.
This class is a JavaBean.
Instances are modifiable.
| Nested Class Summary | |
|---|---|
protected static class |
RAOB.Contribution
Class Contribution. |
static class |
RAOB.MandatoryPressureProfile
Provides support for mandatory pressure data. |
static class |
RAOB.MandatoryWindProfile
Provides support for mandatory wind data. |
static class |
RAOB.MaximumWindProfile
Provides support for maximum wind data. |
static class |
RAOB.SignificantTemperatureProfile
Provides support for significant temperature data. |
static class |
RAOB.SignificantWindProfile
Provides support for significant wind data. |
static class |
RAOB.TropopauseProfile
Provides support for tropopause data. |
protected static class |
RAOB.ValidSegmentSet
Provides support for run-length encoded sets of valid-data segments. |
| Constructor Summary | |
|---|---|
RAOB()
Constructs from nothing. |
|
| Method Summary | |
|---|---|
protected boolean |
adjustCoordinateSystem(CoordinateSystem cs,
Field oldField,
Property property)
Handles a change to a coordinate system transformation. |
protected static void |
adjustData(float[][] domainValues,
float[][] rangeValues,
boolean increasing)
Adjusts outside data. |
protected static FlatField |
ensureDomain1D(FlatField field,
RealTupleType newDomainType,
CoordinateSystem coordinateSystem)
Ensures that a FlatField has a particular 1-D domain. |
protected static FlatField |
ensureValidRange(FlatField flatField)
Ensures that the range of a 1-D FlatField is maximally valid by removing points with invalid data if necessary. |
LinkSet |
getActiveLinks()
Gets the active links between input profiles and output profiles. |
FlatField |
getDewPointProfile()
Gets the current dew-point profile property. |
CoordinateSystem |
getGeopotentialAltitudeCoordinateSystem()
Gets the GeopotentialAltitude <-> Altitude coordinate system transformation property. |
Real |
getGravity()
Gets the gravity value. |
Field |
getMandatoryPressureProfile()
Gets the mandatory-pressure-profile property. |
Field |
getMandatoryWindProfile()
Gets the mandatory-wind-profile property. |
Field |
getMaximumWindProfile()
Gets the maximum-wind-profile property. |
LinkSet |
getPossibleLinks()
Gets the set of all possible links between input profiles and output profiles. |
CoordinateSystem |
getPressureCoordinateSystem()
Gets the Pressure <-> Altitude coordinate system transformation property. |
Field |
getSignificantTemperatureProfile()
Gets the significant-temperature-profile property. |
Field |
getSignificantWindProfile()
Gets the significant-wind-profile property. |
FlatField |
getTemperatureProfile()
Gets the current temperature profile property. |
Field |
getTropopauseProfile()
Gets the tropopause-profile property. |
FlatField |
getWindProfile()
Gets the current wind profile property. |
static RAOB.MandatoryPressureProfile |
newMandatoryPressureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions,
Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes)
Creates an instance of a MandatoryPressureProfile. |
static RAOB.MandatoryWindProfile |
newMandatoryWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Creates an instance of a MandatoryWindProfile. |
static RAOB.MaximumWindProfile |
newMaximumWindProfile(Unit pressureUnit,
float[] pressures,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Creates an instance of a MaximumWindProfile. |
protected static Set |
newSet(RealTupleType type,
float[] values,
Unit unit)
Creates a domain set. |
static RAOB.SignificantTemperatureProfile |
newSignificantTemperatureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints)
Creates an instance of a SignificantTemperatureProfile. |
static RAOB.SignificantWindProfile |
newSignificantWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Creates an instance of a SignificantWindProfile. |
static RAOB.TropopauseProfile |
newTropopauseProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Creates an instance of a TropopauseProfile. |
void |
setActiveLinks(LinkSet links)
Sets the active links between input profiles and output profiles. |
void |
setGravity(Real gravity)
Sets the gravity property. |
void |
setMandatoryPressureProfile(Field field)
Sets the mandatory-pressure-profile property. |
void |
setMandatoryPressureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions,
Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes)
Set the mandatory pressure profile for this RAOB. |
void |
setMandatoryWindProfile(Field field)
Sets the mandatory-wind-profile property. |
void |
setMandatoryWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Set the mandatory wind profile. |
void |
setMaximumWindProfile(Field field)
Sets the maximum-wind-profile property. |
void |
setMaximumWindProfile(Unit pressureUnit,
float[] pressures,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Set the maximum wind profile for this RAOB. |
void |
setSignificantTemperatureProfile(Field field)
Sets the significant-temperature-profile property. |
void |
setSignificantTemperatureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints)
Set the significant temperature profile for this RAOB. |
void |
setSignificantWindProfile(Field field)
Sets the significant-wind-profile property. |
void |
setSignificantWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
Set the significant wind profiler for this RAOB. |
void |
setTropopauseProfile(Field field)
Sets the tropopause-profile property. |
| Methods inherited from class ucar.unidata.beans.InvisiblePropertiedBean |
|---|
addProperty, addPropertyChangeListener, addPropertyChangeListener, disablePropertyChangeEvents, enablePropertyChangeEvents, getTitle, removePropertyChangeListener, removePropertyChangeListener, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RAOB()
throws VisADException
VisADException - Couldn't create necessary VisAD object.| Method Detail |
|---|
public void setMandatoryPressureProfile(Field field)
throws VisADException,
RemoteException,
PropertyVetoException
field - Mandatory pressure profile: pressure ->
(temperature, dew point, wind, geopotential
height). May be null.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.
public void setMandatoryPressureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions,
Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes)
throws SetException,
RemoteException,
VisADException,
PropertyVetoException
pressureUnit - Unit of pressure valuespressures - array of pressure valuestemperatureUnit - Unit of temperature valuestemperatures - array of temperature valuesdewPointUnit - Unit of dewpoint valuesdewPoints - Array of dewpoint valuesspeedUnit - Unit of wind speed valuesspeeds - Array of wind speed valuesdirectionUnit - Unit of wind speed valuesdirections - Array of wind direction valuesgeopotentialAltitudeUnit - Unit of height valuesgeopotentialAltitudes - Array of height values
PropertyVetoException - couldn't set the property
RemoteException - Java RMI error
SetException - bad pressure values
VisADException - Couldn't create a VisAD objectpublic Field getMandatoryPressureProfile()
null but may
be empty.
public void setSignificantTemperatureProfile(Field field)
throws VisADException,
RemoteException,
PropertyVetoException
field - Significant temperature profile: pressure ->
(temperature, dew point). May be
null.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.
public void setSignificantTemperatureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints)
throws VisADException,
RemoteException,
PropertyVetoException
pressureUnit - Unit of pressure valuespressures - Array of pressure valuestemperatureUnit - Unit of temperature valuestemperatures - Array of temperature valuesdewPointUnit - Unit of dewpoint valuesdewPoints - Array of dewpoint values
PropertyVetoException - couldn't set the property
RemoteException - Java RMI problem
VisADException - VisAD problempublic Field getSignificantTemperatureProfile()
null but may
be empty.
public void setTropopauseProfile(Field field)
throws VisADException,
RemoteException,
PropertyVetoException
field - Tropopause profile: pressure -> (temperature,
dew point, wind). May be null.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.public Field getTropopauseProfile()
null but may be empty.
public void setMaximumWindProfile(Field field)
throws VisADException,
RemoteException,
PropertyVetoException
field - Maximum wind profile: pressure -> (speed,
direction). May be null.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.
public void setMaximumWindProfile(Unit pressureUnit,
float[] pressures,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException,
PropertyVetoException
pressureUnit - Unit of pressure valuespressures - Array of pressuresspeedUnit - Unit of wind speed valuesspeeds - Array of wind speed valuesdirectionUnit - Unit of wind direction valuesdirections - Array of wind direction values
PropertyVetoException - couldn't set the property
RemoteException - Java RMI problem
VisADException - VisAD problempublic Field getMaximumWindProfile()
null but may
be empty.
public void setMandatoryWindProfile(Field field)
throws VisADException,
RemoteException,
PropertyVetoException
field - Mandatory wind profile: geopotentialAltitude ->
(speed, direction). May be null.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.
public void setMandatoryWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException,
PropertyVetoException
geopotentialAltitudeUnit - Unit for heightsgeopotentialAltitudes - Array of height valuesspeedUnit - Unit for wind speed valuesspeeds - Array of wind speed valuesdirectionUnit - Unit of wind direction valuesdirections - Array of wind direction values
PropertyVetoException - A registered listener objected to the change,
which was not committed.
RemoteException - Java RMI exception.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.public Field getMandatoryWindProfile()
null but may
be empty.
public void setSignificantWindProfile(Field field)
throws VisADException,
RemoteException,
PropertyVetoException
field - Significant wind profile: geopotentialAltitude
-> (speed, direction). May be
null.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.
public void setSignificantWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException,
PropertyVetoException
geopotentialAltitudeUnit - Unit of height valuesgeopotentialAltitudes - Array of height valuesspeedUnit - Unit of wind speed valuesspeeds - Array of wind speed valuesdirectionUnit - Unit of wind direction valuesdirections - Array of wind direction values
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
profile remains unchanged.
RemoteException - Java RMI exception.public Field getSignificantWindProfile()
null but may be empty.
public void setGravity(Real gravity)
throws VisADException,
RemoteException,
PropertyVetoException
gravity - The new value for gravity.
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object. The
data remains unchanged.
RemoteException - Java RMI exception.public Real getGravity()
public CoordinateSystem getPressureCoordinateSystem()
public CoordinateSystem getGeopotentialAltitudeCoordinateSystem()
public FlatField getTemperatureProfile()
MathType of
the returned value is InSituAirTemperatureProfile.
public FlatField getDewPointProfile()
MathType of
the return value is DewPointProfile.
public FlatField getWindProfile()
public LinkSet getPossibleLinks()
public LinkSet getActiveLinks()
public void setActiveLinks(LinkSet links)
throws VisADException,
RemoteException,
PropertyVetoException
links - The active links between input profiles
and output profiles. Each element of
the set shall also be an element of
getPossibleLinks().
PropertyVetoException - A registered listener objected to the change,
which was not committed.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
protected static void adjustData(float[][] domainValues,
float[][] rangeValues,
boolean increasing)
domainValues - The domain values. The array needn't be
sorted and may contain NaN-s, infinities, and
duplicates.rangeValues - The range values.increasing - If true, then sort by increasing domain value;
otherwise, sort by decreasing domain value.
public static RAOB.MandatoryPressureProfile newMandatoryPressureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions,
Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes)
throws SetException,
RemoteException,
VisADException
pressureUnit - The unit of the pressure values.pressures - The pressure values in units of
pressureUnit. The array needn't
be sorted and may contain NaN-s and infinities.
The array is unmodified.temperatureUnit - The unit for the in situ temperature
values.temperatures - The in situ temperature values in units of
temperatureUnit corresponding to
the pressure values. The array is unmodified.dewPointUnit - The unit for the dew point temperature values.dewPoints - The dew point temperature values in units of
dewPointUnit corresponding to the
pressure values. The array is unmodified.speedUnit - The unit of wind speed.speeds - The speeds of the wind in units of
speedUnit corresponding to the
pressure values. The array is unmodified.directionUnit - The unit of meteorological direction.directions - The directions of the wind in units of
directionUnit corresponding to the
pressure values. The array is unmodified.geopotentialAltitudeUnit - The unit of the geopotential altitude values.geopotentialAltitudes - The geopotential altitude values in units
of geopotentialAltitudeUnit
corresponding to the pressure values. The array
is unmodified.
SetException - The pressure array has no valid data.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
public static RAOB.SignificantTemperatureProfile newSignificantTemperatureProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints)
throws VisADException,
RemoteException
pressureUnit - The unit of the pressure values.pressures - The pressure values in units of
pressureUnit. The array needn't be
sorted and may contain NaN-s and infinities.temperatureUnit - The unit for the in situ temperature
values.temperatures - The in situ temperature values in units of
temperatureUnit corresponding to
the pressure values.dewPointUnit - The unit for the dew point temperature values.dewPoints - The dew point temperature values in units of
dewPointUnit corresponding to the
pressure values.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
public static RAOB.TropopauseProfile newTropopauseProfile(Unit pressureUnit,
float[] pressures,
Unit temperatureUnit,
float[] temperatures,
Unit dewPointUnit,
float[] dewPoints,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException
pressureUnit - The unit of the pressure values.pressures - The pressure values in units of
pressureUnit. The array needn't be
sorted and may contain NaN-s and infinities.temperatureUnit - The unit for the in situ temperature
values.temperatures - The in situ temperature values in units of
temperatureUnit corresponding to
the pressure values.dewPointUnit - The unit for the dew point temperature values.dewPoints - The dew point temperature values in units of
dewPointUnit corresponding to the
pressure values.speedUnit - The unit of wind speed.speeds - The speeds of the wind in units of
speedUnit corresponding to the
pressure values.directionUnit - The unit of meteorological direction.directions - The directions of the wind in units of
directionUnit corresponding to the
pressure values.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
public static RAOB.MaximumWindProfile newMaximumWindProfile(Unit pressureUnit,
float[] pressures,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException
pressureUnit - The unit of the pressure values.pressures - The pressure values in units of
pressureUnit. The array needn't be
sorted and may contain NaN-s and infinities.speedUnit - The unit of wind speed.speeds - The speeds of the wind in units of
speedUnit corresponding to the
pressure values.directionUnit - The unit of meteorological direction.directions - The directions of the wind in units of
directionUnit corresponding to the
pressure values.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
public static RAOB.MandatoryWindProfile newMandatoryWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException
geopotentialAltitudeUnit - The unit of the geopotential altitude values.geopotentialAltitudes - The geopotential altitude values in units
of geopotentialAltitudeUnit. The
array needn't be sorted and may contain NaN-s
and infinities.speedUnit - The unit of wind speed.speeds - The speeds of the wind in units of
speedUnit corresponding to the
geopotential altitude values.directionUnit - The unit of meteorological direction.directions - The directions of the wind in units of
directionUnit corresponding to the
geopotential altitude values.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
public static RAOB.SignificantWindProfile newSignificantWindProfile(Unit geopotentialAltitudeUnit,
float[] geopotentialAltitudes,
Unit speedUnit,
float[] speeds,
Unit directionUnit,
float[] directions)
throws VisADException,
RemoteException
geopotentialAltitudeUnit - The unit of the geopotential altitude values.geopotentialAltitudes - The geopotential altitude values in units
of geopotentialAltitudeUnit. The
array needn't be sorted and may contain NaN-s
and infinities.speedUnit - The unit of wind speed.speeds - The speeds of the wind in units of
speedUnit corresponding to the
geopotential altitude values.directionUnit - The unit of meteorological direction.directions - The directions of the wind in units of
directionUnit corresponding to the
geopotential altitude values.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
protected static Set newSet(RealTupleType type,
float[] values,
Unit unit)
throws SetException,
RemoteException,
VisADException
type - The MathType of the set.values - The values of the set. Must have positive
length.unit - The unit of the values.
SetException - The value array has non-positive length.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected boolean adjustCoordinateSystem(CoordinateSystem cs,
Field oldField,
Property property)
throws VisADException,
RemoteException
cs - new CoordinateSystemoldField - old fieldproperty - property to change
RemoteException - Java RMI problem
VisADException - VisAD problem
protected static FlatField ensureDomain1D(FlatField field,
RealTupleType newDomainType,
CoordinateSystem coordinateSystem)
throws VisADException,
RemoteException
field - The FlatField to have the particular domain.newDomainType - The MathType of the particular domain for the
FlatField to have. Coordinate conversions are
done if and when necessary and possible.coordinateSystem - The CoordinateSystem which, together with
newDomainType, form the basis for
the desired domain.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
protected static FlatField ensureValidRange(FlatField flatField)
throws FieldException,
SetException,
VisADException,
RemoteException
flatField - The FlatField to be validated. Its domain shall
be a Gridded1DSet.
null if the
FlatField contains no valid range data.
FieldException - The domain of the FlatField isn't 1-D or the
domain isn't a Gridded1DSet.
SetException - A valid domain Set can't be created.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||