public final class RaobDataSource extends DataSourceImpl
DataSource
for RAOB soundings.Modifier and Type | Field and Description |
---|---|
boolean |
useDriverTime
_more_
|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
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 and Description |
---|
RaobDataSource()
Constructs from nothing.
|
RaobDataSource(DataSourceDescriptor descriptor,
RaobDataSet rds,
java.util.Hashtable properties)
Constructs from a specification of the data-source.
|
RaobDataSource(DataSourceDescriptor descriptor,
java.lang.String file,
java.util.Hashtable properties)
Constructs from a specification of the data-source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSaveDataToLocalDisk()
Is this data source capable of saving its data to local disk
|
protected void |
doMakeDataChoices()
Adds the
DataChoice s of the current
input data via DataSourceImpl.addDataChoice(DataChoice) . |
protected java.util.List |
doMakeDateTimes()
Make the list of times associated with this DataSource for
DataSelection.
|
boolean |
equals(java.lang.Object object)
Check for equality
|
java.util.List |
getAllTimesForTimeDriver(DataChoice dataChoice,
DataSelection selection,
java.util.List<visad.DateTime> timeDriverTimes)
_more_
|
protected visad.Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
|
java.util.List |
getDataPaths()
Get the list of urls from the remote server
|
java.lang.String |
getFile()
Get the File property.
|
RaobDataSet |
getRaobDataSet()
Get the RaobDataSet for this data source
|
RaobDataSet |
getRDS()
Dynamically create the rds if needed and return it
|
protected java.util.List<DataChoice> |
getTimeMatchingDataChoices(java.util.List<SoundingOb> soundingObs)
_more_
|
protected java.util.List<SoundingOb> |
getTimeMatchingSoundingObs(java.util.List<visad.DateTime> dTimes)
_more_
|
void |
initAfterUnpersistence()
Override the init method for when this data source is unpersisted.
|
protected java.util.List |
saveDataToLocalDisk(java.lang.String prefix,
java.lang.Object loadId,
boolean changeLinks)
_Save the remote data to local disk
|
void |
setFile(java.lang.String value)
Set the File property.
|
void |
setRaobDataSet(RaobDataSet newRds)
Set the RaobDataSet for this data source
|
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, 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, doRemove, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, 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, getFullDescription, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getLocationsForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, reloadData, 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, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFile
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUniqueId
public RaobDataSource()
public RaobDataSource(DataSourceDescriptor descriptor, RaobDataSet rds, java.util.Hashtable properties) throws visad.VisADException
descriptor
- A description of the data-source.rds
- Radar datasourceproperties
- A map of associated attributes.visad.VisADException
- if a VisAD failure occurs.public RaobDataSource(DataSourceDescriptor descriptor, java.lang.String file, java.util.Hashtable properties) throws visad.VisADException
descriptor
- A description of the data-source.file
- File or urlproperties
- A map of associated attributes.visad.VisADException
- if a VisAD failure occurs.public boolean equals(java.lang.Object object)
equals
in class DataSourceImpl
object
- the object in questionpublic java.util.List getDataPaths()
getDataPaths
in interface DataSource
getDataPaths
in class DataSourceImpl
public void initAfterUnpersistence()
initAfterUnpersistence
in interface DataSource
initAfterUnpersistence
in class DataSourceImpl
protected java.util.List saveDataToLocalDisk(java.lang.String prefix, java.lang.Object loadId, boolean changeLinks) throws java.lang.Exception
saveDataToLocalDisk
in class DataSourceImpl
prefix
- Where to write the files toloadId
- For the JobManager dialogchangeLinks
- Should we change the internal data referencesjava.lang.Exception
- On badnesspublic boolean canSaveDataToLocalDisk()
canSaveDataToLocalDisk
in interface DataSource
canSaveDataToLocalDisk
in class DataSourceImpl
protected void doMakeDataChoices()
DataChoice
s of the current
input data via DataSourceImpl.addDataChoice(DataChoice)
.doMakeDataChoices
in class DataSourceImpl
protected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner
in class DataSourceImpl
dataChoice
- choice of data.category
- specific category of data (currently ignored).dataSelection
- additional selection criteria.requestProperties
- extra request propertiesvisad.VisADException
- if unable to create Data object.java.rmi.RemoteException
- (some kind of remote error.protected java.util.List doMakeDateTimes()
doMakeDateTimes
in class DataSourceImpl
protected java.util.List<SoundingOb> getTimeMatchingSoundingObs(java.util.List<visad.DateTime> dTimes)
dTimes
- _more_protected java.util.List<DataChoice> getTimeMatchingDataChoices(java.util.List<SoundingOb> soundingObs)
soundingObs
- _more_public java.util.List getAllTimesForTimeDriver(DataChoice dataChoice, DataSelection selection, java.util.List<visad.DateTime> timeDriverTimes)
getAllTimesForTimeDriver
in class DataSourceImpl
dataChoice
- _more_selection
- _more_timeDriverTimes
- _more_public RaobDataSet getRDS()
public RaobDataSet getRaobDataSet()
public void setRaobDataSet(RaobDataSet newRds)
newRds
- the RaobDataSet for this data sourcepublic void setFile(java.lang.String value)
value
- The new value for Filepublic java.lang.String getFile()