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 class
Nested classes/interfaces inherited from class ucar.unidata.data.imagery.ImageDataSource
ImageDataSource.ImageDataInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
private String
private String
private Hashtable
<String, DataSelection> (package private) AreaDirectory[][]
_more_private String
static final String
(package private) boolean
(package private) boolean
(package private) boolean
private int
private int
private float
private boolean
Whether or not this DataSource was loaded from a bundle.private boolean
Are any of the data choices based upon remote files?private boolean
private List
private Hashtable
(package private) boolean
(package private) boolean
(package private) boolean
private GeoLatLonSelection
private DataChoice
private GeoSelection
static final String
static final String
private int
private int
private static final org.slf4j.Logger
private float
static final String
static final String
static final String
static final String
private AreaDirectory
private int
private FlatField
private int
private AREAnav
private MapProjection
private GeoPreviewSelection
private Map
<String, AreaDirectory> The first projection we findprivate String
private int
private List
private double
private int
private double
private int
private int
private String
private Boolean
private Hashtable
private Boolean
static final String
Public keys for server, group, dataset, user, project.private String
private Hashtable
static final String
static final String
static final String
protected List
<DataChoice> static final String
Fields inherited from class ucar.unidata.data.imagery.AddeImageDataSource
addeImageDataSelection, allBandDirs
Fields inherited from class ucar.unidata.data.imagery.ImageDataSource
descriptorsToUse, imageList, imageTimes, myDataChoices, PROP_BANDINFO, PROP_IMAGETYPE, timeMap, TYPE_RADAR, TYPE_SATELLITE
Fields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
Fields 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 aAddeImageParameterDataSource
with a single ADDE URL.AddeImageParameterDataSource
(DataSourceDescriptor descriptor, List images, Hashtable properties) Creates a newAddeImageParameterDataSource
with anList
of ADDE URL strings.AddeImageParameterDataSource
(DataSourceDescriptor descriptor, ImageDataset ids, Hashtable properties) Create a new AddeImageParameterDataSource with the given dataset. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDataChoice
(DataChoice choice) Insert the new DataChoice into the dataChoice list.protected boolean
boolean
Is this data source capable of saving its data to local diskvoid
Create the set ofDataChoice
that represent the data held by this data source.private void
getAreaDirectory
(Hashtable properties) _more_private List
getChoicesFromSubset
(CompositeDataChoice choice, DataSelection subset) Get the subset of the composite based on the selectionprotected Data
getDataInner
(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) Create the actual data represented by the givenDataChoice
.protected String
Get the file prefix to use for when saving data to local diskOverridden so that McIDAS-V can attempt to return the correctDataSelection
for 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.boolean
static String
private float[]
boolean
Get the PollingInfo property.private List
<AreaDirectory> getPreviewDirectories
(AddeImageDescriptor imageDescriptor) private AddeImageDescriptor
getPreviewDirectory
(AddeImageDescriptor aid, DataChoice dataChoice) private void
int
double
int
double
int
int
boolean
getSelForChoice
(DataChoice choice) private String
boolean
Whether or not the user decided to show a preview of their image.protected String
getUrl()
Create the first part of the ADDE request URLprotected void
handlePreviewImageError
(int flag, Exception excp) Show the given error to the user.private boolean
hasBandInfo
(DataChoice dataChoice) Check if the DataChoice has a BandInfo for its IDprotected boolean
Do we have polling info objectboolean
hasSelForChoice
(DataChoice choice) void
_more_protected boolean
Method for intializing the data.protected void
initDataSelectionComponents
(List components, DataChoice dataChoice) _more_static boolean
isFromFile
(AddeImageDescriptor descriptor) Checks to see if a givenAddeImageDescriptor
is based upon a local (or remote) file.protected boolean
Are we currently polling.private static String
makeBandParam
(AddeImageDescriptor descriptor) private static String
Make a parameter name for the BandInfoprivate SingleBandedImage
makeImage
(AddeImageDescriptor aid, MathType rangeType, boolean fromSequence, String readLabel, DataSelection subset) Create the single image defined by the givenAddeImageDescriptor
.protected ImageSequence
makeImageSequence
(DataChoice dataChoice, DataSelection subset) Create the image sequence defined by the given dataChoice.private boolean
makePreviewImage
(DataChoice dataChoice) A hook to allow this data source to add data selection components to the IDV field selectorprotected void
The user changed the properties.void
putSelForChoice
(DataChoice choice, DataSelection sel) protected List
readTextLines
(String url) Read the adde text url and return the lines of text.static String
static String
replaceKey
(String sourceUrl, String key, Object value) static String
replaceKey
(String src, String oldKey, String newKey, Object value) private <T> void
replaceKey
(String key, T value) protected List
saveDataToLocalDisk
(String prefix, Object loadId, boolean changeLinks) Save files to local diskprivate boolean
sensorIsABI
(int sensorID) Return true if the Sensor is ABI variant (ABI, AHI, AMI) These sensors have MESO sectors which move around geospatiallyprivate boolean
sensorIsGEO
(int sensorID) Return true if the Sensor is Geostationaryvoid
setChoiceName
(String choiceName) _more_void
Overridden so that McIDAS-V can associate this data source's currentDataChoice
with the givenDataSelection
.void
setDateTimeSelection
(List selectedTimes) Set the list of selected times for this data source.void
setDisplaySource
(String src, Hashtable props) void
setIsProgressiveResolution
(boolean isPG) private void
setMag()
void
setPollingInfo
(PollingInfo value) Set the PollingInfo property.void
setSaveEleMag
(int saveEleMag) void
setSaveLat
(double saveLat) void
setSaveLineMag
(int saveLineMag) void
setSaveLon
(double saveLon) void
setSaveNumEle
(int saveNumEle) void
setSaveNumLine
(int saveNumLine) void
setSavePlace
(String savePlace) void
setSaveShowPreview
(boolean saveShowPreview) void
setShowPreview
(boolean showPreview) void
void
setSourceProps
(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, setLineMag
Methods 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, updateState
Methods 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, writeFieldMaskFile
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 aAddeImageParameterDataSource
with a single ADDE URL. Note: the URLs should point at "image" data.- Parameters:
descriptor
-DataSourceDescriptor
for 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
-DataSourceDescriptor
for 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 newAddeImageParameterDataSource
with anList
of ADDE URL strings. Note: the URLs should point at "image" data.- Parameters:
descriptor
-DataSourceDescriptor
for this data source.images
-List
of 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
-DataSourceDescriptor
for this data source.ids
- Dataset.properties
- Properties for this data source.- Throws:
VisADException
-
-
Method Details
-
propertiesChanged
Description copied from class:ucar.unidata.data.imagery.ImageDataSource
The user changed the properties. Update me.- Overrides:
propertiesChanged
in classImageDataSource
-
initDataFromPollingInfo
Description copied from class:ucar.unidata.data.imagery.ImageDataSource
Method for intializing the data.- Overrides:
initDataFromPollingInfo
in classImageDataSource
- Returns:
- result
-
isPolling
Description copied from class:ucar.unidata.data.DataSourceImpl
Are we currently polling.- Overrides:
isPolling
in classDataSourceImpl
- Returns:
- Are we polling
-
setPollingInfo
Description copied from class:ucar.unidata.data.DataSourceImpl
Set the PollingInfo property.- Overrides:
setPollingInfo
in classDataSourceImpl
- Parameters:
value
- The new value for PollingInfo
-
hasPollingInfo
Description copied from class:ucar.unidata.data.DataSourceImpl
Do we have polling info object- Overrides:
hasPollingInfo
in classDataSourceImpl
- Returns:
- have polling info object
-
getPollingInfo
Description copied from class:ucar.unidata.data.DataSourceImpl
Get the PollingInfo property.- Overrides:
getPollingInfo
in classDataSourceImpl
- Returns:
- The PollingInfo
-
initAfterUnpersistence
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource
_more_- Specified by:
initAfterUnpersistence
in interfaceDataSource
- Overrides:
initAfterUnpersistence
in classAddeImageDataSource
-
canSaveDataToLocalDisk
Description copied from class:ucar.unidata.data.imagery.ImageDataSource
Is this data source capable of saving its data to local disk- Specified by:
canSaveDataToLocalDisk
in interfaceDataSource
- Overrides:
canSaveDataToLocalDisk
in 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:
saveDataToLocalDisk
in 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.DataSourceImpl
Get the file prefix to use for when saving data to local disk- Overrides:
getDataPrefix
in 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:
getDescriptor
in 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:
getImageDataSourceName
in classAddeImageDataSource
- Returns:
- The name.
-
setMag
-
getAreaDirectory
-
initDataSelectionComponents
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource
_more_- Overrides:
initDataSelectionComponents
in 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:
handlePreviewImageError
in classAddeImageDataSource
- Parameters:
flag
- _more_excp
- The exception
-
removeKey
-
replaceKey
-
replaceKey
-
replaceKey
-
getKey
-
doMakeDataChoices
Create the set ofDataChoice
that represent the data held by this data source. We create one top-levelCompositeDataChoice
that represents all of the image time steps. We create a set of childrenDirectDataChoice
, one for each time step.- Overrides:
doMakeDataChoices
in classImageDataSource
-
getDataSelection
Overridden so that McIDAS-V can attempt to return the correctDataSelection
for the currentDataChoice
.- Specified by:
getDataSelection
in interfaceDataSource
- Overrides:
getDataSelection
in classDataSourceImpl
- Returns:
- the DataSelection for this DataSource
-
setDataSelection
Overridden so that McIDAS-V can associate this data source's currentDataChoice
with the givenDataSelection
.- Overrides:
setDataSelection
in classDataSourceImpl
- Parameters:
s
- new selection
-
addDataChoice
Insert the new DataChoice into the dataChoice list.- Overrides:
addDataChoice
in classAddeImageDataSource
- Parameters:
choice
- new choice to add
-
isFromFile
Checks to see if a givenAddeImageDescriptor
is based upon a local (or remote) file.The check is pretty simple: is
descriptor.getSource()
a valid path?- Parameters:
descriptor
-AddeImageDescriptor
of questionable origins. Shouldn't benull
.- Returns:
true
ifdescriptor
'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:
getDataInner
in classAddeImageDataSource
- Parameters:
dataChoice
- Either theCompositeDataChoice
representing all time steps or aDirectDataChoice
representing 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:
makeImageSequence
in 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:
getDescriptors
in 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
null
if 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:
getChoiceName
in classAddeImageDataSource
- Returns:
- _more_
-
setChoiceName
Description copied from class:ucar.unidata.data.imagery.AddeImageDataSource
_more_- Overrides:
setChoiceName
in 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.AddeImageDataSource
Whether or not the user decided to show a preview of their image.- Overrides:
getShowPreview
in classAddeImageDataSource
- Returns:
-
setShowPreview
-
getSaveShowPreview
-
setSaveShowPreview
-
getSaveComponents
-
getDateTimeSelection
Return the list of times held by the DataSelection member.- Specified by:
getDateTimeSelection
in interfaceDataSource
- Overrides:
getDateTimeSelection
in classDataSourceImpl
- Returns:
- DataSelection times
-
setDateTimeSelection
Set the list of selected times for this data source. This is used for XML persistence.- Specified by:
setDateTimeSelection
in interfaceDataSource
- Overrides:
setDateTimeSelection
in classDataSourceImpl
- Parameters:
selectedTimes
- List of selected times
-
canDoProgressiveResolution
-
getIsProgressiveResolution
-
setIsProgressiveResolution
-
getMatchDisplayRegion
-