public abstract class StormDataSource extends DataSourceImpl
| Modifier and Type | Field and Description |
|---|---|
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_
|
protected StormParam[] |
forecastParams
_more_
|
protected StormParam[] |
obsParams
_more_
|
static StormParam |
PARAM_MAXWINDSPEED_KTS
_more_
|
static StormParam |
PARAM_MINPRESSURE
_more_
|
static StormParam |
PARAM_STORMCATEGORY
_more_
|
private Hashtable |
seenWays
_more_
|
private Hashtable<String,Way> |
wayMap
_more_
|
private List<Way> |
ways
_more_
|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESDATAPATH_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 and Description |
|---|
StormDataSource()
_more_
|
StormDataSource(DataSourceDescriptor descriptor,
String name,
String description,
Hashtable properties)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addDistanceError(StormTrack obsTrack,
StormTrack fctTrack)
_more_
|
protected Way |
addWay(Way way)
_more_
|
boolean |
canAddCurrentName(DataChoice dataChoice)
_more_
|
static StormTrack |
difference(StormTrack obsTrack,
StormTrack fctTrack,
StormParam param)
_more_
|
protected void |
doMakeDataChoices()
_more_
|
int |
getCategory(String name)
_more_
|
static StormTrackPoint |
getClosestPoint(List<StormTrackPoint> aList,
DateTime dt)
_more_
|
static StormTrackPoint[] |
getClosestPointRange(List<StormTrackPoint> aList,
DateTime dt)
_more_
|
Way |
getDefaultObservationWay()
_more_
|
static double |
getDistance(StormTrackPoint p1,
StormTrackPoint p2)
_more_
|
abstract String |
getId()
_more_
|
boolean |
getIsObservationWayChangeable()
_more_
|
StormInfo |
getStormInfo(String stormId)
_more_
|
abstract List<StormInfo> |
getStormInfos()
_more_
|
StormTrackCollection |
getTrackCollection(StormInfo stormInfo,
Hashtable<String,Boolean> waysToUse,
Way obsWay)
_more_
|
abstract StormTrackCollection |
getTrackCollectionInner(StormInfo stormInfo,
Hashtable<String,Boolean> waysToUse,
Way observationWay)
_more_
|
protected Way |
getWay(String w,
String name)
_more_
|
String |
getWayName()
_more_
|
List<Way> |
getWays()
_more_
|
String |
getWaysName()
_more_
|
static int |
getYear(DateTime dttm)
_more_
|
protected void |
initAfter()
_more_
|
protected void |
initializeStormData()
_more_
|
protected void |
initParams()
_more_
|
boolean |
isEditable()
_more_
|
protected static RealType |
makeRealType(String id,
String alias,
Unit unit)
_more_
|
void |
reloadData()
Re-initialize the storm data.
|
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, 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, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataInner, getDataIsEditable, getDataPaths, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getFullDescription, getid, getIdv, 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, initAfterCreation, initAfterUnpersistence, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFileapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueIdpublic static final int CATEGORY_DB
public static final int CATEGORY_TD
public static final int CATEGORY_TS
public static final int CATEGORY_TY
public static final int CATEGORY_ST
public static final int CATEGORY_TC
public static final int CATEGORY_HU
public static final int CATEGORY_SD
public static final int CATEGORY_SS
public static final int CATEGORY_EX
public static final int CATEGORY_IN
public static final int CATEGORY_DS
public static final int CATEGORY_LO
public static final int CATEGORY_WV
public static final int CATEGORY_ET
public static final int CATEGORY_XX
public static StormParam PARAM_MINPRESSURE
public static StormParam PARAM_MAXWINDSPEED_KTS
public static final int[] CATEGORY_VALUES
public static final String[] CATEGORY_NAMES
public static final String ATTR_CATEGORY
public static StormParam PARAM_STORMCATEGORY
protected StormParam[] obsParams
protected StormParam[] forecastParams
public StormDataSource() throws Exception
Exception - _more_public StormDataSource(DataSourceDescriptor descriptor, String name, String description, Hashtable properties)
descriptor - _more_name - _more_description - _more_properties - _more_public boolean isEditable()
public boolean canAddCurrentName(DataChoice dataChoice)
canAddCurrentName in interface DataSourcecanAddCurrentName in class DataSourceImpldataChoice - _more_protected static RealType makeRealType(String id, String alias, Unit unit)
id - _more_alias - _more_unit - _more_protected final void initAfter()
initAfter in class DataSourceImplprotected void initializeStormData()
protected void initParams() throws VisADException
VisADException - _more_public int getCategory(String name)
name - _more_public abstract List<StormInfo> getStormInfos()
protected void doMakeDataChoices()
doMakeDataChoices in class DataSourceImplpublic void reloadData()
reloadData in interface DataSourcereloadData in class DataSourceImplpublic StormTrackCollection getTrackCollection(StormInfo stormInfo, Hashtable<String,Boolean> waysToUse, Way obsWay) throws Exception
stormInfo - _more_waysToUse - _more_obsWay - _more_Exception - _more_public String getWayName()
public String getWaysName()
public abstract StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, Hashtable<String,Boolean> waysToUse, Way observationWay) throws Exception
stormInfo - _more_waysToUse - _more_observationWay - _more_Exception - _more_protected Way getWay(String w, String name)
w - _more_name - _more_public StormInfo getStormInfo(String stormId)
stormId - _more_public static int getYear(DateTime dttm) throws VisADException
dttm - _more_VisADException - _more_public static void addDistanceError(StormTrack obsTrack, StormTrack fctTrack) throws VisADException
obsTrack - _more_fctTrack - _more_VisADException - _more_public static StormTrack difference(StormTrack obsTrack, StormTrack fctTrack, StormParam param) throws VisADException, RemoteException
obsTrack - _more_fctTrack - _more_param - _more_RemoteException - _more_VisADException - _more_public static StormTrackPoint[] getClosestPointRange(List<StormTrackPoint> aList, DateTime dt)
aList - _more_dt - _more_public static StormTrackPoint getClosestPoint(List<StormTrackPoint> aList, DateTime dt)
aList - _more_dt - _more_public boolean getIsObservationWayChangeable()
public Way getDefaultObservationWay()
public static double getDistance(StormTrackPoint p1, StormTrackPoint p2)
p1 - _more_p2 - _more_