ucar.unidata.data.storm
Class StormDataSource

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.data.DataSourceImpl
          extended by ucar.unidata.data.storm.StormDataSource
All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable
Direct Known Subclasses:
AtcfStormDataSource, STIStormDataSource

public abstract class StormDataSource
extends DataSourceImpl

Created by IntelliJ IDEA. User: yuanho Date: Apr 9, 2008 Time: 4:57:58 PM To change this template use File | Settings | File Templates.


Field Summary
static String ATTR_CATEGORY
          _more_
static int CATEGORY_DB
          _more_
static int CATEGORY_DS
          _more_
static int CATEGORY_ET
          _more_
static int CATEGORY_EX
          _more_
static int CATEGORY_HU
          _more_
static int CATEGORY_IN
          _more_
static int CATEGORY_LO
          _more_
static String[] CATEGORY_NAMES
          _more_
static int CATEGORY_SD
          _more_
static int CATEGORY_SS
          _more_
static int CATEGORY_ST
          _more_
static int CATEGORY_TC
          _more_
static int CATEGORY_TD
          _more_
static int CATEGORY_TS
          _more_
static int CATEGORY_TY
          _more_
static int[] CATEGORY_VALUES
          _more_
static int CATEGORY_WV
          _more_
static int CATEGORY_XX
          _more_
static RealType TYPE_STORMCATEGORY
          _more_
 
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
StormDataSource()
          _more_
StormDataSource(DataSourceDescriptor descriptor, String name, String description, Hashtable properties)
          _more_
 
Method Summary
protected  void doMakeDataChoices()
          _more_
 int getCategory(String name)
          _more_
 StormInfo getStormInfo(String stormId)
          _more_
abstract  List<StormInfo> getStormInfos()
          _more_
abstract  StormTrackCollection getTrackCollection(StormInfo stormInfo, Hashtable<String,Boolean> waysToUse)
          _more_
static int getYear(DateTime dttm)
          _more_
protected  void initTypes()
           
 
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canCacheDataToDisk, canChangeData, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, equals, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataInner, getDataIsEditable, getDataPaths, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDescription, getDescriptor, getErrorMessage, getExtraGeoSelectionComponent, getFileFilterForPolling, getFullDescription, getid, getInError, getLocalDirectory, getLocationForPolling, getLocationsForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initAfterUnpersistence, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, reloadData, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, saveDataToLocalDisk, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDescription, setDescriptor, setDirectory, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFile
 
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

CATEGORY_DB

public static final int CATEGORY_DB
_more_

See Also:
Constant Field Values

CATEGORY_TD

public static final int CATEGORY_TD
_more_

See Also:
Constant Field Values

CATEGORY_TS

public static final int CATEGORY_TS
_more_

See Also:
Constant Field Values

CATEGORY_TY

public static final int CATEGORY_TY
_more_

See Also:
Constant Field Values

CATEGORY_ST

public static final int CATEGORY_ST
_more_

See Also:
Constant Field Values

CATEGORY_TC

public static final int CATEGORY_TC
_more_

See Also:
Constant Field Values

CATEGORY_HU

public static final int CATEGORY_HU
_more_

See Also:
Constant Field Values

CATEGORY_SD

public static final int CATEGORY_SD
_more_

See Also:
Constant Field Values

CATEGORY_SS

public static final int CATEGORY_SS
_more_

See Also:
Constant Field Values

CATEGORY_EX

public static final int CATEGORY_EX
_more_

See Also:
Constant Field Values

CATEGORY_IN

public static final int CATEGORY_IN
_more_

See Also:
Constant Field Values

CATEGORY_DS

public static final int CATEGORY_DS
_more_

See Also:
Constant Field Values

CATEGORY_LO

public static final int CATEGORY_LO
_more_

See Also:
Constant Field Values

CATEGORY_WV

public static final int CATEGORY_WV
_more_

See Also:
Constant Field Values

CATEGORY_ET

public static final int CATEGORY_ET
_more_

See Also:
Constant Field Values

CATEGORY_XX

public static final int CATEGORY_XX
_more_

See Also:
Constant Field Values

CATEGORY_VALUES

public static final int[] CATEGORY_VALUES
_more_


CATEGORY_NAMES

public static final String[] CATEGORY_NAMES
_more_


ATTR_CATEGORY

public static final String ATTR_CATEGORY
_more_

See Also:
Constant Field Values

TYPE_STORMCATEGORY

public static RealType TYPE_STORMCATEGORY
_more_

Constructor Detail

StormDataSource

public StormDataSource()
                throws Exception
_more_

Throws:
Exception - _more_

StormDataSource

public StormDataSource(DataSourceDescriptor descriptor,
                       String name,
                       String description,
                       Hashtable properties)
_more_

Parameters:
descriptor - _more_
name - _more_
description - _more_
properties - _more_
Method Detail

initTypes

protected void initTypes()
                  throws VisADException
Throws:
VisADException

getCategory

public int getCategory(String name)
_more_

Parameters:
name - _more_
Returns:
_more_

getStormInfos

public abstract List<StormInfo> getStormInfos()
_more_

Returns:
_more_

doMakeDataChoices

protected void doMakeDataChoices()
_more_

Overrides:
doMakeDataChoices in class DataSourceImpl

getTrackCollection

public abstract StormTrackCollection getTrackCollection(StormInfo stormInfo,
                                                        Hashtable<String,Boolean> waysToUse)
                                                 throws Exception
_more_

Parameters:
stormInfo - _more_
Returns:
_more_
Throws:
Exception - _more_

getStormInfo

public StormInfo getStormInfo(String stormId)
_more_

Parameters:
stormId - _more_
Returns:
_more_

getYear

public static int getYear(DateTime dttm)
                   throws VisADException
_more_

Parameters:
dttm - _more_
Returns:
_more_
Throws:
VisADException - _more_