public class NearCastTrajDataSource extends DataSourceImpl
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
count |
private static String |
DATA_DESCRIPTION |
(package private) String |
fileName |
static String |
latName |
(package private) Range |
latRange |
static String |
lonName |
(package private) Range |
lonRange |
(package private) NetCDFFile |
ncFile |
(package private) int |
numParcels |
(package private) int |
numTimes |
(package private) String[] |
paramList |
(package private) Range |
paramRange |
(package private) int |
parcelDimIdx |
static String |
parcelDimName |
(package private) String |
pressName |
(package private) CoordinateSystem |
presToHeightCS |
(package private) int[] |
start |
(package private) int[] |
stride |
(package private) int |
timeDimIdx |
static String |
timeDimName |
(package private) String |
timeName |
(package private) Set |
timeSet |
(package private) Unit |
timeUnit |
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_TITLE
Constructor and Description |
---|
NearCastTrajDataSource() |
NearCastTrajDataSource(DataSourceDescriptor descriptor,
List newSources,
Hashtable properties) |
NearCastTrajDataSource(DataSourceDescriptor descriptor,
String fileName,
Hashtable properties) |
NearCastTrajDataSource(String filename) |
Modifier and Type | Method and Description |
---|---|
FlatField[] |
createVisADData(String paramName) |
private DataChoice |
doMakeDataChoice(int idx) |
void |
doMakeDataChoices()
Make and insert the
DataChoices for this DataSource . |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties) |
Range |
getLatRange() |
Range |
getLonRange() |
Range |
getParamRange() |
static float[] |
minmax(float[] values,
float min,
float max) |
FlatField |
singleTraj(String paramName,
int parcelIndex,
int timeStart,
int timeCount,
int timeStride) |
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, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, equals, 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, initAfterUnpersistence, 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, hashCode, notify, notifyAll, wait, wait, wait
getUniqueId
private static final String DATA_DESCRIPTION
public static String parcelDimName
public static String timeDimName
NetCDFFile ncFile
int[] start
int[] count
int[] stride
int parcelDimIdx
int timeDimIdx
CoordinateSystem presToHeightCS
int numTimes
int numParcels
Range paramRange
public NearCastTrajDataSource()
public NearCastTrajDataSource(String filename) throws VisADException
VisADException
public NearCastTrajDataSource(DataSourceDescriptor descriptor, String fileName, Hashtable properties) throws VisADException
VisADException
public NearCastTrajDataSource(DataSourceDescriptor descriptor, List newSources, Hashtable properties) throws VisADException
VisADException
public FlatField[] createVisADData(String paramName)
public FlatField singleTraj(String paramName, int parcelIndex, int timeStart, int timeCount, int timeStride) throws Exception
Exception
public void doMakeDataChoices()
DataChoices
for this DataSource
.doMakeDataChoices
in class DataSourceImpl
private DataChoice doMakeDataChoice(int idx) throws Exception
Exception
protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException
getDataInner
in class DataSourceImpl
VisADException
RemoteException
public static float[] minmax(float[] values, float min, float max)
public Range getLonRange()
public Range getLatRange()
public Range getParamRange()