Package ucar.unidata.data.radar
Class DoradeDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.radar.RadarDataSource
ucar.unidata.data.radar.DoradeDataSource
- All Implemented Interfaces:
Sharable
,DataSource
,DataSourceFactory
,RadarConstants
,XmlPersistable
A data source for DORADE radar data
- Version:
- $Revision: 1.12 $
- Author:
- IDV Development Team @ ATD
-
Field Summary
Fields inherited from class ucar.unidata.data.radar.RadarDataSource
CATEGORY_CAPPI, CATEGORY_ISOSURFACE, CATEGORY_ISOSURFACE_TIME, CATEGORY_RASTER_2D, CATEGORY_RASTER_2D_TIME, CATEGORY_RHI, CATEGORY_RHISWEEP, CATEGORY_SWEEP_2D, CATEGORY_SWEEP_2D_TIME, CATEGORY_SWEEP_3D, CATEGORY_SWEEP_3D_TIME, CATEGORY_TH, CATEGORY_VCS, CATEGORY_VOLUME, CATEGORY_VWP, TimeDriver, useDriverTime
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
Fields inherited from interface ucar.unidata.data.radar.RadarConstants
AZIMUTH, AZIMUTH_ANGLE, ELEVATION_ANGLE, PROP_2DOR3D, PROP_ANGLE, PROP_ANGLES, PROP_AZIMUTH, PROP_AZIMUTHS, PROP_CAPPI_LEVEL, PROP_CAPPI_LEVELS, PROP_TIMEHEIGHT, PROP_VCS, PROP_VCS_END, PROP_VCS_START, PROP_VOLUMEORSWEEP, PROP_VWP, RADAR_MOST_RECENT, RADIAL_VELOCITY_NAME, RANGE, REFLECTIVITY, REFLECTIVITY_NAME, SPECTRUM_WIDTH, SPECTRUM_WIDTH_NAME, STATION_LOCATION, VALUE_2D, VALUE_3D, VALUE_SWEEP, VALUE_VOLUME, VELOCITY
-
Constructor Summary
ConstructorsConstructorDescriptionZero-argument constructor for construction via unpersistence.DoradeDataSource
(DataSourceDescriptor descriptor, String fileName, Hashtable properties) Construct a new DORADE data source.DoradeDataSource
(DataSourceDescriptor descriptor, List sources, Hashtable properties) Construct a new DORADE data source. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Make and insert theDataChoice
-s for thisDataSource
.boolean
Check to see if thisDoradeDataSource
is equal to the object in question.int
hashCode()
Get the hash code for this object.static void
Test programprotected RadarAdapter
makeRadarAdapter
(String source) Make the RadarAdapter for this classMethods inherited from class ucar.unidata.data.radar.RadarDataSource
canSaveDataToLocalDisk, clearCachedData, doMakeDateTimes, doRemove, getAdapters, getDataInner, getRadarAdapters, initAfterUnpersistence, isRealTime, processDataFilename
Methods inherited from class ucar.unidata.data.FilesDataSource
getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initWithPollingInfo, isFileBased, newFilesFromPolling, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSource, setSources, sourcesChanged, updateState
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, 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, 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, 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, setName, 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, notify, notifyAll, wait, wait, wait
Methods inherited from interface ucar.unidata.data.DataSource
getUniqueId
-
Constructor Details
-
DoradeDataSource
public DoradeDataSource()Zero-argument constructor for construction via unpersistence. -
DoradeDataSource
public DoradeDataSource(DataSourceDescriptor descriptor, String fileName, Hashtable properties) throws VisADException Construct a new DORADE data source.- Parameters:
descriptor
- descriptor for thisDataSource
fileName
- name of the DORADE file to readproperties
- hashtable of properties- Throws:
VisADException
- problem creating data
-
DoradeDataSource
public DoradeDataSource(DataSourceDescriptor descriptor, List sources, Hashtable properties) throws VisADException Construct a new DORADE data source.- Parameters:
descriptor
- descriptor for thisDataSource
sources
- List of filenamesproperties
- hashtable of properties- Throws:
VisADException
- problem creating data
-
-
Method Details
-
doMakeDataChoices
public void doMakeDataChoices()Make and insert theDataChoice
-s for thisDataSource
.- Overrides:
doMakeDataChoices
in classDataSourceImpl
-
makeRadarAdapter
Make the RadarAdapter for this class- Specified by:
makeRadarAdapter
in classRadarDataSource
- Parameters:
source
- source of the data- Returns:
- corresponding adapter
- Throws:
Exception
- problem opening the file or creating the data
-
equals
Check to see if thisDoradeDataSource
is equal to the object in question.- Overrides:
equals
in classFilesDataSource
- Parameters:
o
- object in question- Returns:
- true if they are the same or equivalent objects
-
hashCode
public int hashCode()Get the hash code for this object. -
main
Test program- Parameters:
args
- file name
-