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