ucar.nc2.dt.point
Class SequenceHelper.SeqPointObs

java.lang.Object
  extended by ucar.nc2.dt.point.PointObsDatatypeImpl
      extended by ucar.nc2.dt.point.SequenceHelper.SeqPointObs
All Implemented Interfaces:
Comparable, PointObsDatatype
Enclosing class:
SequenceHelper

public class SequenceHelper.SeqPointObs
extends PointObsDatatypeImpl


Field Summary
protected  LatLonPointImpl llpt
           
protected  int recno
           
protected  StructureData sdata
           
 
Fields inherited from class ucar.nc2.dt.point.PointObsDatatypeImpl
location, nomTime, obsTime
 
Constructor Summary
protected SequenceHelper.SeqPointObs(EarthLocation location, double obsTime, double nomTime, int recno)
          Constructor for the case where you keep track of the location, time of each record, but not the data.
  SequenceHelper.SeqPointObs(int recno, StructureData sdata)
          Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype
 
Method Summary
 StructureData getData()
          The actual data of the observation.
 LatLonPoint getLatLon()
           
 Date getNominalTimeAsDate()
          Nominal time of the observation, as a Date.
 Date getObservationTimeAsDate()
          Actual time of the observation, as a Date.
 
Methods inherited from class ucar.nc2.dt.point.PointObsDatatypeImpl
compareTo, getLocation, getNominalTime, getObservationTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recno

protected int recno

llpt

protected LatLonPointImpl llpt

sdata

protected StructureData sdata
Constructor Detail

SequenceHelper.SeqPointObs

protected SequenceHelper.SeqPointObs(EarthLocation location,
                                     double obsTime,
                                     double nomTime,
                                     int recno)
Constructor for the case where you keep track of the location, time of each record, but not the data.


SequenceHelper.SeqPointObs

public SequenceHelper.SeqPointObs(int recno,
                                  StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype

Parameters:
recno - record number LOOK why do we need ??
sdata - the structure data
Method Detail

getLatLon

public LatLonPoint getLatLon()

getNominalTimeAsDate

public Date getNominalTimeAsDate()
Description copied from interface: PointObsDatatype
Nominal time of the observation, as a Date.

Returns:
nominal time of the observation as a Date

getObservationTimeAsDate

public Date getObservationTimeAsDate()
Description copied from interface: PointObsDatatype
Actual time of the observation, as a Date.

Returns:
actual time of the observation as a Date

getData

public StructureData getData()
                      throws IOException
Description copied from interface: PointObsDatatype
The actual data of the observation.

Returns:
the actual data of the observation.
Throws:
IOException - on io error


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.