public class RecordDatasetHelper.RecordStationObs extends RecordDatasetHelper.RecordPointObs implements StationObsDatatype
llpt, recno, sdata
location, nomTime, obsTime
Modifier | Constructor and Description |
---|---|
protected |
RecordStationObs(int recno,
StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype
|
protected |
RecordStationObs(Station station,
double obsTime,
double nomTime,
int recno)
Constructor for the case where you keep track of the station, time of each record, but the data reading is deferred.
|
protected |
RecordStationObs(Station station,
double obsTime,
double nomTime,
StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype
|
protected |
RecordStationObs(Station station,
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.
|
Station |
getStation()
Station location of the observation
|
getLatLon, getNominalTimeAsDate, getObservationTimeAsDate
compareTo, getLocation, getNominalTime, getObservationTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation, getNominalTime, getNominalTimeAsDate, getObservationTime, getObservationTimeAsDate
protected RecordStationObs(Station station, double obsTime, double nomTime, int recno)
station
- data is for this StationobsTime
- observation timenomTime
- nominal time (may be NaN)recno
- data is at this record numberprotected RecordStationObs(int recno, StructureData sdata)
recno
- record number LOOK why do we need ??sdata
- the structure dataprotected RecordStationObs(Station station, double obsTime, double nomTime, StructureData sdata)
station
- data is for this StationobsTime
- observation timenomTime
- nominal time (may be NaN)sdata
- the structure dataprotected RecordStationObs(Station station, StructureData sdata)
station
- data is for this Stationsdata
- the structure datapublic Station getStation()
StationObsDatatype
getStation
in interface StationObsDatatype
public StructureData getData() throws java.io.IOException
PointObsDatatype
getData
in interface PointObsDatatype
getData
in class RecordDatasetHelper.RecordPointObs
java.io.IOException
- on io error