Package ucar.unidata.data.sounding
Class SondeDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.sounding.TrackDataSource
ucar.unidata.data.sounding.SondeDataSource
- All Implemented Interfaces:
Sharable
,DataSource
,DataSourceFactory
,XmlPersistable
A data source for balloon and aircraft tracks
- Version:
- $Revision: 1.25 $ $Date: 2007/04/16 20:34:57 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
sonde locations deprecated use ID_SONDESTARTLOCATIONSstatic final String
sounding trace idFields 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_TIMESTRIDE, PROP_TITLE
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorSondeDataSource
(DataSourceDescriptor descriptor, String source, Hashtable properties) Create a SondeDataSource from the specification given.SondeDataSource
(DataSourceDescriptor descriptor, List sources, Hashtable properties) Create a SondeDataSource from the specification given. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Make theDataChoice
s associated with this datasetprotected DateTime
Get the base time for the sondesprotected 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 FieldImpl
HIDEaggregateTracks
(List tracks) Aggregate the tracksMethods inherited from class ucar.unidata.data.sounding.TrackDataSource
addActions, addPropertiesTabs, aggregateTracks, applyProperties, canDoView, canSaveDataToLocalDisk, doMakeAdapter, doMakeDateTimes, doRemove, getAdapters, getChoiceId, getChoiceId0, getDataChoiceLabel, getFullDescription, getHaveAskedToSubset, getLastNMinutes, getLastPointOb, getMinMaxTime, getPointDataFilter, getPointObTrack, getPropertiesComponents, getRaobCategories, getSoundingCategories, getSoundingOb, getSoundingTrace, getStride, getTraceAdapter, getTraceCategories, getTrack, getTrackId, getTracks, initAfter, initAfterCreation, initCategories, initTrack, main, mergeTracks, resetLastNMinutesFld, resetStrideFld, setHaveAskedToSubset, setLastNMinutes, setName, setPointDataFilter, setStride, setTraceAdapter, showSqlShell
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.data.DataSourceImpl
addDataChangeListener, addDataChoice, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, notifyDataChange, putCache, putCache, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFile
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 Details
-
ID_SONDELOCATIONS
sonde locations deprecated use ID_SONDESTARTLOCATIONS- See Also:
-
ID_SONDESTARTLOCATIONS
sounding trace id- See Also:
-
-
Constructor Details
-
SondeDataSource
public SondeDataSource()Default Constructor -
SondeDataSource
public SondeDataSource(DataSourceDescriptor descriptor, String source, Hashtable properties) throws VisADException Create a SondeDataSource from the specification given.- Parameters:
descriptor
- descriptor for the DataSourcesource
- file location or URLproperties
- extra properties- Throws:
VisADException
-
SondeDataSource
public SondeDataSource(DataSourceDescriptor descriptor, List sources, Hashtable properties) throws VisADException Create a SondeDataSource from the specification given.- Parameters:
descriptor
- descriptor for the DataSourcesources
- file location or URLproperties
- extra properties- Throws:
VisADException
-
-
Method Details
-
getBaseTime
Get the base time for the sondes- Overrides:
getBaseTime
in classTrackDataSource
- Returns:
- base time
-
HIDEaggregateTracks
Aggregate the tracks- Parameters:
tracks
- List of sonde tracks- Returns:
- FieldImpl of aggregated tracks
- Throws:
RemoteException
- Java RMI ExceptionVisADException
- problem in VisAD
-
doMakeDataChoices
protected void doMakeDataChoices()Make theDataChoice
s associated with this dataset- Overrides:
doMakeDataChoices
in classTrackDataSource
-
getDataInner
protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException Get the VisAD Data object that corresponds to the dataChoice category and dataSelection criteria.- Overrides:
getDataInner
in classTrackDataSource
- Parameters:
dataChoice
- choice for datacategory
- specific category of data (not used currently)dataSelection
- additional selection criteriarequestProperties
- extra request properties- Returns:
- corresponding Data object
- Throws:
VisADException
- unable to create Data objectRemoteException
- (some kind of remote error.
-