|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.sounding.TrackAdapter
public abstract class TrackAdapter
Adapter for track type data. This could be a balloon sounding with spatial (lat/lon/alt) data for each time step, or an aircraft track.
| Constructor Summary | |
|---|---|
TrackAdapter(TrackDataSource dataSource,
String filename)
Construct a new track from the filename |
|
TrackAdapter(TrackDataSource dataSource,
String filename,
Hashtable pointDataFilter,
int stride,
int lastNMinutes)
Construct a new track from the filename |
|
| Method Summary | |
|---|---|
protected void |
addActions(List actions)
_more_ |
protected void |
addTrackInfo(TrackInfo trackInfo)
Add the track info to the list |
Data |
getAerologicalDiagramData(String trackId)
Get the track data parameters necessary to plot an aerological diagram. |
DateTime |
getBaseTime()
Deprecated. use #getStartTime() |
String |
getDataSourceDescription()
_more_ |
String |
getDataSourceName()
_more_ |
DateTime |
getEndTime()
Get the ending time of this track. |
String |
getFilename()
Get the Filename property. |
int |
getLastNMinutes()
Get the LastNMinutes property. |
ucar.ma2.Range |
getLastPointRange(String trackId)
Get the data range for the very last obs |
int |
getNumObservations(String trackId)
get total number of obs_ |
FieldImpl |
getPointObTrack(String trackId,
ucar.ma2.Range range)
Take a FlatField of data and turn it into a field of PointObs. |
DateTime |
getStartTime()
Get the starting time of this track. |
int |
getStride()
Get the Stride property. |
FlatField |
getTrack(String trackId,
String variable,
ucar.ma2.Range range)
Returns a track for the variable name specified. |
List |
getTrackInfos()
Get list of TrackInfo-s |
FlatField |
getTrackWithTime(String trackId,
String variable,
ucar.ma2.Range range)
Returns a track for the variable name specified. |
boolean |
includeInPointData(String varName)
Should we include the given var in the point data |
void |
setLastNMinutes(int value)
Set the LastNMinutes property. |
void |
setStride(int value)
Set the Stride property. |
String |
toString()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TrackAdapter(TrackDataSource dataSource,
String filename)
throws Exception
dataSource - _more_filename - location of file
Exception - On badness
public TrackAdapter(TrackDataSource dataSource,
String filename,
Hashtable pointDataFilter,
int stride,
int lastNMinutes)
throws Exception
dataSource - _more_filename - location of filepointDataFilter - Filters the variables to usestride - The stridelastNMinutes - use the last N minutes
Exception - On badness| Method Detail |
|---|
protected void addActions(List actions)
actions - _more_
protected void addTrackInfo(TrackInfo trackInfo)
throws Exception
trackInfo - Describes a track
Exception - On badnesspublic List getTrackInfos()
public FlatField getTrackWithTime(String trackId,
String variable,
ucar.ma2.Range range)
throws Exception
((Latitude, Longitude, Altitude) -> (variable, Time)
trackId - Which trackvariable - variable to getrange - The data range of the request
Exception - On badness
public ucar.ma2.Range getLastPointRange(String trackId)
throws Exception
trackId - which track
Exception - On badness
public int getNumObservations(String trackId)
throws Exception
trackId - Which track
Exception - On badness
public FieldImpl getPointObTrack(String trackId,
ucar.ma2.Range range)
throws Exception
trackId - Which trackrange - The data range of the request
Exception - On badness
public FlatField getTrack(String trackId,
String variable,
ucar.ma2.Range range)
throws Exception
((Latitude, Longitude, Altitude) -> (variable)
trackId - Which trackvariable - variable of datarange - The data range of the request
Exception - On badness
public Data getAerologicalDiagramData(String trackId)
throws Exception
(Time -> (AirPressure,
AirTemperature,
Dewpoint,
(Speed, Direction),
(Latitude, Longitude, Altitude)))
trackId - id of the track
Exception - On badnesspublic DateTime getBaseTime()
public DateTime getStartTime()
public DateTime getEndTime()
public void setStride(int value)
value - The new value for Stridepublic int getStride()
public void setLastNMinutes(int value)
value - The new value for LastNMinutespublic int getLastNMinutes()
public boolean includeInPointData(String varName)
varName - Variable name
public String getFilename()
public String getDataSourceName()
public String getDataSourceDescription()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||