Class AtcfStormDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
edu.wisc.ssec.mcidasv.data.cyclone.AtcfStormDataSource
- All Implemented Interfaces:
Sharable
,DataSource
,DataSourceFactory
,XmlPersistable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
_more_private static String
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private int
_more_private StormTrackCollection
_more_private String
_more_private static final String
_more_private static final String
_more__more_private static final String
_more_private static final String
_more_private static final String
_more_Fields inherited from class edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
ATTR_CATEGORY, CATEGORY_DB, CATEGORY_DS, CATEGORY_ET, CATEGORY_EX, CATEGORY_HU, CATEGORY_IN, CATEGORY_LO, CATEGORY_NAMES, CATEGORY_SD, CATEGORY_SS, CATEGORY_ST, CATEGORY_TC, CATEGORY_TD, CATEGORY_TS, CATEGORY_TY, CATEGORY_VALUES, CATEGORY_WV, CATEGORY_XX, forecastParams, obsParams, PARAM_MAXWINDSPEED_KTS, PARAM_MINPRESSURE, PARAM_STORMCATEGORY
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_AtcfStormDataSource
(DataSourceDescriptor descriptor, String url, Hashtable properties) _more_ -
Method Summary
Modifier and TypeMethodDescriptionprivate double
_more__more_private String
getFullPath
(String suffix) _more_getId()
_more_getPath()
Get the Directory property._more_getTrackCollectionInner
(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way observationWay) _more__more_protected void
_more_protected void
_more_private byte[]
_more_private boolean
readTracks
(StormInfo stormInfo, StormTrackCollection tracks, String trackFile, Hashtable<String, Boolean> waysToUse, boolean throwError) _more_void
Set the Directory property.Methods inherited from class edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
addDistanceError, addWay, canAddCurrentName, difference, doMakeDataChoices, getCategory, getClosestPoint, getClosestPointRange, getDefaultObservationWay, getDistance, getIsObservationWayChangeable, getStormInfo, getTrackCollection, getWay, getWays, getWaysName, getYear, initAfter, isEditable, makeRealType, reloadData
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, 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
-
BASEIDX
_more_ -
IDX_BASIN
_more_ -
IDX_CY
_more_ -
IDX_YYYYMMDDHH
_more_ -
IDX_TECHNUM
_more_ -
IDX_TECH
_more_ -
IDX_TAU
_more_ -
IDX_LAT
_more_ -
IDX_LON
_more_ -
IDX_VMAX
_more_ -
IDX_MSLP
_more_ -
IDX_TY
_more_ -
IDX_RAD
_more_ -
IDX_WINDCODE
_more_ -
IDX_RAD1
_more_ -
IDX_RAD2
_more_ -
IDX_RAD3
_more_ -
IDX_RAD4
_more_ -
IDX_RADP
_more_ -
IDX_RRP
_more_ -
IDX_MRD
_more_ -
IDX_GUSTS
_more_ -
IDX_EYE
_more_ -
IDX_SUBREGION
_more_ -
IDX_MAXSEAS
_more_ -
IDX_INITIALS
_more_ -
IDX_DIR
_more_ -
IDX_SPEED
_more_ -
IDX_STORMNAME
_more_ -
IDX_DEPTH
_more_ -
IDX_SEAS
_more_ -
IDX_SEASCODE
_more_ -
IDX_SEAS1
_more_ -
IDX_SEAS2
_more_ -
IDX_SEAS3
_more_ -
IDX_SEAS4
_more_ -
PREFIX_ANALYSIS
_more_- See Also:
-
PREFIX_BEST
_more_- See Also:
-
WAY_BEST
_more_- See Also:
-
WAY_CARQ
_more_- See Also:
-
WAY_WRNG
_more_- See Also:
-
DEFAULT_PATH
_more_ -
path
_more_ -
stormInfos
_more_ -
localTracks
_more_
-
-
Constructor Details
-
AtcfStormDataSource
_more_- Throws:
Exception
- _more_
-
AtcfStormDataSource
_more_- Parameters:
descriptor
- _more_url
- _more_properties
- _more_
-
-
Method Details
-
getFullDescription
_more_- Specified by:
getFullDescription
in interfaceDataSource
- Overrides:
getFullDescription
in classDataSourceImpl
- Returns:
- _more_
-
getId
_more_- Specified by:
getId
in classStormDataSource
- Returns:
- _more_
-
getFullPath
_more_- Parameters:
suffix
- _more_- Returns:
- _more_
-
initializeStormData
_more_- Overrides:
initializeStormData
in classStormDataSource
-
getStormInfos
_more_- Specified by:
getStormInfos
in classStormDataSource
- Returns:
- _more_
-
getDouble
_more_- Parameters:
s
- _more_- Returns:
- _more_
-
initParams
_more_- Overrides:
initParams
in classStormDataSource
- Throws:
VisADException
- _more_
-
readTracks
private boolean readTracks(StormInfo stormInfo, StormTrackCollection tracks, String trackFile, Hashtable<String, Boolean> waysToUse, boolean throwError) throws Exception_more_- Parameters:
stormInfo
- _more_tracks
- _more_trackFile
- _more_waysToUse
- _more_throwError
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-
getWayName
_more_- Overrides:
getWayName
in classStormDataSource
- Returns:
- _more_
-
getTrackCollectionInner
public StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way observationWay) throws Exception_more_- Specified by:
getTrackCollectionInner
in classStormDataSource
- Parameters:
stormInfo
- _more_waysToUse
- _more_observationWay
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-
setPath
Set the Directory property.- Parameters:
value
- The new value for Directory
-
getPath
Get the Directory property.- Returns:
- The Directory
-
readFile
_more_- Parameters:
file
- _more_ignoreErrors
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-