Package ucar.unidata.data.point
Class StationObTuple
java.lang.Object
visad.ThingImpl
visad.DataImpl
visad.Tuple
ucar.unidata.data.point.StationObTuple
- All Implemented Interfaces:
Serializable
,Cloneable
,PointOb
,StationOb
,Data
,Thing
,TupleIface
Implementation of StationOb as a Tuple. This is immutable.
- Version:
- $Revision: 1.10 $ $Date: 2006/12/01 20:42:34 $
- Author:
- MetApps Development Team
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class visad.DataImpl
DataImpl.Syncher
-
Field Summary
Fields inherited from interface visad.Data
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE
-
Constructor Summary
ConstructorsConstructorDescriptionStationObTuple
(NamedLocation station, DateTime dateTime, Data data) Construct a new StationObTuple from the given station, date/time and data. -
Method Summary
Modifier and TypeMethodDescriptionfinal Object
clone()
Clones this instance.getData()
Get the data associated with this object.Get the time associated with this observation.Get the geolocated location of the observation.Get the station of the observation.Get the station's identifiertoString()
String representation of the station observation.Methods inherited from class visad.Tuple
__getitem__, __len__, adjustSamplingError, binary, buildTupleType, computeRanges, equals, getComponent, getComponents, getComponents, getDimension, getLength, getRealComponents, hashCode, isMissing, longString, makeTuple, unary
Methods inherited from class visad.DataImpl
__add__, __add__, __div__, __div__, __mod__, __mod__, __mul__, __mul__, __neg__, __pow__, __pow__, __radd__, __rdiv__, __rmod__, __rmul__, __rpow__, __rsub__, __sub__, __sub__, abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, main, max, max, min, min, multiply, multiply, negate, negate, notifyReferences, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary
Methods inherited from class visad.ThingImpl
addReference, removeReference
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface visad.Data
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary
Methods inherited from interface visad.Thing
addReference, removeReference
-
Constructor Details
-
StationObTuple
public StationObTuple(NamedLocation station, DateTime dateTime, Data data) throws VisADException, RemoteException Construct a new StationObTuple from the given station, date/time and data.- Parameters:
station
- station of the observationdateTime
- date/time of the observationdata
- associated data.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
-
Method Details
-
getStation
Get the station of the observation.- Specified by:
getStation
in interfaceStationOb
- Returns:
- observation's station
-
getEarthLocation
Get the geolocated location of the observation.- Specified by:
getEarthLocation
in interfacePointOb
- Returns:
- observation's geolocation
-
getDateTime
Get the time associated with this observation.- Specified by:
getDateTime
in interfacePointOb
- Returns:
- DateTime for this observation.
-
getData
Get the data associated with this object. -
getStationId
Get the station's identifier- Specified by:
getStationId
in interfaceStationOb
- Returns:
- station identifier
-
clone
Clones this instance. -
toString
String representation of the station observation.
-