Class StormDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
- All Implemented Interfaces:
Sharable
,DataSource
,DataSourceFactory
,XmlPersistable
- Direct Known Subclasses:
AtcfStormDataSource
,Diamond7StormDataSource
,STIStormDataSource
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
FieldsModifier and TypeFieldDescriptionstatic final String
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final String[]
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int
_more_static final int[]
_more_static final int
_more_static final int
_more_protected StormParam[]
_more_protected StormParam[]
_more_static StormParam
_more_static StormParam
_more_static StormParam
_more_private Hashtable
_more__more__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
DATAPATH_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_TIMESTRIDE, PROP_TITLE
-
Constructor Summary
ConstructorsConstructorDescription_more_StormDataSource
(DataSourceDescriptor descriptor, String name, String description, Hashtable properties) _more_ -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDistanceError
(StormTrack obsTrack, StormTrack fctTrack) _more_protected Way
_more_boolean
canAddCurrentName
(DataChoice dataChoice) _more_static StormTrack
difference
(StormTrack obsTrack, StormTrack fctTrack, StormParam param) _more_protected void
_more_int
getCategory
(String name) _more_static StormTrackPoint
getClosestPoint
(List<StormTrackPoint> aList, DateTime dt) _more_static StormTrackPoint[]
getClosestPointRange
(List<StormTrackPoint> aList, DateTime dt) _more__more_static double
_more_abstract String
getId()
_more_boolean
_more_getStormInfo
(String stormId) _more__more__more_abstract StormTrackCollection
getTrackCollectionInner
(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way observationWay) _more_protected Way
_more__more_getWays()
_more__more_static int
_more_protected final void
_more_protected void
_more_protected void
_more_boolean
_more_protected static RealType
makeRealType
(String id, String alias, Unit unit) _more_void
Re-initialize the storm data.Methods inherited from class ucar.unidata.data.DataSourceImpl
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, writeFieldMaskFile
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, 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 Details
-
CATEGORY_DB
_more_- See Also:
-
CATEGORY_TD
_more_- See Also:
-
CATEGORY_TS
_more_- See Also:
-
CATEGORY_TY
_more_- See Also:
-
CATEGORY_ST
_more_- See Also:
-
CATEGORY_TC
_more_- See Also:
-
CATEGORY_HU
_more_- See Also:
-
CATEGORY_SD
_more_- See Also:
-
CATEGORY_SS
_more_- See Also:
-
CATEGORY_EX
_more_- See Also:
-
CATEGORY_IN
_more_- See Also:
-
CATEGORY_DS
_more_- See Also:
-
CATEGORY_LO
_more_- See Also:
-
CATEGORY_WV
_more_- See Also:
-
CATEGORY_ET
_more_- See Also:
-
CATEGORY_XX
_more_- See Also:
-
PARAM_MINPRESSURE
_more_ -
PARAM_MAXWINDSPEED_KTS
_more_ -
CATEGORY_VALUES
_more_ -
CATEGORY_NAMES
_more_ -
ATTR_CATEGORY
_more_- See Also:
-
PARAM_STORMCATEGORY
_more_ -
obsParams
_more_ -
forecastParams
_more_ -
seenWays
_more_ -
ways
_more_ -
wayMap
_more_
-
-
Constructor Details
-
StormDataSource
_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 Details
-
isEditable
_more_- Returns:
- _more_
-
canAddCurrentName
_more_- Specified by:
canAddCurrentName
in interfaceDataSource
- Overrides:
canAddCurrentName
in classDataSourceImpl
- Parameters:
dataChoice
- _more_- Returns:
- _more_
-
makeRealType
_more_- Parameters:
id
- _more_alias
- _more_unit
- _more_- Returns:
- _more_
-
initAfter
_more_- Overrides:
initAfter
in classDataSourceImpl
-
initializeStormData
_more_ -
initParams
_more_- Throws:
VisADException
- _more_
-
getCategory
_more_- Parameters:
name
- _more_- Returns:
- _more_
-
getStormInfos
_more_- Returns:
- _more_
-
getId
_more_- Returns:
- _more_
-
doMakeDataChoices
_more_- Overrides:
doMakeDataChoices
in classDataSourceImpl
-
reloadData
Re-initialize the storm data.- Specified by:
reloadData
in interfaceDataSource
- Overrides:
reloadData
in classDataSourceImpl
-
getTrackCollection
public StormTrackCollection getTrackCollection(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way obsWay) throws Exception_more_- Parameters:
stormInfo
- _more_waysToUse
- _more_obsWay
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-
getWayName
_more_- Returns:
- _more_
-
getWaysName
_more_- Returns:
- _more_
-
getTrackCollectionInner
public abstract StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way observationWay) throws Exception_more_- Parameters:
stormInfo
- _more_waysToUse
- _more_observationWay
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-
addWay
_more_- Parameters:
way
- _more_- Returns:
- _more_
-
getWay
_more_- Parameters:
w
- _more_name
- _more_- Returns:
- _more_
-
getWays
_more_- Returns:
- _more_
-
getStormInfo
_more_- Parameters:
stormId
- _more_- Returns:
- _more_
-
getYear
_more_- Parameters:
dttm
- _more_- Returns:
- _more_
- Throws:
VisADException
- _more_
-
addDistanceError
_more_- Parameters:
obsTrack
- _more_fctTrack
- _more_- Throws:
VisADException
- _more_
-
difference
public static StormTrack difference(StormTrack obsTrack, StormTrack fctTrack, StormParam param) throws VisADException, RemoteException _more_- Parameters:
obsTrack
- _more_fctTrack
- _more_param
- _more_- Returns:
- _more_
- Throws:
RemoteException
- _more_VisADException
- _more_
-
getClosestPointRange
_more_- Parameters:
aList
- _more_dt
- _more_- Returns:
- _more_
-
getClosestPoint
_more_- Parameters:
aList
- _more_dt
- _more_- Returns:
- _more_
-
getIsObservationWayChangeable
_more_- Returns:
- _more_
-
getDefaultObservationWay
_more_- Returns:
- _more_
-
getDistance
_more_- Parameters:
p1
- _more_p2
- _more_- Returns:
- _more_
-