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 Stringsonde locations deprecated use ID_SONDESTARTLOCATIONSstatic final Stringsounding 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, traceCatsFields inherited from class ucar.unidata.data.FilesDataSource
adapters, oldSourceFromBundles, sourcesFields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESFields 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 voidMake theDataChoices associated with this datasetprotected DateTimeGet the base time for the sondesprotected DatagetDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) Get the VisAD Data object that corresponds to the dataChoice category and dataSelection criteria.protected FieldImplHIDEaggregateTracks(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, showSqlShellMethods 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, updateStateMethods 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, writeFieldMaskFileMethods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getBaseTimein 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 theDataChoices associated with this dataset- Overrides:
doMakeDataChoicesin 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:
getDataInnerin 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.
-