ucar.nc2.dt.point
Class RecordDatasetHelper.RecordStationObs
java.lang.Object
ucar.nc2.dt.point.PointObsDatatypeImpl
ucar.nc2.dt.point.RecordDatasetHelper.RecordPointObs
ucar.nc2.dt.point.RecordDatasetHelper.RecordStationObs
- All Implemented Interfaces:
- Comparable, PointObsDatatype, StationObsDatatype
- Enclosing class:
- RecordDatasetHelper
public class RecordDatasetHelper.RecordStationObs
- extends RecordDatasetHelper.RecordPointObs
- implements StationObsDatatype
Constructor Summary |
protected |
RecordDatasetHelper.RecordStationObs(int recno,
StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype |
protected |
RecordDatasetHelper.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 |
RecordDatasetHelper.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 |
RecordDatasetHelper.RecordStationObs(Station station,
StructureData sdata)
Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordDatasetHelper.RecordStationObs
protected RecordDatasetHelper.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.
- Parameters:
station
- data is for this StationobsTime
- observation timenomTime
- nominal time (may be NaN)recno
- data is at this record number
RecordDatasetHelper.RecordStationObs
protected RecordDatasetHelper.RecordStationObs(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
RecordDatasetHelper.RecordStationObs
protected RecordDatasetHelper.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
- Parameters:
station
- data is for this StationobsTime
- observation timenomTime
- nominal time (may be NaN)sdata
- the structure data
RecordDatasetHelper.RecordStationObs
protected RecordDatasetHelper.RecordStationObs(Station station,
StructureData sdata)
- Constructor for when you already have the StructureData and want to wrap it in a StationObsDatatype
- Parameters:
station
- data is for this Stationsdata
- the structure data
getStation
public Station getStation()
- Description copied from interface:
StationObsDatatype
- Station location of the observation
- Specified by:
getStation
in interface StationObsDatatype
- Returns:
- Station location of the observation
getData
public StructureData getData()
throws IOException
- Description copied from interface:
PointObsDatatype
- The actual data of the observation.
- Specified by:
getData
in interface PointObsDatatype
- Overrides:
getData
in class RecordDatasetHelper.RecordPointObs
- Returns:
- the actual data of the observation.
- Throws:
IOException
- on io error
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.