public class AtcfStormDataSource extends StormDataSource
| Modifier and Type | Field and Description |
|---|---|
private int |
BASEIDX
_more_
|
private static String |
DEFAULT_PATH
_more_
|
private int |
IDX_BASIN
_more_
|
private int |
IDX_CY
_more_
|
private int |
IDX_DEPTH
_more_
|
private int |
IDX_DIR
_more_
|
private int |
IDX_EYE
_more_
|
private int |
IDX_GUSTS
_more_
|
private int |
IDX_INITIALS
_more_
|
private int |
IDX_LAT
_more_
|
private int |
IDX_LON
_more_
|
private int |
IDX_MAXSEAS
_more_
|
private int |
IDX_MRD
_more_
|
private int |
IDX_MSLP
_more_
|
private int |
IDX_RAD
_more_
|
private int |
IDX_RAD1
_more_
|
private int |
IDX_RAD2
_more_
|
private int |
IDX_RAD3
_more_
|
private int |
IDX_RAD4
_more_
|
private int |
IDX_RADP
_more_
|
private int |
IDX_RRP
_more_
|
private int |
IDX_SEAS
_more_
|
private int |
IDX_SEAS1
_more_
|
private int |
IDX_SEAS2
_more_
|
private int |
IDX_SEAS3
_more_
|
private int |
IDX_SEAS4
_more_
|
private int |
IDX_SEASCODE
_more_
|
private int |
IDX_SPEED
_more_
|
private int |
IDX_STORMNAME
_more_
|
private int |
IDX_SUBREGION
_more_
|
private int |
IDX_TAU
_more_
|
private int |
IDX_TECH
_more_
|
private int |
IDX_TECHNUM
_more_
|
private int |
IDX_TY
_more_
|
private int |
IDX_VMAX
_more_
|
private int |
IDX_WINDCODE
_more_
|
private int |
IDX_YYYYMMDDHH
_more_
|
private StormTrackCollection |
localTracks
_more_
|
private String |
path
_more_
|
private static String |
PREFIX_ANALYSIS
_more_
|
private static String |
PREFIX_BEST
_more_
|
private List<StormInfo> |
stormInfos
_more_
|
private static String |
WAY_BEST
_more_
|
private static String |
WAY_CARQ
_more_
|
private static String |
WAY_WRNG
_more_
|
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_STORMCATEGORYchangeDataPathsCbx, 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 |
|---|
AtcfStormDataSource()
_more_
|
AtcfStormDataSource(DataSourceDescriptor descriptor,
String url,
Hashtable properties)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
private double |
getDouble(String s)
_more_
|
String |
getFullDescription()
_more_
|
private String |
getFullPath(String suffix)
_more_
|
String |
getId()
_more_
|
String |
getPath()
Get the Directory property.
|
List<StormInfo> |
getStormInfos()
_more_
|
StormTrackCollection |
getTrackCollectionInner(StormInfo stormInfo,
Hashtable<String,Boolean> waysToUse,
Way observationWay)
_more_
|
String |
getWayName()
_more_
|
protected void |
initializeStormData()
_more_
|
protected void |
initParams()
_more_
|
private byte[] |
readFile(String file,
boolean ignoreErrors)
_more_
|
private boolean |
readTracks(StormInfo stormInfo,
StormTrackCollection tracks,
String trackFile,
Hashtable<String,Boolean> waysToUse,
boolean throwError)
_more_
|
void |
setPath(String value)
Set the Directory property.
|
addDistanceError, addWay, canAddCurrentName, difference, doMakeDataChoices, getCategory, getClosestPoint, getClosestPointRange, getDefaultObservationWay, getDistance, getIsObservationWayChangeable, getStormInfo, getTrackCollection, getWay, getWays, getWaysName, getYear, initAfter, isEditable, makeRealType, reloadDataaddActions, 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, 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, waitgetUniqueIdprivate int BASEIDX
private int IDX_BASIN
private int IDX_CY
private int IDX_YYYYMMDDHH
private int IDX_TECHNUM
private int IDX_TECH
private int IDX_TAU
private int IDX_LAT
private int IDX_LON
private int IDX_VMAX
private int IDX_MSLP
private int IDX_TY
private int IDX_RAD
private int IDX_WINDCODE
private int IDX_RAD1
private int IDX_RAD2
private int IDX_RAD3
private int IDX_RAD4
private int IDX_RADP
private int IDX_RRP
private int IDX_MRD
private int IDX_GUSTS
private int IDX_EYE
private int IDX_SUBREGION
private int IDX_MAXSEAS
private int IDX_INITIALS
private int IDX_DIR
private int IDX_SPEED
private int IDX_STORMNAME
private int IDX_DEPTH
private int IDX_SEAS
private int IDX_SEASCODE
private int IDX_SEAS1
private int IDX_SEAS2
private int IDX_SEAS3
private int IDX_SEAS4
private static final String PREFIX_ANALYSIS
private static final String PREFIX_BEST
private static final String WAY_BEST
private static final String WAY_CARQ
private static final String WAY_WRNG
private static String DEFAULT_PATH
private List<StormInfo> stormInfos
private StormTrackCollection localTracks
public AtcfStormDataSource() throws Exception
Exception - _more_public AtcfStormDataSource(DataSourceDescriptor descriptor, String url, Hashtable properties)
descriptor - _more_url - _more_properties - _more_public String getFullDescription()
getFullDescription in interface DataSourcegetFullDescription in class DataSourceImplpublic String getId()
getId in class StormDataSourceprivate String getFullPath(String suffix)
suffix - _more_protected void initializeStormData()
initializeStormData in class StormDataSourcepublic List<StormInfo> getStormInfos()
getStormInfos in class StormDataSourceprotected void initParams() throws VisADException
initParams in class StormDataSourceVisADException - _more_private boolean readTracks(StormInfo stormInfo, StormTrackCollection tracks, String trackFile, Hashtable<String,Boolean> waysToUse, boolean throwError) throws Exception
stormInfo - _more_tracks - _more_trackFile - _more_waysToUse - _more_throwError - _more_Exception - _more_public String getWayName()
getWayName in class StormDataSourcepublic StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, Hashtable<String,Boolean> waysToUse, Way observationWay) throws Exception
getTrackCollectionInner in class StormDataSourcestormInfo - _more_waysToUse - _more_observationWay - _more_Exception - _more_public void setPath(String value)
value - The new value for Directory