|
||||||||||
| 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.point.PointDataSource
ucar.unidata.data.point.AddePointDataSource
public class AddePointDataSource
A data source for ADDE point data
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.data.point.PointDataSource |
|---|
PointDataSource.PlotModelSelectionComponent |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.data.point.PointDataSource |
|---|
fieldsDescription, 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, STATION_DATA, STATION_PLOT |
| 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 | |
|---|---|
AddePointDataSource()
Default contstructor. |
|
AddePointDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
Create a new AddePointDataSource from the parameters
supplied. |
|
| Method Summary | |
|---|---|
protected boolean |
canCreateGrid(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 |
boolean |
equals(Object o)
Check to see if this AddePointDataSource is equal to the object in question. |
List |
getAllLevels(DataChoice dataChoice,
DataSelection dataSelection)
Get the list of all levels available from this DataSource |
String |
getDataName()
Get the name of this data. |
protected List |
getDefaultLevels()
Get a list of selected levels. |
protected FieldImpl |
getSample(DataChoice dataChoice)
Get a sample observation |
int |
hashCode()
HashCode implementation. |
static void |
mainxxx(String[] args)
main |
protected 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 FieldImpl |
makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox,
boolean sampleIt)
|
protected List |
saveDataToLocalDisk(String prefix,
Object loadId,
boolean changeLinks)
Save data to local disk |
void |
setUrl(String url)
Deprecated. Use setSource() instead. |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, setNewFiles, setSources, sourcesChanged, 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, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Constructor Detail |
|---|
public AddePointDataSource()
throws VisADException
VisADException
public AddePointDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
throws VisADException
AddePointDataSource from the parameters
supplied.
descriptor - DataSourceDescriptor for this.source - Source URLproperties - Hashtable of properties for the source.
VisADException - couldn't create the VisAD data| Method Detail |
|---|
protected boolean canCreateGrid(RealType type)
canCreateGrid in class PointDataSourcetype - the type
public String getDataName()
getDataName in class PointDataSourcepublic boolean canSaveDataToLocalDisk()
canSaveDataToLocalDisk in interface DataSourcecanSaveDataToLocalDisk in class DataSourceImpl
protected List saveDataToLocalDisk(String prefix,
Object loadId,
boolean changeLinks)
throws Exception
saveDataToLocalDisk in class FilesDataSourceprefix - Fir dir and prefixloadId - For JobManagerchangeLinks - Change internal file references
Exception - On badness
protected FieldImpl getSample(DataChoice dataChoice)
throws Exception
getSample in class PointDataSourcedataChoice - choice
Exception - problem getting the sample
protected FieldImpl makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox)
throws Exception
makeObs in class PointDataSourcedataChoice - data choicesubset - subsetting selectionbbox - bounding box. may be null
Exception - problem creating the data
protected FieldImpl makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox,
boolean sampleIt)
throws Exception
dataChoice - data choicesubset - subsetting selectionbbox - bounding box. may be nullsampleIt - flag to just get a sample ob
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(Object o)
equals in class FilesDataSourceo - object in question
public int hashCode()
hashCode in class Objectpublic void setUrl(String url)
url - ADDE URL
public static void mainxxx(String[] args)
throws Exception
args - args
Exception - On badness
public List getAllLevels(DataChoice dataChoice,
DataSelection dataSelection)
getAllLevels in interface DataSourcegetAllLevels in class DataSourceImpldataChoice - The data choice we are getting levels fordataSelection - data selection
protected List getDefaultLevels()
getDefaultLevels in class PointDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||