Package ucar.unidata.data.sounding
Class SoundingOb
java.lang.Object
ucar.unidata.data.sounding.SoundingOb
Provide support for an upper air observation with station information,
a timestamp, and data.
-
Constructor Summary
ConstructorsConstructorDescriptionNo-op constructor for XML persistenceSoundingOb
(SoundingStation station, DateTime timestamp) Create a sounding observation.SoundingOb
(SoundingStation station, DateTime timestamp, RAOB raob) Create a sounding observation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if another Object is equal to this onegetLabel()
Print a pretty version of the object.Get the MandatoryFile property.getRAOB()
Return the RAOB associated with this observationGet the SigFile property.Return the station information associated with this observationReturn the identifier of the station associated with this observationReturn the timestamp of this observationboolean
hasData()
Check that the raob has both a temperature profile and a dewpoint profile; else return false.void
setMandatoryFile
(String value) Set the MandatoryFile property.protected void
Set the RAOB membervoid
setSigFile
(String value) Set the SigFile property.void
Set the stationvoid
Set the date/timetoString()
Return a string representation of this SoundingOb
-
Constructor Details
-
SoundingOb
public SoundingOb()No-op constructor for XML persistence -
SoundingOb
Create a sounding observation.- Parameters:
station
- location information (lat, lon, id);timestamp
- time of the observation
-
SoundingOb
Create a sounding observation.- Parameters:
station
- location information (lat, lon, id);timestamp
- time of the observationraob
- the data
-
-
Method Details
-
getStation
Return the station information associated with this observation- Returns:
- the station
-
setStation
Set the station- Parameters:
s
- the station
-
getStationIdentifier
Return the identifier of the station associated with this observation- Returns:
- the station ID
-
hasData
public boolean hasData()Check that the raob has both a temperature profile and a dewpoint profile; else return false.- Returns:
- check to see if this has a temp and dewpoint profile
-
getRAOB
Return the RAOB associated with this observation- Returns:
- the RAOB
-
setRAOB
Set the RAOB member- Parameters:
r
- the RAOB
-
getTimestamp
Return the timestamp of this observation- Returns:
- the time stamp
-
setTimestamp
Set the date/time- Parameters:
d
- the timestamp
-
toString
Return a string representation of this SoundingOb -
getLabel
Print a pretty version of the object.- Returns:
- a pretty version of this object
-
equals
Check if another Object is equal to this one -
setMandatoryFile
Set the MandatoryFile property.- Parameters:
value
- The new value for MandatoryFile
-
getMandatoryFile
Get the MandatoryFile property.- Returns:
- The MandatoryFile
-
setSigFile
Set the SigFile property.- Parameters:
value
- The new value for SigFile
-
getSigFile
Get the SigFile property.- Returns:
- The SigFile
-