public class AddeImageDataSource extends ImageDataSource
ImageDataSource.ImageDataInfo
Modifier and Type | Field and Description |
---|---|
protected AddeImageDataSelection |
addeImageDataSelection
_more_
|
static java.lang.String |
SPACING_BRIT
_more_
|
static java.lang.String |
SPACING_NON_BRIT
_more_
|
protected java.util.List<DataChoice> |
stashedChoices
_more_
|
imageList, imageTimes, PROP_BANDINFO, PROP_IMAGETYPE, TYPE_RADAR, TYPE_SATELLITE
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 |
---|
AddeImageDataSource()
The parameterless ctor unpersisting.
|
AddeImageDataSource(DataSourceDescriptor descriptor,
ImageDataset ids,
java.util.Hashtable properties)
Create a new AddeImageDataSource with the given dataset.
|
AddeImageDataSource(DataSourceDescriptor descriptor,
java.util.List images,
java.util.Hashtable properties)
Create a new AddeImageDataSource with an array (String) image ADDE urls.
|
AddeImageDataSource(DataSourceDescriptor descriptor,
java.lang.String[] images,
java.util.Hashtable properties)
Create a new AddeImageDataSource with an array (String) image ADDE urls.
|
AddeImageDataSource(DataSourceDescriptor descriptor,
java.lang.String image,
java.util.Hashtable properties)
Create a new AddeImageDataSource with an a single image ADDE url.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addDataChoice(DataChoice choice)
_more_
|
int |
calculateMagFactor(int dataPoints,
int displayPoints)
_more_
|
java.util.List |
geoSpaceSubsetD(java.awt.geom.Rectangle2D rect,
java.lang.String unit,
int eMag,
int lMag,
edu.wisc.ssec.mcidas.AREAnav baseAnav,
java.util.List despList,
double maxLat,
double minLat,
double maxLon,
double minLon,
int factor,
int dlMag,
int deMag,
java.lang.String placeValue,
boolean isProgressiveResolution,
ucar.unidata.geoloc.LatLonPointImpl centerLLP,
java.lang.String nav)
_more_
|
AddeImageDataSelection |
getAddeImageDataSelection()
_more_
|
java.lang.String |
getBaseSource(java.lang.String source)
_more_
|
java.lang.String |
getChoiceName()
_more_
|
protected visad.Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
_more_
|
java.lang.String |
getDataName()
Get the name for this data.
|
protected java.util.List |
getDescriptors(DataChoice dataChoice,
DataSelection subset)
_more_
|
int |
getEleMag()
_more_
|
int |
getEMag()
_more_
|
GeoLocationInfo |
getImageBoundingBox(int eMag,
int lMag,
int lines,
int elems)
_more_
|
java.lang.String |
getImageDataSourceName()
Overwrite base class method to return the name of this class.
|
static java.lang.String |
getKey(java.lang.String src,
java.lang.String key)
_more_
|
double[] |
getLatLonPoints(ucar.unidata.geoloc.LatLonPoint[] latLonPoints)
_more_
|
int |
getLineMag()
_more_
|
int |
getLMag()
_more_
|
java.lang.String |
getPreviewSource(java.lang.String inSource,
edu.wisc.ssec.mcidas.AreaDirectory aDir)
_more_
|
protected java.lang.String |
getUnitString(java.lang.String description)
_more_
|
protected void |
handlePreviewImageError(int flag,
java.lang.Exception excp)
_more_
|
void |
initAfterUnpersistence()
_more_
|
protected void |
initDataSelectionComponents(java.util.List components,
DataChoice dataChoice)
_more_
|
protected void |
initOldBundle(DataChoice dataChoice,
java.util.List<AddeImageDescriptor> descriptors,
java.lang.String sourceStr)
_more_
|
void |
reloadData()
_more_
|
static java.lang.String |
removeKey(java.lang.String src,
java.lang.String key)
_more_
|
static java.lang.String |
replaceKey(java.lang.String src,
java.lang.String key,
java.lang.Object val)
_more_
|
static java.lang.String |
replaceKey(java.lang.String src,
java.lang.String oldKey,
java.lang.String newKey,
java.lang.Object val)
_more_
|
static java.util.List |
reSetImageDataDescriptor(java.util.List despList,
java.lang.String locateKey,
java.lang.String locateValue,
java.lang.String PlaceValue,
int lines,
int elems,
int lineMag,
int eleMag,
java.lang.String unit,
java.lang.String nav)
_more_
|
protected java.util.List |
saveDataToLocalDisk(java.lang.String prefix,
java.lang.Object loadId,
boolean changeLinks)
Save files to local disk
|
void |
setChoiceName(java.lang.String choiceName)
_more_
|
void |
setEleMag(int mag)
_more_
|
void |
setLineMag(int mag)
_more_
|
canCacheDataToDisk, canSaveDataToLocalDisk, doMakeDataChoices, doMakeDateTimes, doRemove, equals, getAllDateTimes, getBandCategories, getBandTimeSeriesCategories, getCacheDataToDisk, getCompositeDataChoices, getDataPaths, getDescriptor, getDescriptorsToUse, getFullDescription, getImageList, getLocationsForPolling, getSelectedDateTimes, getTwoDCategories, getTwoDTimeSeriesCategories, hashCode, initDataFromPollingInfo, isFileBased, makeImage, makeImage, makeImageDataset, makeImageDescriptors, makeImageSequence, newFileFromPolling, propertiesChanged, reloadData, setImageList, setNewFiles, updateState
addActions, addDataChangeListener, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canAddCurrentName, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initDataChoice, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFilesFromPolling, notifyDataChange, putCache, putCache, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, 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
protected java.util.List<DataChoice> stashedChoices
public static final java.lang.String SPACING_BRIT
public static final java.lang.String SPACING_NON_BRIT
protected AddeImageDataSelection addeImageDataSelection
public AddeImageDataSource()
public AddeImageDataSource(DataSourceDescriptor descriptor, java.lang.String image, java.util.Hashtable properties) throws visad.VisADException
descriptor
- The descriptor for this data source.image
- ADDE Urlproperties
- The properties for this data source.visad.VisADException
- for badpublic AddeImageDataSource(DataSourceDescriptor descriptor, java.lang.String[] images, java.util.Hashtable properties) throws visad.VisADException
descriptor
- The descriptor for this data source.images
- Array of ADDE urls.properties
- The properties for this data source.visad.VisADException
- for badpublic AddeImageDataSource(DataSourceDescriptor descriptor, java.util.List images, java.util.Hashtable properties) throws visad.VisADException
descriptor
- The descriptor for this data source.images
- Array of ADDE urls.properties
- The properties for this data source.visad.VisADException
- for badpublic AddeImageDataSource(DataSourceDescriptor descriptor, ImageDataset ids, java.util.Hashtable properties) throws visad.VisADException
descriptor
- The descriptor for this data source.ids
- The dataset.properties
- The properties for this data source.visad.VisADException
- for badpublic void initAfterUnpersistence()
initAfterUnpersistence
in interface DataSource
initAfterUnpersistence
in class ImageDataSource
protected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner
in class ImageDataSource
dataChoice
- _more_category
- _more_dataSelection
- _more_requestProperties
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_protected java.lang.String getUnitString(java.lang.String description)
description
- _more_protected java.util.List getDescriptors(DataChoice dataChoice, DataSelection subset)
getDescriptors
in class ImageDataSource
dataChoice
- _more_subset
- _more_public GeoLocationInfo getImageBoundingBox(int eMag, int lMag, int lines, int elems)
eMag
- _more_lMag
- _more_lines
- _more_elems
- _more_public int getEleMag()
public int getLineMag()
public void setEleMag(int mag)
mag
- _more_public void setLineMag(int mag)
mag
- _more_public java.lang.String getPreviewSource(java.lang.String inSource, edu.wisc.ssec.mcidas.AreaDirectory aDir)
inSource
- _more_aDir
- _more_public java.lang.String getImageDataSourceName()
getImageDataSourceName
in class ImageDataSource
public java.lang.String getDataName()
getDataName
in class ImageDataSource
protected java.util.List saveDataToLocalDisk(java.lang.String prefix, java.lang.Object loadId, boolean changeLinks) throws java.lang.Exception
saveDataToLocalDisk
in class ImageDataSource
prefix
- destination dir and file prefixloadId
- For JobManagerchangeLinks
- Change internal file referencesjava.lang.Exception
- On badnessprotected void addDataChoice(DataChoice choice)
addDataChoice
in class DataSourceImpl
choice
- _more_public java.lang.String getChoiceName()
public void setChoiceName(java.lang.String choiceName)
choiceName
- _more_public void reloadData()
reloadData
in interface DataSource
reloadData
in class ImageDataSource
public static java.util.List reSetImageDataDescriptor(java.util.List despList, java.lang.String locateKey, java.lang.String locateValue, java.lang.String PlaceValue, int lines, int elems, int lineMag, int eleMag, java.lang.String unit, java.lang.String nav) throws java.rmi.RemoteException, visad.VisADException
despList
- _more_locateKey
- _more_locateValue
- _more_PlaceValue
- _more_lines
- _more_elems
- _more_lineMag
- _more_eleMag
- _more_unit
- _more_nav
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public double[] getLatLonPoints(ucar.unidata.geoloc.LatLonPoint[] latLonPoints)
latLonPoints
- _more_public java.util.List geoSpaceSubsetD(java.awt.geom.Rectangle2D rect, java.lang.String unit, int eMag, int lMag, edu.wisc.ssec.mcidas.AREAnav baseAnav, java.util.List despList, double maxLat, double minLat, double maxLon, double minLon, int factor, int dlMag, int deMag, java.lang.String placeValue, boolean isProgressiveResolution, ucar.unidata.geoloc.LatLonPointImpl centerLLP, java.lang.String nav)
rect
- _more_unit
- _more_eMag
- _more_lMag
- _more_baseAnav
- _more_despList
- _more_maxLat
- _more_minLat
- _more_maxLon
- _more_minLon
- _more_factor
- _more_dlMag
- _more_deMag
- _more_placeValue
- _more_isProgressiveResolution
- _more_centerLLP
- _more_nav
- _more_public int calculateMagFactor(int dataPoints, int displayPoints)
dataPoints
- _more_displayPoints
- _more_public java.lang.String getBaseSource(java.lang.String source)
source
- _more_public static java.lang.String replaceKey(java.lang.String src, java.lang.String key, java.lang.Object val)
src
- _more_key
- _more_val
- _more_public static java.lang.String replaceKey(java.lang.String src, java.lang.String oldKey, java.lang.String newKey, java.lang.Object val)
src
- _more_oldKey
- _more_newKey
- _more_val
- _more_public static java.lang.String getKey(java.lang.String src, java.lang.String key)
src
- _more_key
- _more_public static java.lang.String removeKey(java.lang.String src, java.lang.String key)
src
- _more_key
- _more_protected void initOldBundle(DataChoice dataChoice, java.util.List<AddeImageDescriptor> descriptors, java.lang.String sourceStr)
dataChoice
- _more_descriptors
- _more_sourceStr
- _more_protected void handlePreviewImageError(int flag, java.lang.Exception excp)
flag
- _more_excp
- _more_public AddeImageDataSelection getAddeImageDataSelection()
protected void initDataSelectionComponents(java.util.List components, DataChoice dataChoice)
initDataSelectionComponents
in class DataSourceImpl
components
- _more_dataChoice
- _more_public int getEMag()
public int getLMag()