|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.grid.GridDataSource
ucar.unidata.data.grid.Vis5DDataSource
public class Vis5DDataSource
A data source for Vis5D data files. Handles grid and topography files.
| Field Summary |
|---|
| 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_TITLE |
| Constructor Summary | |
|---|---|
Vis5DDataSource()
Dummy constructor so this object can get unpersisted. |
|
Vis5DDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
Create a Vis5DDataSource from the specification given. |
|
| Method Summary | |
|---|---|
boolean |
canDoGeoSelection()
We can do geo selection in the properties gui |
protected boolean |
canDoGeoSelectionMap()
Used for the geo subsetting property gui as to whether to show the map selection or not |
protected void |
doMakeDataChoices()
Create the DataChoices for this data source |
protected List |
doMakeDateTimes()
Create the list of times associated with this datasource |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Get the data described by the selection parameters |
FieldImpl |
getField(DataChoice dc,
DataSelection dataSelection)
Get the grid described by the selection parameters |
static void |
main(String[] args)
Test by running "java ucar.unidata.data.grid.Vis5DDataSource |
void |
setSource(String value)
Set the Source property. |
protected void |
sourcesChanged()
The source has changed |
| Methods inherited from class ucar.unidata.data.grid.GridDataSource |
|---|
getEnsDCategory, getEnsembleSelection, getThreeDCategories, getThreeDEnsTimeSeriesCategories, getThreeDTimeSeriesCategories, getTwoDCategories, getTwoDEnsTimeSeriesCategories, getTwoDTimeSeriesCategories, initCategories, setEnsembleSelection |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
doRemove, equals, getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSources, updateState |
| 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 Detail |
|---|
public Vis5DDataSource()
public Vis5DDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
throws VisADException
descriptor - descriptor for the DataSourcesource - source of data (filename)properties - extra properties for initialization
VisADException - couldn't create the data| Method Detail |
|---|
protected void sourcesChanged()
sourcesChanged in class FilesDataSourceprotected void doMakeDataChoices()
DataChoices for this data source
doMakeDataChoices in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class DataSourceImpldataChoice - choice describing datacategory - the data categorydataSelection - subsetting specsrequestProperties - extra request properties
RemoteException - Java RMI error
VisADException - VisAD Errorprotected List doMakeDateTimes()
doMakeDateTimes in class DataSourceImpl
public FieldImpl getField(DataChoice dc,
DataSelection dataSelection)
throws VisADException,
RemoteException
dc - choice describing the datadataSelection - subsetting properties
RemoteException - On badness
VisADException - On badnesspublic boolean canDoGeoSelection()
canDoGeoSelection in interface DataSourcecanDoGeoSelection in class DataSourceImplprotected boolean canDoGeoSelectionMap()
canDoGeoSelectionMap in class DataSourceImplpublic void setSource(String value)
setSource in class FilesDataSourcevalue - The new value for Source
public static void main(String[] args)
throws Exception
args - filename
Exception - problem running this
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||