public class CDOGTextPointDataSource extends TextPointDataSource
TextPointDataSource.Metadata
PointDataSource.PlotModelSelectionComponent
BLANK_DELIM, COMMA_DELIM, hasLatLon, PREF_METADATAMAP, PROP_DATAPROPERTIES, PROP_HEADER_BLOB, PROP_HEADER_EXTRA, PROP_HEADER_MAP, PROP_HEADER_PARAMS, PROP_HEADER_SKIP, PROP_HEADER_SKIPPATTERN, SEMICOLON_DELIM, TAB_DELIM, useDriverTime
fieldsDescription, POINT_DATA, PROP_FIRSTGUESS, PROP_GRID_GAIN, PROP_GRID_NUMPASSES, PROP_GRID_PARAM, PROP_GRID_SEARCH_RADIUS, PROP_GRID_UNIT, PROP_GRID_X, PROP_GRID_Y, PROP_STATIONMODELNAME, PROP_STATIONMODELSCALE, STATION_DATA, STATION_PLOT
adapters, oldSourceFromBundles, sources
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 |
---|
CDOGTextPointDataSource()
Create a new data source
|
CDOGTextPointDataSource(DataSourceDescriptor descriptor,
java.util.List sources,
java.util.Hashtable properties)
Create a new data source
|
CDOGTextPointDataSource(DataSourceDescriptor descriptor,
java.lang.String source,
java.util.Hashtable properties)
Create a new data source
|
CDOGTextPointDataSource(DataSourceDescriptor descriptor,
java.lang.String source,
java.lang.String name,
java.util.Hashtable properties)
Create a new data source
|
CDOGTextPointDataSource(java.lang.String source)
Create a new data source
|
Modifier and Type | Method and Description |
---|---|
visad.FieldImpl |
makeObs(DataChoice dataChoice,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox,
java.lang.String trackParam,
boolean sampleIt,
boolean showAttributeGuiIfNeeded)
make the observations from the given datachoice
|
visad.FieldImpl |
makeObs(java.lang.String contents,
java.lang.String delimiter,
DataSelection subset,
ucar.unidata.geoloc.LatLonRect bbox,
java.lang.String trackParam,
boolean sampleIt,
boolean showAttributeGuiIfNeeded)
Make obs from the text
|
addPropertiesTabs, applyNames, applyProperties, applySavedMetaData, applySavedMetaDataFromUI, applySavedMetaDataFromUIInner, canDoGeoSelection, canDoGeoSelectionStride, canSaveDataToLocalDisk, changeMetadata, deleteMetaData, doMakeDataChoices, equals, findLatLonAltIndices, getContents, getContents, getDataInner, getDelimiter, getDelimiter, getGroupVarName, getMap, getMetaDataFields, getParams, getPointCategories, getPropertiesComponents, getSample, getSkipRows, getSource, hashCode, main, main2, makeObs, popupMetaDataMenu, saveMetaDataMap, setDelimiter, setGroupVarName, setMap, setMetaDataFields, setParams, setSkipRows, setStreamProcessor, writeHeader, writePlugin
canAddCurrentName, canCreateGrid, canDoAllLevels, doRemove, getBinRoundTo, getBinWidth, getDataName, getDefaultLevels, getDescriptionDataChoice, getFullDescription, getGridGain, getGridSearchRadius, getGridUnit, getGridX, getGridY, getMakeGridFields, getNumGridPasses, init, initDataSelectionComponents, initGridParameters, makeDerivedDataChoices, makeFieldDescription, reloadData, setBinRoundTo, setBinWidth, setGridGain, setGridSearchRadius, setGridUnit, setGridX, setGridY, setMakeGridFields, setNumGridPasses, setRoundToFromComboBox, setSource, setWidthFromComboBox, shouldCache
getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, saveDataToLocalDisk, setNewFiles, setSources, sourcesChanged, updateState
addActions, addDataChangeListener, addDataChoice, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canCacheDataToDisk, canChangeData, canDoFieldMask, canDoGeoSelectionMap, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, 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, 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, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, 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, initDataChoice, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeSaveLocalActions, newFileFromPolling, 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, 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
public CDOGTextPointDataSource() throws visad.VisADException
visad.VisADException
- for badpublic CDOGTextPointDataSource(java.lang.String source) throws visad.VisADException
source
- the source filevisad.VisADException
- for badpublic CDOGTextPointDataSource(DataSourceDescriptor descriptor, java.util.List sources, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptorsources
- list of sourcesproperties
- propertiesvisad.VisADException
- problem creating the datapublic CDOGTextPointDataSource(DataSourceDescriptor descriptor, java.lang.String source, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptorsource
- the source fileproperties
- the propertiesvisad.VisADException
- problem creating the datapublic CDOGTextPointDataSource(DataSourceDescriptor descriptor, java.lang.String source, java.lang.String name, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptorname
- name of the datasource
- the source fileproperties
- the propertiesvisad.VisADException
- problem creating the datapublic visad.FieldImpl makeObs(DataChoice dataChoice, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox, java.lang.String trackParam, boolean sampleIt, boolean showAttributeGuiIfNeeded) throws java.lang.Exception
makeObs
in class TextPointDataSource
dataChoice
- the data choicesubset
- data selection to subset withbbox
- bounding box to subsettrackParam
- the parameter to use for thetracksampleIt
- do we just sample or do we read the full set of obsshowAttributeGuiIfNeeded
- popup the gui if we have a problemjava.lang.Exception
- On badnesspublic visad.FieldImpl makeObs(java.lang.String contents, java.lang.String delimiter, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox, java.lang.String trackParam, boolean sampleIt, boolean showAttributeGuiIfNeeded) throws java.lang.Exception
makeObs
in class TextPointDataSource
contents
- the contentsdelimiter
- the delimitersubset
- subset infobbox
- the bounding boxtrackParam
- the track parameter namesampleIt
- true if just need a sampleshowAttributeGuiIfNeeded
- true if we need to show the attribute guijava.lang.Exception
- some problem occurred making the obs