public class AddePointDataSource extends PointDataSource
PointDataSource.PlotModelSelectionComponentfieldsDescription, POINT_DATA, PROP_FIRSTGUESS, PROP_GRID_GAIN, PROP_GRID_NUMPASSES, PROP_GRID_PARAM, PROP_GRID_SEARCH_RADIUS, PROP_GRID_UNIT, PROP_GRID_X, PROP_GRID_Y, PROP_STATIONMODELNAME, PROP_STATIONMODELSCALE, STATION_DATA, STATION_PLOTadapters, oldSourceFromBundles, sourceschangeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESDATAPATH_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 |
|---|
AddePointDataSource()
Default contstructor.
|
AddePointDataSource(DataSourceDescriptor descriptor,
java.lang.String source,
java.util.Hashtable properties)
Create a new
AddePointDataSource from the parameters
supplied. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canCreateGrid(visad.RealType type)
Is it ok to create a grid field for the parameter with the
given real type
|
boolean |
canDoGeoSelection()
Can this datasource do the geoselection subsetting and decimation
|
protected boolean |
canDoGeoSelectionMap()
Used for the geo subsetting property gui as to whether to
show the map selection or not
|
protected boolean |
canDoGeoSelectionStride()
Used for the geo subsetting property gui as to whether to
show the stride or not
|
boolean |
canSaveDataToLocalDisk()
Is this data source capable of saving its data to local disk
|
protected java.util.List |
doMakeDateTimes()
Get the list of times for this datasource
|
boolean |
equals(java.lang.Object o)
Check to see if this AddePointDataSource 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
|
java.lang.String |
getDataName()
Get the name of this data.
|
protected java.util.List |
getDefaultLevels()
Get a list of selected levels.
|
protected visad.FieldImpl |
getSample(DataChoice dataChoice)
Get a sample observation
|
int |
hashCode()
HashCode implementation.
|
static void |
mainxxx(java.lang.String[] args)
main
|
protected visad.FieldImpl |
makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox)
Get the data from the ADDE URL and make the FieldImpl of
PointObs from it.
|
protected visad.FieldImpl |
makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox,
boolean sampleIt) |
protected java.util.List |
saveDataToLocalDisk(java.lang.String prefix,
java.lang.Object loadId,
boolean changeLinks)
Save data to local disk
|
void |
setUrl(java.lang.String url)
Deprecated.
Use setSource() instead.
|
addPropertiesTabs, applyProperties, canAddCurrentName, canDoAllLevels, doMakeDataChoices, doRemove, getBinRoundTo, getBinWidth, getDataInner, getDescriptionDataChoice, getFullDescription, getGridGain, getGridSearchRadius, getGridUnit, getGridX, getGridY, getMakeGridFields, getNumGridPasses, getPointCategories, getPropertiesComponents, getSource, init, initDataSelectionComponents, initGridParameters, makeDerivedDataChoices, makeFieldDescription, reloadData, setBinRoundTo, setBinWidth, setGridGain, setGridSearchRadius, setGridUnit, setGridX, setGridY, setMakeGridFields, setNumGridPasses, setRoundToFromComboBox, setSource, setWidthFromComboBox, shouldCachegetDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, setNewFiles, setSources, sourcesChanged, updateStateaddActions, addDataChangeListener, addDataChoice, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canCacheDataToDisk, canChangeData, canDoFieldMask, 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, 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, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, 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, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFileapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUniqueIdpublic AddePointDataSource()
throws visad.VisADException
visad.VisADExceptionpublic AddePointDataSource(DataSourceDescriptor descriptor, java.lang.String source, java.util.Hashtable properties) throws visad.VisADException
AddePointDataSource from the parameters
supplied.descriptor - DataSourceDescriptor for this.source - Source URLproperties - Hashtable of properties for the source.visad.VisADException - couldn't create the VisAD dataprotected boolean canCreateGrid(visad.RealType type)
canCreateGrid in class PointDataSourcetype - the typepublic java.lang.String getDataName()
getDataName in class PointDataSourcepublic boolean canSaveDataToLocalDisk()
canSaveDataToLocalDisk in interface DataSourcecanSaveDataToLocalDisk in class DataSourceImplprotected java.util.List saveDataToLocalDisk(java.lang.String prefix,
java.lang.Object loadId,
boolean changeLinks)
throws java.lang.Exception
saveDataToLocalDisk in class FilesDataSourceprefix - Fir dir and prefixloadId - For JobManagerchangeLinks - Change internal file referencesjava.lang.Exception - On badnessprotected visad.FieldImpl getSample(DataChoice dataChoice) throws java.lang.Exception
getSample in class PointDataSourcedataChoice - choicejava.lang.Exception - problem getting the sampleprotected visad.FieldImpl makeObs(DataChoice dataChoice, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox) throws java.lang.Exception
makeObs in class PointDataSourcedataChoice - data choicesubset - subsetting selectionbbox - bounding box. may be nulljava.lang.Exception - problem creating the dataprotected visad.FieldImpl makeObs(DataChoice dataChoice, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox, boolean sampleIt) throws java.lang.Exception
dataChoice - data choicesubset - subsetting selectionbbox - bounding box. may be nullsampleIt - flag to just get a sample objava.lang.Exception - problem reading datapublic boolean canDoGeoSelection()
canDoGeoSelection in interface DataSourcecanDoGeoSelection in class DataSourceImplprotected boolean canDoGeoSelectionStride()
canDoGeoSelectionStride in class DataSourceImplprotected boolean canDoGeoSelectionMap()
canDoGeoSelectionMap in class DataSourceImplpublic boolean equals(java.lang.Object o)
equals in class FilesDataSourceo - object in questionpublic int hashCode()
hashCode in class java.lang.Objectpublic void setUrl(java.lang.String url)
url - ADDE URLpublic static void mainxxx(java.lang.String[] args)
throws java.lang.Exception
args - argsjava.lang.Exception - On badnesspublic java.util.List getAllLevels(DataChoice dataChoice, DataSelection dataSelection)
getAllLevels in interface DataSourcegetAllLevels in class DataSourceImpldataChoice - The data choice we are getting levels fordataSelection - data selectionprotected java.util.List getDefaultLevels()
getDefaultLevels in class PointDataSourceprotected java.util.List doMakeDateTimes()
doMakeDateTimes in class DataSourceImpl