Package ucar.unidata.data.grid
Class ImageGridDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.grid.GridDataSource
ucar.unidata.data.grid.GeoGridDataSource
ucar.unidata.data.grid.ImageGridDataSource
- All Implemented Interfaces:
Sharable
,DataSource
,DataSourceFactory
,XmlPersistable
Handles gridded files
- Version:
- $Revision: 1.179 $
- Author:
- IDV Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.unidata.data.grid.GeoGridDataSource
GeoGridDataSource.HugeSizeException
-
Field Summary
Fields inherited from class ucar.unidata.data.grid.GeoGridDataSource
DOMAIN_SET_MUTEX, PREF_LARGE_REMOTE_DATA_WARN, PREF_VERTICALCS, PROP_GRIDSIZE, PROP_TIMESIZE, PROP_TIMEVAR, readLock, testMode
Fields inherited from class ucar.unidata.data.grid.GridDataSource
ATTR_EAST, ATTR_NORTH, ATTR_SOUTH, ATTR_WEST, ATTR_X, ATTR_Y, ATTR_Z, PROP_ENSEMBLEMEMBERS
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
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorImageGridDataSource
(DataSourceDescriptor descriptor, File file, Hashtable properties) Create a GeoGridDataSource from a File.ImageGridDataSource
(DataSourceDescriptor descriptor, String filename, Hashtable properties) Create a GeoGridDataSource from the filename.ImageGridDataSource
(DataSourceDescriptor descriptor, List files, Hashtable properties) Create a GeoGridDataSource from the filename. -
Method Summary
Modifier and TypeMethodDescriptionGet the 2D data categoriesGet the list of 2D time series categoriesMethods inherited from class ucar.unidata.data.grid.GeoGridDataSource
addPropertiesTabs, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, calculateStrideFactor, canCacheDataToDisk, canDoFieldMask, canDoGeoSelection, canSaveDataToLocalDisk, doMakeDataChoices, doMakeDataSet, doMakeDateTimes, doMakeGeoSubsetPropertiesComponent, doRemove, findGridForDataChoice, getAllDateTimes, getAllLevels, getData, getDataInner, getDataPaths, getDataset, getExtraGeoSelectionComponent, getExtraTimesComponent, getFullDescription, getLocalDirectory, getReverseTimes, getSampleDataProjection, getSaveDataFileLabel, getTimeIndexWithBounds, initAfterCreation, initAfterUnpersistence, isLocalFile, isNumeric, isZAxisOk, listParameters, main, makeSaveLocalActions, reloadData, resetTmpState, resolvePath, saveDataToLocalDisk, setDefaultSelectionBounds, setFileNameOrUrl, setNewFiles, setReverseTimes, setTmpPaths, sourcesChanged, updateState, writeFieldMaskFile
Methods inherited from class ucar.unidata.data.grid.GridDataSource
getEnsDCategory, getEnsembleSelection, getThreeDCategories, getThreeDEnsTimeSeriesCategories, getThreeDTimeSeriesCategories, getTwoDEnsTimeSeriesCategories, initCategories, setEnsembleSelection
Methods inherited from class ucar.unidata.data.FilesDataSource
equals, getDataFileExtension, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, setSource, setSources
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, addReloadTab, canAddCurrentName, canChangeData, canDoAllLevels, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, 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, getFileFilterForPolling, getid, getIdv, getInError, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, newFileFromPolling, notifyDataChange, putCache, putCache, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, 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, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, 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, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ucar.unidata.data.DataSource
getUniqueId
-
Constructor Details
-
ImageGridDataSource
public ImageGridDataSource()Default constructor -
ImageGridDataSource
public ImageGridDataSource(DataSourceDescriptor descriptor, File file, Hashtable properties) throws IOException Create a GeoGridDataSource from a File.- Parameters:
descriptor
- Describes this data source, has a label etc.file
- This is the file that points to the actual data source.properties
- General properties used in the base class- Throws:
IOException
- problem opening file
-
ImageGridDataSource
public ImageGridDataSource(DataSourceDescriptor descriptor, String filename, Hashtable properties) throws IOException Create a GeoGridDataSource from the filename.- Parameters:
descriptor
- Describes this data source, has a label etc.filename
- This is the filename (or url) that points to the actual data source.properties
- General properties used in the base class- Throws:
IOException
-
ImageGridDataSource
public ImageGridDataSource(DataSourceDescriptor descriptor, List files, Hashtable properties) throws IOException Create a GeoGridDataSource from the filename.- Parameters:
descriptor
- Describes this data source, has a label etc.files
- List of files or urlsproperties
- General properties used in the base class- Throws:
IOException
-
-
Method Details
-
getTwoDCategories
Get the 2D data categories- Overrides:
getTwoDCategories
in classGridDataSource
- Returns:
- list of categories
-
getTwoDTimeSeriesCategories
Get the list of 2D time series categories- Overrides:
getTwoDTimeSeriesCategories
in classGridDataSource
- Returns:
- list of categories
-