ucar.unidata.data.grid
Class DodsGeoGridDataSource

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.data.DataSourceImpl
          extended by ucar.unidata.data.FilesDataSource
              extended by ucar.unidata.data.grid.GridDataSource
                  extended by ucar.unidata.data.grid.GeoGridDataSource
                      extended by ucar.unidata.data.grid.DodsGeoGridDataSource
All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class DodsGeoGridDataSource
extends GeoGridDataSource

A helper derived class to instantiate a DODS netcdf

Version:
$Revision: 1.26 $
Author:
Jeff McWhirter

Field Summary
 
Fields inherited from class ucar.unidata.data.grid.GeoGridDataSource
PREF_VERTICALCS, PROP_GRIDSIZE, PROP_TIMESIZE, 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
 
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
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_TITLE
 
Constructor Summary
DodsGeoGridDataSource()
          Default constuctor; does nothing
DodsGeoGridDataSource(DataSourceDescriptor descriptor, String filename, Hashtable properties)
          Construct a new DodsGeoGridDataSource from the supplied parameter
 
Method Summary
protected  String getFilePath()
          Clean up the url
 
Methods inherited from class ucar.unidata.data.grid.GeoGridDataSource
addPropertiesTabs, applyFieldMask, canCacheDataToDisk, canDoFieldMask, canDoGeoSelection, canSaveDataToLocalDisk, doMakeDataChoices, doMakeDataSet, doMakeDateTimes, doMakeGeoSubsetPropertiesComponent, doRemove, getAllDateTimes, getAllLevels, getDataInner, getDataPaths, getDataset, getExtraGeoSelectionComponent, getFullDescription, getLocalDirectory, getSampleDataProjection, getSaveDataFileLabel, initAfterCreation, initAfterUnpersistence, isZAxisOk, main, makeSaveLocalActions, reloadData, resetTmpState, resolvePath, saveDataToLocalDisk, setFileNameOrUrl, setTmpPaths, sourcesChanged, updateState, writeFieldMaskFile
 
Methods inherited from class ucar.unidata.data.grid.GridDataSource
getThreeDCategories, getThreeDTimeSeriesCategories, getTwoDCategories, getTwoDTimeSeriesCategories, initCategories
 
Methods inherited from class ucar.unidata.data.FilesDataSource
equals, getDataFileExtension, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, setNewFiles, setSource, setSources
 
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, applyProperties, beginWritingDataToLocalDisk, canChangeData, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllLevels, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDescription, getDescriptor, getErrorMessage, getFileFilterForPolling, getid, 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, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, saveDataToLocalDisk, saveDataToLocalDisk, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDescription, setDescriptor, setDirectory, setInError, setInError, setInError, setName, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setUserName, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, 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 Detail

DodsGeoGridDataSource

public DodsGeoGridDataSource()
Default constuctor; does nothing


DodsGeoGridDataSource

public DodsGeoGridDataSource(DataSourceDescriptor descriptor,
                             String filename,
                             Hashtable properties)
                      throws IOException
Construct a new DodsGeoGridDataSource from the supplied parameter

Parameters:
descriptor - descriptor for the datasource
filename - filename or URL
properties - extra properties
Throws:
IOException - unable to open file
Method Detail

getFilePath

protected String getFilePath()
Clean up the url

Overrides:
getFilePath in class FilesDataSource
Returns:
the url