public class RecordDatasetHelper.RecordPointObs extends PointObsDatatypeImpl
Modifier and Type | Field and Description |
---|---|
protected LatLonPointImpl |
llpt |
protected int |
recno |
protected StructureData |
sdata |
location, nomTime, obsTime
Modifier | Constructor and Description |
---|---|
protected |
RecordPointObs() |
protected |
RecordPointObs(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.
|
|
RecordPointObs(int recno,
StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype
|
Modifier and Type | Method and Description |
---|---|
StructureData |
getData()
The actual data of the observation.
|
LatLonPoint |
getLatLon() |
java.util.Date |
getNominalTimeAsDate()
Nominal time of the observation, as a Date.
|
java.util.Date |
getObservationTimeAsDate()
Actual time of the observation, as a Date.
|
compareTo, getLocation, getNominalTime, getObservationTime
protected int recno
protected LatLonPointImpl llpt
protected StructureData sdata
protected RecordPointObs()
protected RecordPointObs(EarthLocation location, double obsTime, double nomTime, int recno)
public RecordPointObs(int recno, StructureData sdata)
recno
- record number LOOK why do we need ??sdata
- the structure datapublic LatLonPoint getLatLon()
public java.util.Date getNominalTimeAsDate()
PointObsDatatype
public java.util.Date getObservationTimeAsDate()
PointObsDatatype
public StructureData getData() throws java.io.IOException
PointObsDatatype
java.io.IOException
- on io error