public class AddeProfilerDataSource extends DataSourceImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAMS_ALL
set of all params to request
|
static java.lang.String |
PARAMS_SINGLE
set of params for a single station
|
static java.lang.String |
PROFILER_12MIN
12 minute profiler data identifier
|
static java.lang.String |
PROFILER_1HR
1 hour profiler data identifier
|
static java.lang.String |
PROFILER_30MIN
30 minute profiler data identifier
|
static java.lang.String |
PROFILER_6MIN
6 minute profiler data identifier
|
static java.lang.String |
PROFILER_DATAINT
Data source interval identifier
|
static java.lang.String |
PROFILER_INT
Data interval identifier
|
static java.lang.String |
PROFILER_NAME
Profile name
|
static java.lang.String |
PROFILER_SERVER
Profiler server identifier
|
static java.lang.String |
PROFILER_SERVER_INT_6MIN
6 minute server interval identifier
|
static java.lang.String |
PROFILER_SERVER_INT_HR
Hourly server interval identifier
|
static java.lang.String |
PROFILER_STATIONS
Profiler stations identifier
|
static java.lang.String |
PROFILER_TIMES
Profiler times
|
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_TIMESTRIDE, PROP_TITLE
Constructor and Description |
---|
AddeProfilerDataSource()
No argument XML persistence constructor
|
AddeProfilerDataSource(DataSourceDescriptor descriptor,
java.util.ArrayList stations,
java.util.Hashtable properties)
Create a new AddeProfilerDataSource
|
Modifier and Type | Method and Description |
---|---|
void |
doMakeDataChoices()
Called by DataSourceImpl to make the actual DataChoice(s) and add them
to a list of Datachoices; the DataSourceImpl
then checks to see if any derived
datachoices are possible to derive from these, and shows them if so.
|
protected java.util.List |
doMakeDateTimes()
Get the list of times for this datasource
|
boolean |
equals(java.lang.Object o)
Check to see if this AddeProfilerDataSource is equal to the object
in question.
|
protected visad.Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
Actually get the data identified by the given DataChoce.
|
java.util.List |
getSelectedStations()
Get the SelectedStations property.
|
int |
hashCode()
Return the hashcode for this object
|
void |
initAfterUnpersistence()
Extends method in DataSourceImpl to call local initProfiler ()
|
protected static visad.FieldImpl |
recastProfilerMultiStationData(visad.FieldImpl input,
int obInt)
Take a FieldImpl of National Profiler Network data
obtained from the PointDataAdapter.getData()
call based on an ADDE source request,
and turn it into a FieldImpl of data of different FunctionType.
|
protected static visad.FieldImpl |
recastProfilerSingleStationData(visad.FieldImpl input,
int obInt)
Take a FieldImpl of National Profiler Network data
obtained from the PointDataAdapter.getData()
call based on an ADDE source request,
and turn it into a FieldImpl of data of different FunctionType.
|
void |
setSelectedStations(java.util.List value)
Set the SelectedStations property.
|
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, 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, initAfter, initAfterCreation, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUniqueId
public static final java.lang.String PARAMS_ALL
public static final java.lang.String PARAMS_SINGLE
public static final java.lang.String PROFILER_NAME
public static final java.lang.String PROFILER_TIMES
public static final java.lang.String PROFILER_INT
public static final java.lang.String PROFILER_DATAINT
public static final java.lang.String PROFILER_STATIONS
public static final java.lang.String PROFILER_SERVER
public static final java.lang.String PROFILER_6MIN
public static final java.lang.String PROFILER_12MIN
public static final java.lang.String PROFILER_30MIN
public static final java.lang.String PROFILER_1HR
public static final java.lang.String PROFILER_SERVER_INT_6MIN
public static final java.lang.String PROFILER_SERVER_INT_HR
public AddeProfilerDataSource() throws visad.VisADException
visad.VisADException
- problem in VisADpublic AddeProfilerDataSource(DataSourceDescriptor descriptor, java.util.ArrayList stations, java.util.Hashtable properties) throws visad.VisADException
descriptor
- description of sourcestations
- stations to getproperties
- extra propertiesvisad.VisADException
- problem accessing datapublic void initAfterUnpersistence()
initAfterUnpersistence
in interface DataSource
initAfterUnpersistence
in class DataSourceImpl
public void doMakeDataChoices()
doMakeDataChoices
in class DataSourceImpl
protected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner
in class DataSourceImpl
dataChoice
- The data choice that identifies the requested
data.category
- The data category of the request.dataSelection
- Identifies any subsetting of the data.requestProperties
- Hashtable that holds any detailed request
properties.java.rmi.RemoteException
- Java RMI problemvisad.VisADException
- VisAD problemprotected static visad.FieldImpl recastProfilerSingleStationData(visad.FieldImpl input, int obInt) throws visad.VisADException
input
- a FieldImpl of NOAA National Profiler Network data
obtained from the PointDataAdapter.getData()
call based on an ADDE source request.obInt
- an int how many time values to skip to get desired intervalvisad.VisADException
protected static visad.FieldImpl recastProfilerMultiStationData(visad.FieldImpl input, int obInt) throws visad.VisADException, java.rmi.RemoteException
(DateTime -> ((lat,lon,z)->(dir,spd)) )suitable for display by a Unidata windBarbDisplayable.
Skip some ob times depending on whether have 1 hourly or 6 minute data, and whether want 1 hour, 30 min, 12 min, or 6 min intervals in the displayed data.
level filtering accepts date in altitude range zlevel +/- 125 meters
input
- a FieldImpl of NOAA National Profiler Network data
obtained from the PointDataAdapter.getData()
call based on an ADDE source request.obInt
- an int how many time values to skip to get desired intervaljava.rmi.RemoteException
visad.VisADException
public void setSelectedStations(java.util.List value)
value
- The new value for SelectedStationspublic java.util.List getSelectedStations()
public boolean equals(java.lang.Object o)
equals
in class DataSourceImpl
o
- object in questionpublic int hashCode()
hashCode
in class java.lang.Object
protected java.util.List doMakeDateTimes()
doMakeDateTimes
in class DataSourceImpl