public class Level2RadarDataSource extends 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
adapters, oldSourceFromBundles, sources
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
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
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 |
---|
Level2RadarDataSource()
Construct a new Level II data source.
|
Level2RadarDataSource(DataSourceDescriptor descriptor,
java.util.List sources,
java.util.Hashtable properties)
Construct a new Level II data source.
|
Level2RadarDataSource(DataSourceDescriptor descriptor,
java.lang.String[] sources,
java.util.Hashtable properties)
Construct a new Level II data source.
|
Level2RadarDataSource(DataSourceDescriptor descriptor,
java.lang.String source,
java.util.Hashtable properties)
Construct a new Level II data source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
applyProperties()
Apply properties components
|
void |
doMakeDataChoices()
Make the set of DataChoices associated with this DataSource.
|
boolean |
equals(java.lang.Object o)
Check to see if this NetcdfRadarDataSource is equal to the object
in question.
|
java.util.List |
getAllLevels(DataChoice dataChoice,
DataSelection dataSelection)
Get the list of all levels available from this DataSource
|
void |
getPropertiesComponents(java.util.List comps)
Add the gui components into the list for the properties dialog
|
NamedStationTable |
getStations()
Read in the nexrad stations from the
idv/resources/nexradstns.xml resource
|
int |
hashCode()
Get the hash code for this object.
|
static void |
main(java.lang.String[] args)
Main routine for testing.
|
protected RadarAdapter |
makeRadarAdapter(java.lang.String source)
Make a RadarAdapter from the source
|
canSaveDataToLocalDisk, clearCachedData, doMakeDateTimes, doRemove, getAdapters, getDataInner, getRadarAdapters, initAfterUnpersistence, isRealTime, processDataFilename
getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initWithPollingInfo, isFileBased, newFilesFromPolling, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSource, setSources, sourcesChanged, updateState
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, 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, 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, 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
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUniqueId
public Level2RadarDataSource()
public Level2RadarDataSource(DataSourceDescriptor descriptor, java.lang.String source, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptor for this datasourcesource
- file to readproperties
- hashtable of properties. Includes radar locationvisad.VisADException
- couldn't create the datapublic Level2RadarDataSource(DataSourceDescriptor descriptor, java.lang.String[] sources, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptor for this datasourcesources
- files to readproperties
- hashtable of properties. Includes radar locationvisad.VisADException
- couldn't create the datapublic Level2RadarDataSource(DataSourceDescriptor descriptor, java.util.List sources, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptor for this datasourcesources
- files to readproperties
- hashtable of properties. Includes radar locationvisad.VisADException
- couldn't create the datapublic void doMakeDataChoices()
doMakeDataChoices
in class DataSourceImpl
public boolean equals(java.lang.Object o)
equals
in class FilesDataSource
o
- object in questionpublic int hashCode()
hashCode
in class java.lang.Object
public void getPropertiesComponents(java.util.List comps)
getPropertiesComponents
in class DataSourceImpl
comps
- List of componentspublic boolean applyProperties()
applyProperties
in class DataSourceImpl
protected RadarAdapter makeRadarAdapter(java.lang.String source) throws java.lang.Exception
makeRadarAdapter
in class RadarDataSource
source
- source (file or URL) of datajava.lang.Exception
- problem creating the adapter.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- list of file namesjava.lang.Exception
- problem occurredpublic NamedStationTable getStations()
NamedStation
-spublic java.util.List getAllLevels(DataChoice dataChoice, DataSelection dataSelection)
getAllLevels
in interface DataSource
getAllLevels
in class DataSourceImpl
dataChoice
- The data choice we are getting levels fordataSelection
- the date selection