Package ucar.nc2.dt.point
Class DapperDataset.SeqPointObs
- java.lang.Object
-
- ucar.nc2.dt.point.PointObsDatatypeImpl
-
- ucar.nc2.dt.point.DapperDataset.SeqPointObs
-
- All Implemented Interfaces:
Comparable
,PointObsDatatype
- Enclosing class:
- DapperDataset
public class DapperDataset.SeqPointObs extends PointObsDatatypeImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected LatLonPointImpl
llpt
protected int
recno
protected StructureData
sdata
-
Fields inherited from class ucar.nc2.dt.point.PointObsDatatypeImpl
location, nomTime, obsTime
-
-
Constructor Summary
Constructors Modifier Constructor Description SeqPointObs(int recno, StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatypeprotected
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
recno
protected int recno
-
llpt
protected LatLonPointImpl llpt
-
sdata
protected StructureData sdata
-
-
Constructor Detail
-
SeqPointObs
protected 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.
-
SeqPointObs
public 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
-
-