public class NearCastTrajDataSource extends ucar.unidata.data.DataSourceImpl
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
count |
private static java.lang.String |
DATA_DESCRIPTION |
(package private) java.lang.String |
fileName |
static java.lang.String |
latName |
(package private) ucar.unidata.util.Range |
latRange |
private static org.slf4j.Logger |
logger |
static java.lang.String |
lonName |
(package private) ucar.unidata.util.Range |
lonRange |
(package private) NetCDFFile |
ncFile |
(package private) int |
numParcels |
(package private) int |
numTimes |
(package private) java.lang.String[] |
paramList |
(package private) ucar.unidata.util.Range |
paramRange |
(package private) int |
parcelDimIdx |
static java.lang.String |
parcelDimName |
(package private) java.lang.String |
pressName |
(package private) visad.CoordinateSystem |
presToHeightCS |
(package private) int[] |
start |
(package private) int[] |
stride |
(package private) int |
timeDimIdx |
static java.lang.String |
timeDimName |
(package private) java.lang.String |
timeName |
(package private) visad.Set |
timeSet |
(package private) visad.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_TIMESTRIDE, PROP_TITLE
Constructor and Description |
---|
NearCastTrajDataSource() |
NearCastTrajDataSource(ucar.unidata.data.DataSourceDescriptor descriptor,
java.util.List newSources,
java.util.Hashtable properties) |
NearCastTrajDataSource(ucar.unidata.data.DataSourceDescriptor descriptor,
java.lang.String fileName,
java.util.Hashtable properties) |
NearCastTrajDataSource(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
visad.FlatField[] |
createVisADData(java.lang.String paramName) |
private ucar.unidata.data.DataChoice |
doMakeDataChoice(int idx) |
void |
doMakeDataChoices()
Make and insert the
DataChoices for this DataSource . |
protected visad.Data |
getDataInner(ucar.unidata.data.DataChoice dataChoice,
ucar.unidata.data.DataCategory category,
ucar.unidata.data.DataSelection dataSelection,
java.util.Hashtable requestProperties)
Actually get the data identified by the given DataChoce.
|
ucar.unidata.util.Range |
getLatRange() |
ucar.unidata.util.Range |
getLonRange() |
ucar.unidata.util.Range |
getParamRange() |
static float[] |
minmax(float[] values,
float min,
float max) |
visad.FlatField |
singleTraj(java.lang.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
private static final org.slf4j.Logger logger
private static final java.lang.String DATA_DESCRIPTION
public static java.lang.String parcelDimName
public static java.lang.String timeDimName
public static java.lang.String lonName
public static java.lang.String latName
NetCDFFile ncFile
java.lang.String pressName
java.lang.String timeName
int[] start
int[] count
int[] stride
int parcelDimIdx
int timeDimIdx
java.lang.String[] paramList
java.lang.String fileName
visad.CoordinateSystem presToHeightCS
visad.Unit timeUnit
visad.Set timeSet
int numTimes
int numParcels
ucar.unidata.util.Range lonRange
ucar.unidata.util.Range latRange
ucar.unidata.util.Range paramRange
public NearCastTrajDataSource()
public NearCastTrajDataSource(java.lang.String filename) throws visad.VisADException
visad.VisADException
public NearCastTrajDataSource(ucar.unidata.data.DataSourceDescriptor descriptor, java.lang.String fileName, java.util.Hashtable properties) throws visad.VisADException
visad.VisADException
public NearCastTrajDataSource(ucar.unidata.data.DataSourceDescriptor descriptor, java.util.List newSources, java.util.Hashtable properties) throws visad.VisADException
visad.VisADException
public visad.FlatField[] createVisADData(java.lang.String paramName)
public visad.FlatField singleTraj(java.lang.String paramName, int parcelIndex, int timeStart, int timeCount, int timeStride) throws java.lang.Exception
java.lang.Exception
public void doMakeDataChoices()
DataChoices
for this DataSource
.doMakeDataChoices
in class ucar.unidata.data.DataSourceImpl
private ucar.unidata.data.DataChoice doMakeDataChoice(int idx) throws java.lang.Exception
java.lang.Exception
protected visad.Data getDataInner(ucar.unidata.data.DataChoice dataChoice, ucar.unidata.data.DataCategory category, ucar.unidata.data.DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
ucar.unidata.data.DataSourceImpl
getDataInner
in class ucar.unidata.data.DataSourceImpl
dataChoice
- The data choice that identifies the requested
data.category
- The data category of the request.dataSelection
- Identifies any subsetting of the data.requestProperties
- Hashtable that holds any detailed request
properties.visad.VisADException
- VisAD problemjava.rmi.RemoteException
- Java RMI problempublic static float[] minmax(float[] values, float min, float max)
public ucar.unidata.util.Range getLonRange()
public ucar.unidata.util.Range getLatRange()
public ucar.unidata.util.Range getParamRange()