Package edu.wisc.ssec.mcidasv.data.adde
Class AddeImageParameterDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.imagery.ImageDataSource
ucar.unidata.data.imagery.AddeImageDataSource
edu.wisc.ssec.mcidasv.data.adde.AddeImageParameterDataSource
- All Implemented Interfaces:
Sharable,DataSource,DataSourceFactory,XmlPersistable
Abstract DataSource class for images files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class ucar.unidata.data.imagery.ImageDataSource
ImageDataSource.ImageDataInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringprivate Stringprivate Stringprivate Hashtable<String, DataSelection> (package private) AreaDirectory[][]_more_private Stringstatic final String(package private) boolean(package private) boolean(package private) booleanprivate intprivate intprivate floatprivate booleanWhether or not this DataSource was loaded from a bundle.private booleanAre any of the data choices based upon remote files?private booleanprivate Listprivate Hashtable(package private) boolean(package private) boolean(package private) booleanprivate GeoLatLonSelectionprivate DataChoiceprivate GeoSelectionstatic final Stringstatic final Stringprivate intprivate intprivate static final org.slf4j.Loggerprivate floatstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate AreaDirectoryprivate intprivate FlatFieldprivate intprivate AREAnavprivate MapProjectionprivate GeoPreviewSelectionprivate Map<String, AreaDirectory> The first projection we findprivate Stringprivate intprivate Listprivate doubleprivate intprivate doubleprivate intprivate intprivate Stringprivate Booleanprivate Hashtableprivate Booleanstatic final StringPublic keys for server, group, dataset, user, project.private Stringprivate Hashtablestatic final Stringstatic final Stringstatic final Stringprotected List<DataChoice> static final StringFields inherited from class ucar.unidata.data.imagery.AddeImageDataSource
addeImageDataSelection, allBandDirsFields inherited from class ucar.unidata.data.imagery.ImageDataSource
descriptorsToUse, imageList, imageTimes, myDataChoices, PROP_BANDINFO, PROP_IMAGETYPE, timeMap, TYPE_RADAR, TYPE_SATELLITEFields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESFields inherited from interface ucar.unidata.data.DataSource
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 Summary
ConstructorsConstructorDescriptionAddeImageParameterDataSource(DataSourceDescriptor descriptor, String[] images, Hashtable properties) Create a new AddeImageParameterDataSource with an array of ADDE URL strings.AddeImageParameterDataSource(DataSourceDescriptor descriptor, String image, Hashtable properties) Creates aAddeImageParameterDataSourcewith a single ADDE URL.AddeImageParameterDataSource(DataSourceDescriptor descriptor, List images, Hashtable properties) Creates a newAddeImageParameterDataSourcewith anListof ADDE URL strings.AddeImageParameterDataSource(DataSourceDescriptor descriptor, ImageDataset ids, Hashtable properties) Create a new AddeImageParameterDataSource with the given dataset. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDataChoice(DataChoice choice) Insert the new DataChoice into the dataChoice list.protected booleanbooleanIs this data source capable of saving its data to local diskvoidCreate the set ofDataChoicethat represent the data held by this data source.private voidgetAreaDirectory(Hashtable properties) _more_private ListgetChoicesFromSubset(CompositeDataChoice choice, DataSelection subset) Get the subset of the composite based on the selectionprotected DatagetDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) Create the actual data represented by the givenDataChoice.protected StringGet the file prefix to use for when saving data to local diskOverridden so that McIDAS-V can attempt to return the correctDataSelectionfor the currentDataChoice.Return the list of times held by the DataSelection member.getDescriptor(Object object) A utility method that helps us deal with legacy bundles that used to have String file names as the id of a data choice.getDescriptors(DataChoice dataChoice, DataSelection subset) Get a list of descriptors from the choice and subsetOverwrite base class method to return the name of this class.booleanstatic Stringprivate float[]booleanGet the PollingInfo property.private List<AreaDirectory> getPreviewDirectories(AddeImageDescriptor imageDescriptor) private AddeImageDescriptorgetPreviewDirectory(AddeImageDescriptor aid, DataChoice dataChoice) private voidintdoubleintdoubleintintbooleangetSelForChoice(DataChoice choice) private StringbooleanWhether or not the user decided to show a preview of their image.protected StringgetUrl()Create the first part of the ADDE request URLprotected voidhandlePreviewImageError(int flag, Exception excp) Show the given error to the user.private booleanhasBandInfo(DataChoice dataChoice) Check if the DataChoice has a BandInfo for its IDprotected booleanDo we have polling info objectbooleanhasSelForChoice(DataChoice choice) void_more_protected booleanMethod for intializing the data.protected voidinitDataSelectionComponents(List components, DataChoice dataChoice) _more_static booleanisFromFile(AddeImageDescriptor descriptor) Checks to see if a givenAddeImageDescriptoris based upon a local (or remote) file.protected booleanAre we currently polling.private static StringmakeBandParam(AddeImageDescriptor descriptor) private static StringMake a parameter name for the BandInfoprivate SingleBandedImagemakeImage(AddeImageDescriptor aid, MathType rangeType, boolean fromSequence, String readLabel, DataSelection subset) Create the single image defined by the givenAddeImageDescriptor.protected ImageSequencemakeImageSequence(DataChoice dataChoice, DataSelection subset) Create the image sequence defined by the given dataChoice.private booleanmakePreviewImage(DataChoice dataChoice) A hook to allow this data source to add data selection components to the IDV field selectorprotected voidThe user changed the properties.voidputSelForChoice(DataChoice choice, DataSelection sel) protected ListreadTextLines(String url) Read the adde text url and return the lines of text.static Stringstatic StringreplaceKey(String sourceUrl, String key, Object value) static StringreplaceKey(String src, String oldKey, String newKey, Object value) private <T> voidreplaceKey(String key, T value) protected ListsaveDataToLocalDisk(String prefix, Object loadId, boolean changeLinks) Save files to local diskprivate booleansensorIsABI(int sensorID) Return true if the Sensor is ABI variant (ABI, AHI, AMI) These sensors have MESO sectors which move around geospatiallyprivate booleansensorIsGEO(int sensorID) Return true if the Sensor is GeostationaryvoidsetChoiceName(String choiceName) _more_voidOverridden so that McIDAS-V can associate this data source's currentDataChoicewith the givenDataSelection.voidsetDateTimeSelection(List selectedTimes) Set the list of selected times for this data source.voidsetDisplaySource(String src, Hashtable props) voidsetIsProgressiveResolution(boolean isPG) private voidsetMag()voidsetPollingInfo(PollingInfo value) Set the PollingInfo property.voidsetSaveEleMag(int saveEleMag) voidsetSaveLat(double saveLat) voidsetSaveLineMag(int saveLineMag) voidsetSaveLon(double saveLon) voidsetSaveNumEle(int saveNumEle) voidsetSaveNumLine(int saveNumLine) voidsetSavePlace(String savePlace) voidsetSaveShowPreview(boolean saveShowPreview) voidsetShowPreview(boolean showPreview) voidvoidsetSourceProps(Hashtable sourceProps) Methods inherited from class ucar.unidata.data.imagery.AddeImageDataSource
calculateMagFactor, geoSpaceSubsetD, getAddeImageDataSelection, getBaseSource, getDataName, getEleMag, getEMag, getImageBoundingBox, getLatLonPoints, getLineMag, getLMag, getPreviewSource, getUnitString, initOldBundle, makeSamplingLabel, reloadData, reSetImageDataDescriptor, setEleMag, setLineMagMethods inherited from class ucar.unidata.data.imagery.ImageDataSource
canCacheDataToDisk, doMakeDateTimes, doRemove, equals, getAllDateTimes, getBandCategories, getBandTimeSeriesCategories, getCacheDataToDisk, getCompositeDataChoices, getDataPaths, getDescriptorsToUse, getFullDescription, getImageList, getLocationsForPolling, getSelectedDateTimes, getTwoDCategories, getTwoDTimeSeriesCategories, getUniqueDayStrings, hashCode, isFileBased, makeImage, makeImageDataset, makeImageDescriptors, newFileFromPolling, reloadData, setBandInfo, setImageList, setNewFiles, updateStateMethods inherited from class ucar.unidata.data.DataSourceImpl
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, getDataSelectionComponents, getDataSource, getDateTimes, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initDataChoice, initFromXml, 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, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setObjectProperties, setObjectProperty, setPassword, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFileMethods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ucar.unidata.data.DataSource
getUniqueId
-
Field Details
-
logger
-
SIZE_KEY
Public keys for server, group, dataset, user, project.- See Also:
-
PLACE_KEY
- See Also:
-
LATLON_KEY
- See Also:
-
LINELE_KEY
- See Also:
-
MAG_KEY
- See Also:
-
BAND_KEY
- See Also:
-
BANDINFO_KEY
- See Also:
-
UNIT_KEY
- See Also:
-
PREVIEW_KEY
- See Also:
-
SPAC_KEY
- See Also:
-
NAV_KEY
- See Also:
-
AUX_KEY
- See Also:
-
DOC_KEY
- See Also:
-
SPACING_BRIT
- See Also:
-
SPACING_NON_BRIT
- See Also:
-
sampleMapProjection
The first projection we find -
source
-
baseSource
-
sourceProps
-
selectionProps
-
lineResolution
-
elementResolution
-
lRes
-
eRes
-
lineMag
-
elementMag
-
lastGeoSelection
-
lastChoice
-
showPreview
-
previewImage
-
previewProjection
-
initProps
-
previewDir
-
haveDataSelectionComponents
-
previewSel
-
laLoSel
-
choiceName
-
saveCoordType
-
savePlace
-
saveLat
-
saveLon
-
saveNumLine
-
saveNumEle
-
saveLineMag
-
saveEleMag
-
saveShowPreview
-
displaySource
-
isDerived
boolean isDerived -
derivedBandLineRes
-
derivedBandElemRes
-
derivedBandMagFactor
-
stashedChoices
-
iml
-
saveImageList
-
previewLineRes
-
previewEleRes
-
isGeoSensor
boolean isGeoSensor -
isABISensor
boolean isABISensor -
fromBundle
Whether or not this DataSource was loaded from a bundle. -
hasRemoteChoices
Are any of the data choices based upon remote files? -
requestIdToDirectory
-
domainShiftDetected
boolean domainShiftDetected -
domainShiftNoticeDerivedShown
boolean domainShiftNoticeDerivedShown -
domainShiftNoticeTargetShown
boolean domainShiftNoticeTargetShown -
choiceToSel
-
currentDirs
_more_
-
-
Constructor Details
-
AddeImageParameterDataSource
public AddeImageParameterDataSource() -
AddeImageParameterDataSource
public AddeImageParameterDataSource(DataSourceDescriptor descriptor, String image, Hashtable properties) throws VisADException Creates aAddeImageParameterDataSourcewith a single ADDE URL. Note: the URLs should point at "image" data.- Parameters:
descriptor-DataSourceDescriptorfor this data source.image- ADDE URLproperties- The properties for this data source.- Throws:
VisADException
-
AddeImageParameterDataSource
public AddeImageParameterDataSource(DataSourceDescriptor descriptor, String[] images, Hashtable properties) throws VisADException Create a new AddeImageParameterDataSource with an array of ADDE URL strings. Note: the URLs should point at "image" data.- Parameters:
descriptor-DataSourceDescriptorfor this data source.images- Array of ADDE URLs.properties- Properties for this data source.- Throws:
VisADException
-
AddeImageParameterDataSource
public AddeImageParameterDataSource(DataSourceDescriptor descriptor, List images, Hashtable properties) throws VisADException Creates a newAddeImageParameterDataSourcewith anListof ADDE URL strings. Note: the URLs should point at "image" data.- Parameters:
descriptor-DataSourceDescriptorfor this data source.images-Listof ADDE URL strings.properties- Properties for this data source.- Throws:
VisADException
-
AddeImageParameterDataSource
public AddeImageParameterDataSource(DataSourceDescriptor descriptor, ImageDataset ids, Hashtable properties) throws VisADException Create a new AddeImageParameterDataSource with the given dataset.- Parameters:
descriptor-DataSourceDescriptorfor this data source.ids- Dataset.properties- Properties for this data source.- Throws:
VisADException
-
-
Method Details
-
propertiesChanged
Description copied from class:ucar.unidata.data.imagery.ImageDataSourceThe user changed the properties. Update me.- Overrides:
propertiesChangedin classImageDataSource
-
initDataFromPollingInfo
Description copied from class:ucar.unidata.data.imagery.ImageDataSourceMethod for intializing the data.- Overrides:
initDataFromPollingInfoin classImageDataSource- Returns:
- result
-
isPolling
Description copied from class:ucar.unidata.data.DataSourceImplAre we currently polling.- Overrides:
isPollingin classDataSourceImpl- Returns:
- Are we polling
-
setPollingInfo
Description copied from class:ucar.unidata.data.DataSourceImplSet the PollingInfo property.- Overrides:
setPollingInfoin classDataSourceImpl- Parameters:
value- The new value for PollingInfo
-
hasPollingInfo
Description copied from class:ucar.unidata.data.DataSourceImplDo we have polling info object- Overrides:
hasPollingInfoin classDataSourceImpl- Returns:
- have polling info object
-
getPollingInfo
Description copied from class:ucar.unidata.data.DataSourceImplGet the PollingInfo property.- Overrides:
getPollingInfoin classDataSourceImpl- Returns:
- The PollingInfo
-
initAfterUnpersistence
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource_more_- Specified by:
initAfterUnpersistencein interfaceDataSource- Overrides:
initAfterUnpersistencein classAddeImageDataSource
-
canSaveDataToLocalDisk
Description copied from class:ucar.unidata.data.imagery.ImageDataSourceIs this data source capable of saving its data to local disk- Specified by:
canSaveDataToLocalDiskin interfaceDataSource- Overrides:
canSaveDataToLocalDiskin classImageDataSource- Returns:
- Can save to local disk
-
getSelForChoice
-
hasSelForChoice
-
putSelForChoice
-
saveDataToLocalDisk
protected List saveDataToLocalDisk(String prefix, Object loadId, boolean changeLinks) throws Exception Save files to local disk- Overrides:
saveDataToLocalDiskin classAddeImageDataSource- Parameters:
prefix- destination dir and file prefixloadId- For JobManagerchangeLinks- Change internal file references- Returns:
- Files copied
- Throws:
Exception- On badness
-
getDataPrefix
Description copied from class:ucar.unidata.data.DataSourceImplGet the file prefix to use for when saving data to local disk- Overrides:
getDataPrefixin classDataSourceImpl- Returns:
- File prefix to use
-
getDescriptor
A utility method that helps us deal with legacy bundles that used to have String file names as the id of a data choice.- Overrides:
getDescriptorin classImageDataSource- Parameters:
object- May be an AddeImageDescriptor (for new bundles) or a String that is converted to an image descriptor.- Returns:
- The image descriptor.
-
getImageDataSourceName
Overwrite base class method to return the name of this class.- Overrides:
getImageDataSourceNamein classAddeImageDataSource- Returns:
- The name.
-
setMag
-
getAreaDirectory
-
initDataSelectionComponents
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource_more_- Overrides:
initDataSelectionComponentsin classAddeImageDataSource- Parameters:
components- _more_dataChoice- _more_
-
makePreviewImage
A hook to allow this data source to add data selection components to the IDV field selector- Parameters:
dataChoice- the data choice- Returns:
- list of components
-
sensorIsABI
Return true if the Sensor is ABI variant (ABI, AHI, AMI) These sensors have MESO sectors which move around geospatially- Parameters:
sensorID- McIDAS Sensor Source number. See https://www.ssec.wisc.edu/mcidas/doc/users_guide/2017.2/app_c-1.html- Returns:
- true if ID matches a defined ABI sensor
-
sensorIsGEO
Return true if the Sensor is Geostationary- Parameters:
sensorID- McIDAS Sensor Source number. See https://www.ssec.wisc.edu/mcidas/doc/users_guide/2017.2/app_c-1.html- Returns:
- true if ID matches a defined GEO sensor
-
handlePreviewImageError
Show the given error to the user.- Overrides:
handlePreviewImageErrorin classAddeImageDataSource- Parameters:
flag- _more_excp- The exception
-
removeKey
-
replaceKey
-
replaceKey
-
replaceKey
-
getKey
-
doMakeDataChoices
Create the set ofDataChoicethat represent the data held by this data source. We create one top-levelCompositeDataChoicethat represents all of the image time steps. We create a set of childrenDirectDataChoice, one for each time step.- Overrides:
doMakeDataChoicesin classImageDataSource
-
getDataSelection
Overridden so that McIDAS-V can attempt to return the correctDataSelectionfor the currentDataChoice.- Specified by:
getDataSelectionin interfaceDataSource- Overrides:
getDataSelectionin classDataSourceImpl- Returns:
- the DataSelection for this DataSource
-
setDataSelection
Overridden so that McIDAS-V can associate this data source's currentDataChoicewith the givenDataSelection.- Overrides:
setDataSelectionin classDataSourceImpl- Parameters:
s- new selection
-
addDataChoice
Insert the new DataChoice into the dataChoice list.- Overrides:
addDataChoicein classAddeImageDataSource- Parameters:
choice- new choice to add
-
isFromFile
Checks to see if a givenAddeImageDescriptoris based upon a local (or remote) file.The check is pretty simple: is
descriptor.getSource()a valid path?- Parameters:
descriptor-AddeImageDescriptorof questionable origins. Shouldn't benull.- Returns:
trueifdescriptor's source is a valid path.
-
getDataInner
protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException Create the actual data represented by the givenDataChoice.- Overrides:
getDataInnerin classAddeImageDataSource- Parameters:
dataChoice- Either theCompositeDataChoicerepresenting all time steps or aDirectDataChoicerepresenting a single time step.category- Not really used.dataSelection- Defines any time subsets.requestProperties- extra request properties- Returns:
- The image or image sequence data.
- Throws:
RemoteException- Java RMI problemVisADException- VisAD problem
-
hasBandInfo
Check if the DataChoice has a BandInfo for its ID- Parameters:
dataChoice- choice to check- Returns:
- true if the choice ID is a BandInfo
-
makeImageSequence
protected ImageSequence makeImageSequence(DataChoice dataChoice, DataSelection subset) throws VisADException, RemoteException Create the image sequence defined by the given dataChoice.- Overrides:
makeImageSequencein classImageDataSource- Parameters:
dataChoice- The choice.subset- any time subsets.- Returns:
- The image sequence.
- Throws:
RemoteException- Java RMI problemVisADException- VisAD problem
-
makeImage
private SingleBandedImage makeImage(AddeImageDescriptor aid, MathType rangeType, boolean fromSequence, String readLabel, DataSelection subset) throws VisADException, RemoteException Create the single image defined by the givenAddeImageDescriptor.- Parameters:
aid- Holds image directory and location of the desired image.rangeType- "rangeType" to use (if non-null).fromSequence- _more_readLabel-subset- geographical subsetting info- Returns:
- The data.
- Throws:
RemoteException- Java RMI problemVisADException- VisAD problem
-
makeBandParam
Make a parameter name for the BandInfo- Parameters:
bi- the BandInfo in question- Returns:
- a name for the parameter
-
makeBandParam
-
getDescriptors
Get a list of descriptors from the choice and subset- Overrides:
getDescriptorsin classAddeImageDataSource- Parameters:
dataChoice- Data choicesubset- subsetting info- Returns:
- list of descriptors matching the selection
-
getChoicesFromSubset
Get the subset of the composite based on the selection- Parameters:
choice- composite choicesubset- time selection- Returns:
- subset list
-
getPreviewDirectories
-
getPreviewDirectory
-
getServer
-
setDisplaySource
-
getDisplaySource
-
getLineEleResolution
-
readTextLines
Read the adde text url and return the lines of text. If unsuccessful return null.- Parameters:
url- adde url to a text file- Returns:
- List of lines or
nullif in error.
-
getUrl
Create the first part of the ADDE request URL- Returns:
- ADDE URL prefix
-
getSourceProps
-
setSourceProps
-
getChoiceName
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource_more_- Overrides:
getChoiceNamein classAddeImageDataSource- Returns:
- _more_
-
setChoiceName
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource_more_- Overrides:
setChoiceNamein classAddeImageDataSource- Parameters:
choiceName- _more_
-
getSavePlace
-
setSavePlace
-
getSaveLat
-
setSaveLat
-
getSaveLon
-
setSaveLon
-
getSaveNumLine
-
setSaveNumLine
-
getSaveNumEle
-
setSaveNumEle
-
getSaveLineMag
-
setSaveLineMag
-
getSaveEleMag
-
setSaveEleMag
-
getSource
-
setSource
-
getShowPreview
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSourceWhether or not the user decided to show a preview of their image.- Overrides:
getShowPreviewin classAddeImageDataSource- Returns:
-
setShowPreview
-
getSaveShowPreview
-
setSaveShowPreview
-
getSaveComponents
-
getDateTimeSelection
Return the list of times held by the DataSelection member.- Specified by:
getDateTimeSelectionin interfaceDataSource- Overrides:
getDateTimeSelectionin classDataSourceImpl- Returns:
- DataSelection times
-
setDateTimeSelection
Set the list of selected times for this data source. This is used for XML persistence.- Specified by:
setDateTimeSelectionin interfaceDataSource- Overrides:
setDateTimeSelectionin classDataSourceImpl- Parameters:
selectedTimes- List of selected times
-
canDoProgressiveResolution
-
getIsProgressiveResolution
-
setIsProgressiveResolution
-
getMatchDisplayRegion
-