|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.sounding.TrackDataSource
ucar.unidata.data.sounding.TrajectoryFeatureTypeDataSource
public class TrajectoryFeatureTypeDataSource
Created by IntelliJ IDEA. User: yuanho Date: Oct 5, 2009 Time: 2:47:02 PM To change this template use File | Settings | File Templates.
| Field Summary | |
|---|---|
static String |
ID_SONDELOCATIONS
Deprecated. use ID_SONDESTARTLOCATIONS |
static String |
ID_SONDESTARTLOCATIONS
sounding trace id |
| Fields inherited from class ucar.unidata.data.sounding.TrackDataSource |
|---|
ID_LASTOB, ID_POINTTRACE, ID_SOUNDINGOB, ID_SOUNDINGTRACE, ID_TIMETRACE, ID_WHOLETRACE, PROP_TRACKTYPE, soundingCats, traceCats |
| Fields inherited from class ucar.unidata.data.FilesDataSource |
|---|
adapters, oldSourceFromBundles, sources |
| Fields inherited from class ucar.unidata.data.DataSourceImpl |
|---|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES |
| Fields inherited from interface ucar.unidata.data.DataSource |
|---|
DATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE |
| Constructor Summary | |
|---|---|
TrajectoryFeatureTypeDataSource()
Default Constructor |
|
TrajectoryFeatureTypeDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
Create a SondeDataSource from the specification given. |
|
TrajectoryFeatureTypeDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
Create a SondeDataSource from the specification given. |
|
| Method Summary | |
|---|---|
protected FieldImpl |
aggregateTracks(List tracks,
Object id0)
Aggregate the tracks |
protected TrackAdapter |
doMakeAdapter(String file,
Hashtable pointDataFilter,
int stride,
int lastNMinutes)
Factory method to make the adapter |
protected void |
doMakeDataChoices()
Make the DataChoices associated with this dataset |
protected List |
doMakeDateTimes()
Make the list of times associated with this DataSource for DataSelection. |
protected DateTime |
getBaseTime()
Get the base time for the sondes |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Get the VisAD Data object that corresponds to the dataChoice category and dataSelection criteria. |
protected DateTime[] |
getTimeList()
Get the times in the tracks |
protected void |
initCategories()
init sounding category |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
equals, getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSource, setSources, sourcesChanged, updateState |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Field Detail |
|---|
public static final String ID_SONDELOCATIONS
public static final String ID_SONDESTARTLOCATIONS
| Constructor Detail |
|---|
public TrajectoryFeatureTypeDataSource()
public TrajectoryFeatureTypeDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
throws VisADException
descriptor - descriptor for the DataSourcesource - file location or URLproperties - extra properties
VisADException - problem creating data
public TrajectoryFeatureTypeDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
throws VisADException
descriptor - descriptor for the DataSourcesources - file location or URLproperties - extra properties
VisADException - problem creating data| Method Detail |
|---|
protected void initCategories()
initCategories in class TrackDataSourceprotected DateTime getBaseTime()
getBaseTime in class TrackDataSourceprotected DateTime[] getTimeList()
protected List doMakeDateTimes()
doMakeDateTimes in class TrackDataSource
protected FieldImpl aggregateTracks(List tracks,
Object id0)
throws VisADException,
RemoteException
aggregateTracks in class TrackDataSourcetracks - List of sonde tracksid0 - _more_
RemoteException - Java RMI Exception
RemoteException - _more_
VisADException - problem in VisADprotected void doMakeDataChoices()
DataChoices associated with this dataset
doMakeDataChoices in class TrackDataSource
protected TrackAdapter doMakeAdapter(String file,
Hashtable pointDataFilter,
int stride,
int lastNMinutes)
throws Exception
doMakeAdapter in class TrackDataSourcefile - file or urlpointDataFilter - When creating point data this holds the map of variables to usestride - stringlastNMinutes - clipping
Exception - On badness
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class TrackDataSourcedataChoice - choice for datacategory - specific category of data (not used currently)dataSelection - additional selection criteriarequestProperties - extra request properties
VisADException - unable to create Data object
RemoteException - (some kind of remote error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||