public class McIDASImageDataSource extends ImageDataSource
ImageDataSource.ImageDataInfo
Modifier and Type | Field and Description |
---|---|
protected AddeImageDataSelection |
addeImageDataSelection
_more_
|
protected java.util.Hashtable |
bandDirs
_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 |
---|
McIDASImageDataSource()
The parameterless ctor unpersisting.
|
McIDASImageDataSource(DataSourceDescriptor descriptor,
java.util.ArrayList images,
java.util.Hashtable properties)
Create a new McIDASImageDataSource with list of AREA files.
|
McIDASImageDataSource(DataSourceDescriptor descriptor,
ImageDataset ids,
java.util.Hashtable properties)
Create a new McIDASImageDataSource with a
ImageDataset |
McIDASImageDataSource(DataSourceDescriptor descriptor,
java.lang.String[] images,
java.util.Hashtable properties)
Create a new McIDASImageDataSource with array of AREA files.
|
McIDASImageDataSource(DataSourceDescriptor descriptor,
java.lang.String image,
java.util.Hashtable properties)
Construct a McIDASImageDataSource
|
Modifier and Type | Method and Description |
---|---|
int |
calculateMagFactor(int dataPoints,
int displayPoints)
_more_
|
float[] |
convertBritToTemp(float[] inputData)
convert a gray scale value to brightness temperature
|
float |
convertBritToTemp(int inVal)
_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 the main data object
|
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.
|
AddeImageInfo |
getPreviewImageInfo(edu.wisc.ssec.mcidas.AreaDirectory aDir,
java.lang.String navType)
_more_
|
void |
init()
_more_
|
void |
initAfterUnpersistence()
_more_
|
protected void |
initDataSelectionComponents(java.util.List components,
DataChoice dataChoice)
_more_
|
protected visad.meteorology.SingleBandedImage |
makeImage(AddeImageDescriptor aid,
visad.MathType rangeType,
boolean fromSequence,
java.lang.String readLabel)
_more_
|
void |
setChoiceName(java.lang.String choiceName)
_more_
|
canCacheDataToDisk, canSaveDataToLocalDisk, doMakeDataChoices, doMakeDateTimes, doRemove, equals, getAllDateTimes, getBandCategories, getBandTimeSeriesCategories, getCacheDataToDisk, getCompositeDataChoices, getDataPaths, getDescriptor, getDescriptors, getDescriptorsToUse, getFullDescription, getImageList, getLocationsForPolling, getSelectedDateTimes, getTwoDCategories, getTwoDTimeSeriesCategories, hashCode, initDataFromPollingInfo, isFileBased, makeImage, makeImageDataset, makeImageDescriptors, makeImageSequence, newFileFromPolling, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setImageList, setNewFiles, updateState
addActions, addDataChangeListener, addDataChoice, 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.Hashtable bandDirs
protected AddeImageDataSelection addeImageDataSelection
public McIDASImageDataSource()
public McIDASImageDataSource(DataSourceDescriptor descriptor, java.lang.String image, java.util.Hashtable properties)
descriptor
- _more_image
- _more_properties
- _more_public McIDASImageDataSource(DataSourceDescriptor descriptor, java.util.ArrayList images, java.util.Hashtable properties)
descriptor
- The descriptor for this data source.images
- List of AREA filesproperties
- The properties for this data source.public McIDASImageDataSource(DataSourceDescriptor descriptor, java.lang.String[] images, java.util.Hashtable properties)
descriptor
- The descriptor for this data source.images
- Array of AREA filesproperties
- The properties for this data source.public McIDASImageDataSource(DataSourceDescriptor descriptor, ImageDataset ids, java.util.Hashtable properties)
ImageDataset
descriptor
- The descriptor for this data source.ids
- The dataset.properties
- The properties for this data source.public void init()
public java.lang.String getChoiceName()
public void setChoiceName(java.lang.String choiceName)
choiceName
- _more_public void initAfterUnpersistence()
initAfterUnpersistence
in interface DataSource
initAfterUnpersistence
in class ImageDataSource
public java.lang.String getImageDataSourceName()
getImageDataSourceName
in class ImageDataSource
public java.lang.String getDataName()
getDataName
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_public GeoLocationInfo getImageBoundingBox(int eMag, int lMag, int lines, int elems)
eMag
- _more_lMag
- _more_lines
- _more_elems
- _more_public int calculateMagFactor(int dataPoints, int displayPoints)
dataPoints
- _more_displayPoints
- _more_protected visad.meteorology.SingleBandedImage makeImage(AddeImageDescriptor aid, visad.MathType rangeType, boolean fromSequence, java.lang.String readLabel) throws visad.VisADException, java.rmi.RemoteException
makeImage
in class ImageDataSource
aid
- _more_rangeType
- _more_fromSequence
- _more_readLabel
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_protected void initDataSelectionComponents(java.util.List components, DataChoice dataChoice)
initDataSelectionComponents
in class DataSourceImpl
components
- _more_dataChoice
- _more_public AddeImageInfo getPreviewImageInfo(edu.wisc.ssec.mcidas.AreaDirectory aDir, java.lang.String navType)
navType
- _more_aDir
- _more_public float convertBritToTemp(int inVal)
inVal
- _more_public float[] convertBritToTemp(float[] inputData)
inputData
- input data array