public class NetcdfRadarDataSource 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 |
---|
NetcdfRadarDataSource()
Zero-argument constructor for construction via unpersistence.
|
NetcdfRadarDataSource(DataSourceDescriptor descriptor,
java.util.List sources,
java.util.Hashtable properties)
Construct a new DORADE data source.
|
NetcdfRadarDataSource(DataSourceDescriptor descriptor,
java.lang.String fileName,
java.util.Hashtable properties)
Construct a new DORADE data source.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convertSourceFile(java.lang.String source)
If this datasource has an ncml template this method will wrap the actual data file in ncml and return the ncml
|
void |
doMakeDataChoices()
Make and insert the
DataChoice -s for this
DataSource . |
boolean |
equals(java.lang.Object o)
Check to see if this
NetcdfRadarDataSource is equal to the object
in question. |
int |
hashCode()
Get the hash code for this object.
|
static void |
main(java.lang.String[] args)
Test program
|
protected RadarAdapter |
makeRadarAdapter(java.lang.String source)
Make the RadarAdapter for this class
|
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, applyProperties, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearFileCache, clearTimes, 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
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 NetcdfRadarDataSource()
public NetcdfRadarDataSource(DataSourceDescriptor descriptor, java.lang.String fileName, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptor for this DataSource
fileName
- name of the DORADE file to readproperties
- hashtable of propertiesvisad.VisADException
- problem creating datapublic NetcdfRadarDataSource(DataSourceDescriptor descriptor, java.util.List sources, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptor for this DataSource
sources
- List of filenamesproperties
- hashtable of propertiesvisad.VisADException
- problem creating datapublic void doMakeDataChoices()
DataChoice
-s for this
DataSource
.doMakeDataChoices
in class DataSourceImpl
protected RadarAdapter makeRadarAdapter(java.lang.String source) throws java.lang.Exception
makeRadarAdapter
in class RadarDataSource
source
- source of the datajava.lang.Exception
- problem opening the file or creating the datapublic java.lang.String convertSourceFile(java.lang.String source) throws java.lang.Exception
DataSourceImpl
convertSourceFile
in class DataSourceImpl
source
- the original file or urljava.lang.Exception
- On badnesspublic boolean equals(java.lang.Object o)
NetcdfRadarDataSource
is equal to the object
in question.equals
in class FilesDataSource
o
- object in questionpublic int hashCode()
hashCode
in class java.lang.Object
public static void main(java.lang.String[] args)
args
- file name