|
||||||||||
| 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
ucar.unidata.data.radar.CDMRadarDataSource
public class CDMRadarDataSource
A data source for radar data through the netCDF Common Data Model (CDM) Radial Datatype API.
| Field Summary | |
|---|---|
static String |
PROP_RADARQUERY
This holds the RadarQuery in the properties |
| Fields inherited from class ucar.unidata.data.radar.RadarDataSource |
|---|
CATEGORY_CAPPI, CATEGORY_ISOSURFACE, CATEGORY_ISOSURFACE_TIME, CATEGORY_RASTER_2D, CATEGORY_RASTER_2D_TIME, CATEGORY_RHI, CATEGORY_SWEEP_2D, CATEGORY_SWEEP_2D_TIME, CATEGORY_SWEEP_3D, CATEGORY_SWEEP_3D_TIME, CATEGORY_TH, CATEGORY_VCS, CATEGORY_VOLUME, CATEGORY_VWP |
| 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 | |
|---|---|
CDMRadarDataSource()
Zero-argument constructor for construction via unpersistence. |
|
CDMRadarDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
Construct a new CDM data source. |
|
CDMRadarDataSource(DataSourceDescriptor descriptor,
RadarQuery radarQuery,
Hashtable properties)
Construct a new CDM data source. |
|
CDMRadarDataSource(DataSourceDescriptor descriptor,
String[] sources,
Hashtable properties)
Construct a new CDM data source. |
|
CDMRadarDataSource(DataSourceDescriptor descriptor,
String fileName,
Hashtable properties)
Construct a new CDM data source. |
|
| Method Summary | |
|---|---|
boolean |
applyProperties()
Apply properties components |
void |
doMakeDataChoices()
Make and insert the DataChoice-s for this
DataSource. |
boolean |
equals(Object o)
Check to see if this DoradeDataSource is equal to the object
in question. |
List |
getAllLevels(DataChoice dataChoice,
DataSelection dataSelection)
Get the list of all levels available from this DataSource |
void |
getPropertiesComponents(List comps)
Add the gui components into the list for the properties dialog |
NamedStationTable |
getStations()
Read in the nexrad stations from the idv/resources/nexradstns.xml resource |
int |
hashCode()
Get the hash code for this object. |
void |
initAfterUnpersistence()
handle legacy bundles |
static void |
main(String[] args)
Test program |
protected RadarAdapter |
makeRadarAdapter(String source)
Make the RadarAdapter for this class |
void |
reloadData()
Clear out and reinitialize the date |
| Methods inherited from class ucar.unidata.data.radar.RadarDataSource |
|---|
canSaveDataToLocalDisk, clearCachedData, doMakeDateTimes, getAdapters, getDataInner, getRadarAdapters, processDataFilename |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
doRemove, getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initWithPollingInfo, isFileBased, newFilesFromPolling, propertiesChanged, 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, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Field Detail |
|---|
public static final String PROP_RADARQUERY
| Constructor Detail |
|---|
public CDMRadarDataSource()
public CDMRadarDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
throws VisADException
descriptor - descriptor for this DataSourcesources - List of filenamesproperties - hashtable of properties
VisADException - problem creating data
public CDMRadarDataSource(DataSourceDescriptor descriptor,
String[] sources,
Hashtable properties)
throws VisADException
descriptor - descriptor for this datasourcesources - files to readproperties - hashtable of properties. Includes radar location
VisADException - couldn't create the data
public CDMRadarDataSource(DataSourceDescriptor descriptor,
String fileName,
Hashtable properties)
throws VisADException
descriptor - descriptor for this DataSourcefileName - name of the DORADE file to readproperties - hashtable of properties
VisADException - problem creating data
public CDMRadarDataSource(DataSourceDescriptor descriptor,
RadarQuery radarQuery,
Hashtable properties)
throws VisADException
descriptor - descriptor for this DataSourceradarQuery - Holds the query infoproperties - hashtable of properties
VisADException - problem creating data| Method Detail |
|---|
public void initAfterUnpersistence()
initAfterUnpersistence in interface DataSourceinitAfterUnpersistence in class RadarDataSourcepublic void reloadData()
reloadData in interface DataSourcereloadData in class FilesDataSourcepublic void doMakeDataChoices()
DataChoice-s for this
DataSource.
doMakeDataChoices in class DataSourceImplpublic boolean equals(Object o)
DoradeDataSource is equal to the object
in question.
equals in class FilesDataSourceo - object in question
public int hashCode()
hashCode in class Objectpublic static void main(String[] args)
args - file name
protected RadarAdapter makeRadarAdapter(String source)
throws Exception
makeRadarAdapter in class RadarDataSourcesource - source of the data
Exception - problem opening the file or creating the datapublic void getPropertiesComponents(List comps)
getPropertiesComponents in class DataSourceImplcomps - List of componentspublic boolean applyProperties()
applyProperties in class DataSourceImplpublic NamedStationTable getStations()
NamedStation-s
public List getAllLevels(DataChoice dataChoice,
DataSelection dataSelection)
getAllLevels in interface DataSourcegetAllLevels in class DataSourceImpldataChoice - The data choice we are getting levels fordataSelection - data selection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||