Package ucar.nc2.dt.point
Class DapperDataset.SeqStationObs
- java.lang.Object
-
- ucar.nc2.dt.point.PointObsDatatypeImpl
-
- ucar.nc2.dt.point.StationObsDatatypeImpl
-
- ucar.nc2.dt.point.DapperDataset.SeqStationObs
-
- All Implemented Interfaces:
Comparable
,PointObsDatatype
,StationObsDatatype
- Enclosing class:
- DapperDataset
public class DapperDataset.SeqStationObs extends StationObsDatatypeImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected StructureData
sdata
-
Fields inherited from class ucar.nc2.dt.point.StationObsDatatypeImpl
station
-
Fields inherited from class ucar.nc2.dt.point.PointObsDatatypeImpl
location, nomTime, obsTime
-
-
Constructor Summary
Constructors Constructor Description SeqStationObs(Station s, double obsTime, StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructureData
getData()
The actual data of the observation.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.StationObsDatatypeImpl
getStation
-
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
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface ucar.nc2.dt.PointObsDatatype
getLocation, getNominalTime, getObservationTime
-
-
-
-
Field Detail
-
sdata
protected StructureData sdata
-
-
Constructor Detail
-
SeqStationObs
public SeqStationObs(Station s, double obsTime, StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype- Parameters:
sdata
- the structure data
-
-
Method Detail
-
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
-
-