ucar.unidata.data.sounding
Class TrajectoryFeatureTypeAdapter

java.lang.Object
  extended by ucar.unidata.data.sounding.TrackAdapter
      extended by ucar.unidata.data.sounding.TrajectoryFeatureTypeAdapter

public class TrajectoryFeatureTypeAdapter
extends TrackAdapter

Created by IntelliJ IDEA. User: yuanho Date: Oct 5, 2009 Time: 2:44:32 PM To change this template use File | Settings | File Templates.


Constructor Summary
TrajectoryFeatureTypeAdapter(TrackDataSource dataSource, String filename, Hashtable pointDataFilter, int stride, int lastNMinutes)
          Construct a new track from the filename
 
Method Summary
 Data getAerologicalDiagramData(String trackId)
          Get the track data parameters necessary to plot an aerological diagram.
 boolean getIsCosmic()
          _more_
 boolean isCosmic()
          _more_
 void setIsCosmic(boolean isC)
          _more_
 
Methods inherited from class ucar.unidata.data.sounding.TrackAdapter
addActions, addTrackInfo, getBaseTime, getDataSourceDescription, getDataSourceName, getEndTime, getFilename, getLastNMinutes, getLastPointRange, getNumObservations, getPointObTrack, getStartTime, getStride, getTrack, getTrackInfo, getTrackInfos, getTrackWithTime, includeInPointData, setLastNMinutes, setStride, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrajectoryFeatureTypeAdapter

public TrajectoryFeatureTypeAdapter(TrackDataSource dataSource,
                                    String filename,
                                    Hashtable pointDataFilter,
                                    int stride,
                                    int lastNMinutes)
                             throws Exception
Construct a new track from the filename

Parameters:
dataSource - _more_
filename - location of file
pointDataFilter - Filters the variables to use
stride - The stride
lastNMinutes - use the last N minutes
Throws:
Exception - On badness
Method Detail

setIsCosmic

public void setIsCosmic(boolean isC)
_more_

Parameters:
isC - _more_

getIsCosmic

public boolean getIsCosmic()
_more_

Returns:
_more_

isCosmic

public boolean isCosmic()
_more_

Returns:
_more_

getAerologicalDiagramData

public Data getAerologicalDiagramData(String trackId)
                               throws Exception
Get the track data parameters necessary to plot an aerological diagram. Returned data is of type:
     (Time -> (AirPressure,
                AirTemperature,
                Dewpoint,
                (Latitude, Longitude, Altitude)))
 

Overrides:
getAerologicalDiagramData in class TrackAdapter
Parameters:
trackId - id of the track
Returns:
Data object in the format above
Throws:
Exception - On badness