|
||||||||||
| 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.radar.RadarDataSource
public abstract class RadarDataSource
A data source for Radar data files. This class holds a List of
data sources and a set of RadarAdapter-s to adapte each file.
| Field Summary | |
|---|---|
static DataCategory |
CATEGORY_CAPPI
Radar data appropriate for CAPPIE |
static DataCategory |
CATEGORY_ISOSURFACE
Radar data appropriate for radar isosurface |
static DataCategory |
CATEGORY_ISOSURFACE_TIME
Radar data appropriate for radar isosurface |
static DataCategory |
CATEGORY_RASTER_2D
The 2D radar sweep category |
static DataCategory |
CATEGORY_RASTER_2D_TIME
The 2D radar sweep category with time |
static DataCategory |
CATEGORY_RHI
Radar data appropriate for RHI |
static DataCategory |
CATEGORY_SWEEP_2D
The 2D radar sweep category |
static DataCategory |
CATEGORY_SWEEP_2D_TIME
The 2D radar sweep category |
static DataCategory |
CATEGORY_SWEEP_3D
2d sweep category |
static DataCategory |
CATEGORY_SWEEP_3D_TIME
3d sweep category |
static DataCategory |
CATEGORY_TH
The radar time height category |
static DataCategory |
CATEGORY_VCS
Radar data appropriate for radar vertical cross section |
static DataCategory |
CATEGORY_VOLUME
Radar data appropriate for radar volume |
static DataCategory |
CATEGORY_VWP
The radar vertical wind profiler category |
| 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.radar.RadarConstants |
|---|
AZIMUTH, ELEVATION_ANGLE, PROP_2DOR3D, PROP_ANGLE, PROP_ANGLES, PROP_AZIMUTH, PROP_CAPPI_LEVEL, PROP_CAPPI_LEVELS, PROP_TIMEHEIGHT, PROP_VCS, PROP_VOLUMEORSWEEP, PROP_VWP, RADAR_MOST_RECENT, RADIAL_VELOCITY_NAME, RANGE, REFLECTIVITY, REFLECTIVITY_NAME, SPECTRUM_WIDTH, SPECTRUM_WIDTH_NAME, STATION_LOCATION, VALUE_2D, VALUE_3D, VALUE_SWEEP, VALUE_VOLUME, VELOCITY |
| 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 | |
|---|---|
RadarDataSource()
Construct a radar data source. |
|
RadarDataSource(DataSourceDescriptor descriptor,
List sources,
String description,
Hashtable properties)
Construct a new radar data source. |
|
| Method Summary | |
|---|---|
boolean |
canSaveDataToLocalDisk()
Can this data source save its dat to local disk |
void |
clearCachedData()
This is called when the CacheManager detects the need ot clear memory. |
protected List |
doMakeDateTimes()
Create the list of times associated with this DataSource. |
protected List |
getAdapters()
Create, if needed, and return the list of adapters. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection subset,
Hashtable requestProperties)
Get the data for the given DataChoice and selection criteria. |
protected List |
getRadarAdapters()
Get the list of adapters. |
void |
initAfterUnpersistence()
handle legacy bundles |
protected abstract RadarAdapter |
makeRadarAdapter(String source)
Make a RadarAdapter from the source |
protected String |
processDataFilename(String filename,
int index)
Transmogrify the filename |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
doRemove, equals, getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initWithPollingInfo, isFileBased, newFilesFromPolling, propertiesChanged, reloadData, saveDataToLocalDisk, setNewFiles, setSource, 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, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Field Detail |
|---|
public static final DataCategory CATEGORY_RHI
public static final DataCategory CATEGORY_CAPPI
public static final DataCategory CATEGORY_VOLUME
public static final DataCategory CATEGORY_VCS
public static final DataCategory CATEGORY_ISOSURFACE
public static final DataCategory CATEGORY_ISOSURFACE_TIME
public static final DataCategory CATEGORY_SWEEP_3D
public static final DataCategory CATEGORY_SWEEP_3D_TIME
public static final DataCategory CATEGORY_SWEEP_2D
public static final DataCategory CATEGORY_SWEEP_2D_TIME
public static final DataCategory CATEGORY_TH
public static final DataCategory CATEGORY_VWP
public static final DataCategory CATEGORY_RASTER_2D
public static final DataCategory CATEGORY_RASTER_2D_TIME
| Constructor Detail |
|---|
public RadarDataSource()
public RadarDataSource(DataSourceDescriptor descriptor,
List sources,
String description,
Hashtable properties)
throws VisADException
descriptor - descriptor for this datasourcesources - List of sources of data (filenames, URLs)description - Description of the filesproperties - hashtable of properties. Includes radar location
VisADException - couldn't create the data| Method Detail |
|---|
public boolean canSaveDataToLocalDisk()
canSaveDataToLocalDisk in interface DataSourcecanSaveDataToLocalDisk in class DataSourceImpl
protected String processDataFilename(String filename,
int index)
processDataFilename in class FilesDataSourcefilename - filenameindex - which one
public void initAfterUnpersistence()
initAfterUnpersistence in interface DataSourceinitAfterUnpersistence in class FilesDataSource
protected abstract RadarAdapter makeRadarAdapter(String source)
throws Exception
source - source (file or URL) of data
Exception - problem creating the adapter.public void clearCachedData()
clearCachedData in interface DataSourceclearCachedData in class DataSourceImplprotected List getAdapters()
protected List doMakeDateTimes()
doMakeDateTimes in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection subset,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class DataSourceImpldataChoice - DataChoice for selectioncategory - DataCategory for the DataChoice (not used)subset - subsetting criteriarequestProperties - extra request properties
RemoteException - couldn't create a remote data object
VisADException - couldn't create the dataprotected List getRadarAdapters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||