public class AtcfStormDataSource extends StormDataSource
Modifier and Type | Field and Description |
---|---|
private int |
BASEIDX
_more_
|
private static java.lang.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 java.lang.String |
path
_more_
|
private static java.lang.String |
PREFIX_ANALYSIS
_more_
|
private static java.lang.String |
PREFIX_BEST
_more_
|
private java.util.List<StormInfo> |
stormInfos
_more_
|
private static java.lang.String |
WAY_BEST
_more_
|
private static java.lang.String |
WAY_CARQ
_more_
|
private static java.lang.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_STORMCATEGORY
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
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_TITLE
Constructor and Description |
---|
AtcfStormDataSource()
_more_
|
AtcfStormDataSource(ucar.unidata.data.DataSourceDescriptor descriptor,
java.lang.String url,
java.util.Hashtable properties)
_more_
|
Modifier and Type | Method and Description |
---|---|
private double |
getDouble(java.lang.String s)
_more_
|
java.lang.String |
getFullDescription()
_more_
|
private java.lang.String |
getFullPath(java.lang.String suffix)
_more_
|
java.lang.String |
getId()
_more_
|
java.lang.String |
getPath()
Get the Directory property.
|
java.util.List<StormInfo> |
getStormInfos()
_more_
|
StormTrackCollection |
getTrackCollectionInner(StormInfo stormInfo,
java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse,
Way observationWay)
_more_
|
java.lang.String |
getWayName()
_more_
|
protected void |
initializeStormData()
_more_
|
protected void |
initParams()
_more_
|
private byte[] |
readFile(java.lang.String file,
boolean ignoreErrors)
_more_
|
private boolean |
readTracks(StormInfo stormInfo,
StormTrackCollection tracks,
java.lang.String trackFile,
java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse,
boolean throwError)
_more_
|
void |
setPath(java.lang.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, reloadData
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
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
private 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 java.lang.String PREFIX_ANALYSIS
private static final java.lang.String PREFIX_BEST
private static final java.lang.String WAY_BEST
private static final java.lang.String WAY_CARQ
private static final java.lang.String WAY_WRNG
private static java.lang.String DEFAULT_PATH
private java.lang.String path
private java.util.List<StormInfo> stormInfos
private StormTrackCollection localTracks
public AtcfStormDataSource() throws java.lang.Exception
java.lang.Exception
- _more_public AtcfStormDataSource(ucar.unidata.data.DataSourceDescriptor descriptor, java.lang.String url, java.util.Hashtable properties)
descriptor
- _more_url
- _more_properties
- _more_public java.lang.String getFullDescription()
getFullDescription
in interface ucar.unidata.data.DataSource
getFullDescription
in class ucar.unidata.data.DataSourceImpl
public java.lang.String getId()
getId
in class StormDataSource
private java.lang.String getFullPath(java.lang.String suffix)
suffix
- _more_protected void initializeStormData()
initializeStormData
in class StormDataSource
public java.util.List<StormInfo> getStormInfos()
getStormInfos
in class StormDataSource
private double getDouble(java.lang.String s)
s
- _more_protected void initParams() throws VisADException
initParams
in class StormDataSource
VisADException
- _more_private boolean readTracks(StormInfo stormInfo, StormTrackCollection tracks, java.lang.String trackFile, java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse, boolean throwError) throws java.lang.Exception
stormInfo
- _more_tracks
- _more_trackFile
- _more_waysToUse
- _more_throwError
- _more_java.lang.Exception
- _more_public java.lang.String getWayName()
getWayName
in class StormDataSource
public StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse, Way observationWay) throws java.lang.Exception
getTrackCollectionInner
in class StormDataSource
stormInfo
- _more_waysToUse
- _more_observationWay
- _more_java.lang.Exception
- _more_public void setPath(java.lang.String value)
value
- The new value for Directorypublic java.lang.String getPath()
private byte[] readFile(java.lang.String file, boolean ignoreErrors) throws java.lang.Exception
file
- _more_ignoreErrors
- _more_java.lang.Exception
- _more_