public abstract class StormDataSource extends ucar.unidata.data.DataSourceImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_CATEGORY
_more_
|
static int |
CATEGORY_DB
_more_
|
static int |
CATEGORY_DS
_more_
|
static int |
CATEGORY_ET
_more_
|
static int |
CATEGORY_EX
_more_
|
static int |
CATEGORY_HU
_more_
|
static int |
CATEGORY_IN
_more_
|
static int |
CATEGORY_LO
_more_
|
static java.lang.String[] |
CATEGORY_NAMES
_more_
|
static int |
CATEGORY_SD
_more_
|
static int |
CATEGORY_SS
_more_
|
static int |
CATEGORY_ST
_more_
|
static int |
CATEGORY_TC
_more_
|
static int |
CATEGORY_TD
_more_
|
static int |
CATEGORY_TS
_more_
|
static int |
CATEGORY_TY
_more_
|
static int[] |
CATEGORY_VALUES
_more_
|
static int |
CATEGORY_WV
_more_
|
static int |
CATEGORY_XX
_more_
|
protected StormParam[] |
forecastParams
_more_
|
protected StormParam[] |
obsParams
_more_
|
static StormParam |
PARAM_MAXWINDSPEED_KTS
_more_
|
static StormParam |
PARAM_MINPRESSURE
_more_
|
static StormParam |
PARAM_STORMCATEGORY
_more_
|
private java.util.Hashtable |
seenWays
_more_
|
private java.util.Hashtable<java.lang.String,Way> |
wayMap
_more_
|
private java.util.List<Way> |
ways
_more_
|
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 |
---|
StormDataSource()
_more_
|
StormDataSource(ucar.unidata.data.DataSourceDescriptor descriptor,
java.lang.String name,
java.lang.String description,
java.util.Hashtable properties)
_more_
|
Modifier and Type | Method and Description |
---|---|
static void |
addDistanceError(StormTrack obsTrack,
StormTrack fctTrack)
_more_
|
protected Way |
addWay(Way way)
_more_
|
boolean |
canAddCurrentName(ucar.unidata.data.DataChoice dataChoice)
_more_
|
static StormTrack |
difference(StormTrack obsTrack,
StormTrack fctTrack,
StormParam param)
_more_
|
protected void |
doMakeDataChoices()
_more_
|
int |
getCategory(java.lang.String name)
_more_
|
static StormTrackPoint |
getClosestPoint(java.util.List<StormTrackPoint> aList,
visad.DateTime dt)
_more_
|
static StormTrackPoint[] |
getClosestPointRange(java.util.List<StormTrackPoint> aList,
visad.DateTime dt)
_more_
|
Way |
getDefaultObservationWay()
_more_
|
static double |
getDistance(StormTrackPoint p1,
StormTrackPoint p2)
_more_
|
abstract java.lang.String |
getId()
_more_
|
boolean |
getIsObservationWayChangeable()
_more_
|
StormInfo |
getStormInfo(java.lang.String stormId)
_more_
|
abstract java.util.List<StormInfo> |
getStormInfos()
_more_
|
StormTrackCollection |
getTrackCollection(StormInfo stormInfo,
java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse,
Way obsWay)
_more_
|
abstract StormTrackCollection |
getTrackCollectionInner(StormInfo stormInfo,
java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse,
Way observationWay)
_more_
|
protected Way |
getWay(java.lang.String w,
java.lang.String name)
_more_
|
java.lang.String |
getWayName()
_more_
|
java.util.List<Way> |
getWays()
_more_
|
java.lang.String |
getWaysName()
_more_
|
static int |
getYear(visad.DateTime dttm)
_more_
|
protected void |
initAfter()
_more_
|
protected void |
initializeStormData()
_more_
|
protected void |
initParams()
_more_
|
boolean |
isEditable()
_more_
|
protected static visad.RealType |
makeRealType(java.lang.String id,
java.lang.String alias,
visad.Unit unit)
_more_
|
void |
reloadData()
Re-initialize the storm data.
|
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
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public static final int CATEGORY_DB
public static final int CATEGORY_TD
public static final int CATEGORY_TS
public static final int CATEGORY_TY
public static final int CATEGORY_ST
public static final int CATEGORY_TC
public static final int CATEGORY_HU
public static final int CATEGORY_SD
public static final int CATEGORY_SS
public static final int CATEGORY_EX
public static final int CATEGORY_IN
public static final int CATEGORY_DS
public static final int CATEGORY_LO
public static final int CATEGORY_WV
public static final int CATEGORY_ET
public static final int CATEGORY_XX
public static StormParam PARAM_MINPRESSURE
public static StormParam PARAM_MAXWINDSPEED_KTS
public static final int[] CATEGORY_VALUES
public static final java.lang.String[] CATEGORY_NAMES
public static final java.lang.String ATTR_CATEGORY
public static StormParam PARAM_STORMCATEGORY
protected StormParam[] obsParams
protected StormParam[] forecastParams
private java.util.Hashtable seenWays
public StormDataSource() throws java.lang.Exception
java.lang.Exception
- _more_public StormDataSource(ucar.unidata.data.DataSourceDescriptor descriptor, java.lang.String name, java.lang.String description, java.util.Hashtable properties)
descriptor
- _more_name
- _more_description
- _more_properties
- _more_public boolean isEditable()
public boolean canAddCurrentName(ucar.unidata.data.DataChoice dataChoice)
canAddCurrentName
in interface ucar.unidata.data.DataSource
canAddCurrentName
in class ucar.unidata.data.DataSourceImpl
dataChoice
- _more_protected static visad.RealType makeRealType(java.lang.String id, java.lang.String alias, visad.Unit unit)
id
- _more_alias
- _more_unit
- _more_protected final void initAfter()
initAfter
in class ucar.unidata.data.DataSourceImpl
protected void initializeStormData()
protected void initParams() throws visad.VisADException
visad.VisADException
- _more_public int getCategory(java.lang.String name)
name
- _more_public abstract java.util.List<StormInfo> getStormInfos()
public abstract java.lang.String getId()
protected void doMakeDataChoices()
doMakeDataChoices
in class ucar.unidata.data.DataSourceImpl
public void reloadData()
reloadData
in interface ucar.unidata.data.DataSource
reloadData
in class ucar.unidata.data.DataSourceImpl
public StormTrackCollection getTrackCollection(StormInfo stormInfo, java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse, Way obsWay) throws java.lang.Exception
stormInfo
- _more_waysToUse
- _more_obsWay
- _more_java.lang.Exception
- _more_public java.lang.String getWayName()
public java.lang.String getWaysName()
public abstract StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, java.util.Hashtable<java.lang.String,java.lang.Boolean> waysToUse, Way observationWay) throws java.lang.Exception
stormInfo
- _more_waysToUse
- _more_observationWay
- _more_java.lang.Exception
- _more_protected Way getWay(java.lang.String w, java.lang.String name)
w
- _more_name
- _more_public StormInfo getStormInfo(java.lang.String stormId)
stormId
- _more_public static int getYear(visad.DateTime dttm) throws visad.VisADException
dttm
- _more_visad.VisADException
- _more_public static void addDistanceError(StormTrack obsTrack, StormTrack fctTrack) throws visad.VisADException
obsTrack
- _more_fctTrack
- _more_visad.VisADException
- _more_public static StormTrack difference(StormTrack obsTrack, StormTrack fctTrack, StormParam param) throws visad.VisADException, java.rmi.RemoteException
obsTrack
- _more_fctTrack
- _more_param
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public static StormTrackPoint[] getClosestPointRange(java.util.List<StormTrackPoint> aList, visad.DateTime dt)
aList
- _more_dt
- _more_public static StormTrackPoint getClosestPoint(java.util.List<StormTrackPoint> aList, visad.DateTime dt)
aList
- _more_dt
- _more_public boolean getIsObservationWayChangeable()
public Way getDefaultObservationWay()
public static double getDistance(StormTrackPoint p1, StormTrackPoint p2)
p1
- _more_p2
- _more_