ucar.unidata.data.point
Class PointObField

java.lang.Object
  extended by visad.ThingImpl
      extended by visad.DataImpl
          extended by visad.FunctionImpl
              extended by visad.FieldImpl
                  extended by ucar.unidata.data.point.PointObField
All Implemented Interfaces:
Serializable, Cloneable, PointOb, Data, Field, Function, Thing

public class PointObField
extends FieldImpl
implements PointOb

Implementation of PointOb as a FieldImpl.

Version:
$Revision: 1.10 $ $Date: 2006/12/01 20:42:34 $
Author:
MetApps Development Team
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class visad.DataImpl
DataImpl.Syncher
 
Field Summary
 
Fields inherited from interface ucar.unidata.data.point.PointOb
BAD_INDEX, PARAM_ALT, PARAM_ID, PARAM_IDN, PARAM_LAT, PARAM_LON, PARAM_TIME
 
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
PointObField(EarthLocation location, DateTime dateTime, Data data)
          Construct a new PointObField from the given location, date/time and data.
 
Method Summary
 Object clone()
          Clones this instance.
 Data getData()
          Get the data associated with this object.
 DateTime getDateTime()
          Get the time associated with this observation.
 EarthLocation getEarthLocation()
          Get the geolocated location of the observation.
 String toString()
          String representation of the point observation.
 
Methods inherited from class visad.FieldImpl
__getitem__, __len__, __setitem__, __setitem__, adjustSamplingError, binary, combine, combine, combine, combine, combine, computeRanges, derivative, derivative, derivative, derivative, derivative, domainEnumeration, domainFactor, domainFactor, domainMultiply, domainMultiply, domainMultiply, domainMultiply, equals, extract, extract, extract, getDefaultRangeUnits, getDomainCoordinateSystem, getDomainSet, getDomainUnits, getFloats, getFloats, getLength, getRangeCoordinateSystem, getRangeCoordinateSystem, getRangeUnits, getSample, getSample, getStringValues, getValues, getValues, isFlatField, isMissing, longString, resample, resampleDouble, setSample, setSample, setSample, setSample, setSample, setSamples, setSamples, setSamples, setSamples, unary
 
Methods inherited from class visad.FunctionImpl
__getitem__, __getitem__, evaluate, evaluate, evaluate, evaluate, getDomainDimension, resample
 
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, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface visad.Data
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, isMissing, local, log, log, longString, 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, unary
 
Methods inherited from interface visad.Thing
addReference, removeReference
 
Methods inherited from interface visad.Function
evaluate, evaluate, evaluate, evaluate, getDomainDimension, resample
 

Constructor Detail

PointObField

public PointObField(EarthLocation location,
                    DateTime dateTime,
                    Data data)
             throws VisADException,
                    RemoteException
Construct a new PointObField from the given location, date/time and data.

Parameters:
location - location of the observation
dateTime - date/time of the observation
data - associated data.
Throws:
RemoteException - Java RMI error
VisADException - VisAD Error
Method Detail

getEarthLocation

public EarthLocation getEarthLocation()
Get the geolocated location of the observation.

Specified by:
getEarthLocation in interface PointOb
Returns:
observation's geolocation or null if there is a problem

getDateTime

public DateTime getDateTime()
Get the time associated with this observation.

Specified by:
getDateTime in interface PointOb
Returns:
DateTime for this observation.

getData

public Data getData()
Get the data associated with this object.

Specified by:
getData in interface PointOb
Returns:
Data for this observation or null if there is a problem

clone

public final Object clone()
Clones this instance.

Overrides:
clone in class FieldImpl
Returns:
A clone of this instance.

toString

public String toString()
String representation of the point observation.

Overrides:
toString in class DataImpl
Returns:
this ob as a string.