Class Diamond7StormDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
edu.wisc.ssec.mcidasv.data.cyclone.Diamond7StormDataSource
- All Implemented Interfaces:
Sharable,DataSource,DataSourceFactory,XmlPersistable
Created by IntelliJ IDEA. User: yuanho Date: May 8, 2009 Time: 10:02:15 AM To
change this template use File | Settings | File Templates.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Way_more_private String_more_private booleanprivate static final org.slf4j.Loggerprivate static float_more_static StormParam_more_static StormParam_more_static StormParam_more_static StormParam_more_static StormParam_more_static StormParam_more_static StormParam_more_static StormParam_more_the stormInfo and trackprivate List<StormTrack> the stormInfo and trackFields 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_STORMCATEGORYFields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESFields 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_Diamond7StormDataSource(DataSourceDescriptor descriptor, String fileName, Hashtable properties) constructor of sti storm data source -
Method Summary
Modifier and TypeMethodDescriptionprivate DateTimegetDateTime(int year, int month, int day, int hour) _more_double_more_private StormTrackgetForecastTrack(StormInfo stormInfo, DateTime sTime, Way forecastWay) _more_private List<StormTrack> getForecastTracks(StormInfo stormInfo, Way forecastWay) _more_getForecastTrackStartDates(StormInfo stormInfo, Way way) _more_getForecastWays(StormInfo stormInfo) _more_getId()_more_boolean_more_doublegetLatLonValue(double d) _more_protected StormTrackgetObservationTrack(StormInfo stormInfo, Way observationWay) _more_protected List<StormTrackPoint> _more_protected List<StormTrackPoint> getObservationTrackPoints(StormInfo stormInfo, Way wy) _more_protected DateTimegetStartTime(List times) _more__more_protected DateTimegetStormStartTime(String sid) _more_getTrackCollectionInner(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way observationWay) _more_doubleIf d is a missing value return NaN.protected void_more_protected void_more_boolean_more_static void_more_Methods inherited from class edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
addDistanceError, addWay, canAddCurrentName, difference, doMakeDataChoices, getCategory, getClosestPoint, getClosestPointRange, getDefaultObservationWay, getDistance, getStormInfo, getTrackCollection, getWay, getWayName, getWays, getWaysName, getYear, initAfter, makeRealType, reloadDataMethods 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, writeFieldMaskFileMethods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ucar.unidata.data.DataSource
getUniqueId
-
Field Details
-
logger
-
PARAM_MAXWINDSPEED
_more_ -
PARAM_RADIUSMODERATEGALE
_more_ -
PARAM_RADIUSWHOLEGALE
_more_ -
PARAM_DISTANCE_ERROR
_more_ -
PARAM_PROBABILITY100RADIUS
_more_ -
PARAM_PROBABILITYRADIUS
_more_ -
PARAM_MOVEDIRECTION
_more_ -
PARAM_MOVESPEED
_more_ -
MISSING
_more_ -
fileName
_more_ -
stormInfos
the stormInfo and track -
stormTracks
the stormInfo and track -
stormWays
-
DEFAULT_OBSERVATION_WAY
_more_ -
hasObservation
-
-
Constructor Details
-
Diamond7StormDataSource
public Diamond7StormDataSource(DataSourceDescriptor descriptor, String fileName, Hashtable properties) throws Exception constructor of sti storm data source- Parameters:
descriptor- _more_fileName- _more_properties- _more_- Throws:
Exception- _more_
-
Diamond7StormDataSource
_more_- Throws:
Exception- _more_
-
-
Method Details
-
getId
_more_- Specified by:
getIdin classStormDataSource- Returns:
- _more_
-
isEditable
_more_- Overrides:
isEditablein classStormDataSource- Returns:
- _more_
-
initParams
_more_- Overrides:
initParamsin classStormDataSource- Throws:
VisADException- _more_
-
initializeStormData
_more_- Overrides:
initializeStormDatain classStormDataSource
-
getDouble
_more_- Parameters:
dstring- _more_- Returns:
- _more_
-
getStormInfos
_more_- Specified by:
getStormInfosin classStormDataSource- Returns:
- _more_
-
getTrackCollectionInner
public StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, Hashtable<String, Boolean> waysToUse, Way observationWay) throws Exception_more_- Specified by:
getTrackCollectionInnerin classStormDataSource- Parameters:
stormInfo- _more_waysToUse- _more_observationWay- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getForecastTracks
_more_- Parameters:
stormInfo- _more_forecastWay- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getValue
If d is a missing value return NaN. Else return d- Parameters:
d- is checked if not missing return same valuename- _more_- Returns:
- _more_
-
getLatLonValue
_more_- Parameters:
d- _more_- Returns:
- _more_
-
getForecastTrack
private StormTrack getForecastTrack(StormInfo stormInfo, DateTime sTime, Way forecastWay) throws Exception _more_- Parameters:
stormInfo- _more_sTime- _more_forecastWay- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getDateTime
_more_- Parameters:
year- _more_month- _more_day- _more_hour- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getForecastTrackStartDates
_more_- Parameters:
stormInfo- _more_way- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getObservationTrack
_more_- Parameters:
stormInfo- _more_observationWay- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getIsObservationWayChangeable
_more_- Overrides:
getIsObservationWayChangeablein classStormDataSource- Returns:
- _more_
-
getObservationTrackPoints
protected List<StormTrackPoint> getObservationTrackPoints(StormInfo stormInfo, Way wy) throws Exception _more_- Parameters:
stormInfo- _more_wy- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getObservationTrack
protected List<StormTrackPoint> getObservationTrack(StormInfo stormInfo, Way wy, DateTime before, DateTime after, List pts) throws Exception _more_- Parameters:
stormInfo- _more_wy- _more_before- _more_after- _more_pts- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getStartTime
_more_- Parameters:
times- _more_- Returns:
- _more_
-
getStormStartTime
_more_- Parameters:
sid- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getForecastWays
_more_- Parameters:
stormInfo- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
main
_more_- Parameters:
args- _more_- Throws:
Exception- _more_
-