|
||||||||||
| 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.NetcdfPointDataSource
public class NetcdfPointDataSource
A data source for netCDF or CDM point data
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.data.point.PointDataSource |
|---|
fieldsDescription, POINT_DATA, 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 |
|---|
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 | |
|---|---|
NetcdfPointDataSource()
Default constructor |
|
NetcdfPointDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
Create a new NetcdfPointDataSource |
|
NetcdfPointDataSource(DataSourceDescriptor descriptor,
String[] sources,
Hashtable properties)
Create a new NetcdfPointDataSource |
|
NetcdfPointDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
Create a new NetcdfPointDataSource |
|
| Method Summary | |
|---|---|
boolean |
canDoGeoSelection()
Can this datasource do the geoselection subsetting and decimation |
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 ucar.nc2.dt.PointObsDataset |
doMakeDataset()
Make the dataset |
boolean |
equals(Object o)
Check to see if this NetcdfPointDataSource is equal to the object in question. |
ucar.nc2.dt.PointObsDataset |
getDataset()
Return the GridDataset associated with this DataSource. |
int |
hashCode()
Get the hashcode for this object |
void |
initAfterCreation()
Initialize after we have been created. |
static void |
main(String[] args)
test |
protected FieldImpl |
makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox)
Make PointObs from the PointObsDataset |
| Methods inherited from class ucar.unidata.data.point.PointDataSource |
|---|
applyProperties, doMakeDataChoices, getBinRoundTo, getBinWidth, getDataInner, getDataName, getDescriptionDataChoice, getFullDescription, getPointCategories, getPropertiesComponents, getSource, init, makeFieldDescription, setBinRoundTo, setBinWidth, setRoundToFromComboBox, setSource, setWidthFromComboBox |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
doRemove, getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, saveDataToLocalDisk, setNewFiles, setSources, sourcesChanged, updateState |
| 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, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Constructor Detail |
|---|
public NetcdfPointDataSource()
throws VisADException
VisADException - problem creating the object
public NetcdfPointDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
throws VisADException
descriptor - data source descriptorsource - source of data (filename/URL)properties - extra properties for initialization
VisADException - problem creating the data
public NetcdfPointDataSource(DataSourceDescriptor descriptor,
String[] sources,
Hashtable properties)
throws VisADException
descriptor - data source descriptorsources - sources of data (filename/URL)properties - extra properties for initialization
VisADException - problem creating the data
public NetcdfPointDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
throws VisADException
descriptor - data source descriptorsources - List source of data (filenames/URLs)properties - extra properties for initialization
VisADException - problem creating the data| Method Detail |
|---|
public boolean canDoGeoSelection()
canDoGeoSelection in interface DataSourcecanDoGeoSelection in class DataSourceImplprotected boolean canDoGeoSelectionStride()
canDoGeoSelectionStride in class DataSourceImplpublic boolean canSaveDataToLocalDisk()
canSaveDataToLocalDisk in interface DataSourcecanSaveDataToLocalDisk in class DataSourceImplpublic boolean equals(Object o)
equals in class FilesDataSourceo - object in question
public int hashCode()
hashCode in class Objectpublic void initAfterCreation()
initAfterCreation in interface DataSourceinitAfterCreation in class FilesDataSourcepublic ucar.nc2.dt.PointObsDataset getDataset()
protected ucar.nc2.dt.PointObsDataset doMakeDataset()
protected FieldImpl makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox)
throws Exception
makeObs in class PointDataSourcedataChoice - choice for data (source of data)subset - subsetting parametersbbox - bounding box. may be null
Exception - problem creating datapublic static void main(String[] args)
args - args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||