ucar.nc2.dt.point
Class PointObsDatatypeImpl
java.lang.Object
ucar.nc2.dt.point.PointObsDatatypeImpl
- All Implemented Interfaces:
- Comparable, PointObsDatatype
- Direct Known Subclasses:
- DapperDataset.SeqPointObs, RecordDatasetHelper.RecordPointObs, SequenceHelper.SeqPointObs, StationObsDatatypeImpl
public abstract class PointObsDatatypeImpl
- extends Object
- implements PointObsDatatype, Comparable
Abstract superclass for implemenation of PointObsDatatype.
Concrete subclass must implement getData();
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
location
protected EarthLocation location
obsTime
protected double obsTime
nomTime
protected double nomTime
PointObsDatatypeImpl
public PointObsDatatypeImpl()
PointObsDatatypeImpl
public PointObsDatatypeImpl(EarthLocation location,
double obsTime,
double nomTime)
getLocation
public EarthLocation getLocation()
- Description copied from interface:
PointObsDatatype
- Location of the observation
- Specified by:
getLocation
in interface PointObsDatatype
- Returns:
- the location of the observation
getNominalTime
public double getNominalTime()
- Description copied from interface:
PointObsDatatype
- Nominal time of the observation. Units are found from getTimeUnits() in the containing dataset.
- Specified by:
getNominalTime
in interface PointObsDatatype
- Returns:
- nominal time of the observation in units of getTimeUnits()
getObservationTime
public double getObservationTime()
- Description copied from interface:
PointObsDatatype
- Actual time of the observation. Units are found from getTimeUnits() in the containing dataset.
- Specified by:
getObservationTime
in interface PointObsDatatype
- Returns:
- actual time of the observation in units of getTimeUnits()
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.