Package ucar.unidata.data.point
Class NetcdfPointCloudDataSource
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.point.PointDataSource
ucar.unidata.data.point.NetcdfPointDataSource
ucar.unidata.data.point.NetcdfPointCloudDataSource
- All Implemented Interfaces:
Sharable,DataSource,DataSourceFactory,XmlPersistable
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.unidata.data.point.PointDataSource
PointDataSource.PlotModelSelectionComponent -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float_more_static final int_more_static final int_more_static final int_more_protected ListThe timeListFields inherited from class ucar.unidata.data.point.NetcdfPointDataSource
fixedDatasetFields inherited from class ucar.unidata.data.point.PointDataSource
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_PLOTFields inherited from class ucar.unidata.data.FilesDataSource
adapters, oldSourceFromBundles, sourcesFields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESFields 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
ConstructorsConstructorDescriptionDefault constructorNetcdfPointCloudDataSource(ucar.nc2.ft.FeatureDatasetPoint fixedDataset, DataSourceDescriptor descriptor, Hashtable properties) Create a new NetcdfPointCloudDataSourceNetcdfPointCloudDataSource(DataSourceDescriptor descriptor, String[] sources, Hashtable properties) Create a new NetcdfPointCloudDataSourceNetcdfPointCloudDataSource(DataSourceDescriptor descriptor, String source, Hashtable properties) Create a new NetcdfPointCloudDataSourceNetcdfPointCloudDataSource(DataSourceDescriptor descriptor, List sources, Hashtable properties) Create a new NetcdfPointCloudDataSource -
Method Summary
Modifier and TypeMethodDescriptionvoid_more_protected ucar.nc2.ft.FeatureDatasetPointdoMakeDataset(String file) _more_Try to merge children up into parents of only one childgetAllDateTimes(DataChoice dataChoice) Get all the times for the given DataChoiceprotected DatagetDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) _more_static ListgetSelectedTimes(DataChoice dataChoice, DataSelection subset) static ListgetUniqueTimes(List<DateTime> timelist) static FlatFieldprotected FieldImplmakeObs(DataChoice dataChoice, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox, boolean sample) make the obsMethods inherited from class ucar.unidata.data.point.NetcdfPointDataSource
canDoGeoSelection, canDoGeoSelectionStride, canSaveDataToLocalDisk, doRemove, equals, getDataset, getSample, hashCode, initAfterCreation, main, makeObsMethods inherited from class ucar.unidata.data.point.PointDataSource
addPropertiesTabs, applyProperties, canAddCurrentName, canCreateGrid, canDoAllLevels, getBinRoundTo, getBinWidth, getDataName, getDefaultLevels, getDescriptionDataChoice, getFullDescription, getGridGain, getGridSearchRadius, getGridUnit, getGridX, getGridY, getMakeGridFields, getNumGridPasses, getPointCategories, getPropertiesComponents, getSource, init, initDataSelectionComponents, initGridParameters, makeDerivedDataChoices, makeFieldDescription, reloadData, setBinRoundTo, setBinWidth, setGridGain, setGridSearchRadius, setGridUnit, setGridX, setGridY, setMakeGridFields, setNumGridPasses, setRoundToFromComboBox, setSource, setWidthFromComboBox, shouldCacheMethods inherited from class ucar.unidata.data.FilesDataSource
getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, saveDataToLocalDisk, setNewFiles, setSources, sourcesChanged, updateStateMethods inherited from class ucar.unidata.data.DataSourceImpl
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, 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, writeFieldMaskFileMethods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ucar.unidata.data.DataSource
getUniqueId
-
Field Details
-
timeList
The timeList -
GRID_MISSING
public static final float GRID_MISSING_more_- See Also:
-
INDEX_ALT
public static final int INDEX_ALT_more_- See Also:
-
INDEX_LON
public static final int INDEX_LON_more_- See Also:
-
INDEX_LAT
public static final int INDEX_LAT_more_- See Also:
-
-
Constructor Details
-
NetcdfPointCloudDataSource
Default constructor- Throws:
VisADException- problem creating the object
-
NetcdfPointCloudDataSource
public NetcdfPointCloudDataSource(ucar.nc2.ft.FeatureDatasetPoint fixedDataset, DataSourceDescriptor descriptor, Hashtable properties) throws VisADException Create a new NetcdfPointCloudDataSource- Parameters:
fixedDataset- the data sourcedescriptor- data source descriptorproperties- extra properties for initialization- Throws:
VisADException- problem creating the data
-
NetcdfPointCloudDataSource
public NetcdfPointCloudDataSource(DataSourceDescriptor descriptor, String source, Hashtable properties) throws VisADException Create a new NetcdfPointCloudDataSource- Parameters:
descriptor- data source descriptorsource- source of data (filename/URL)properties- extra properties for initialization- Throws:
VisADException- problem creating the data
-
NetcdfPointCloudDataSource
public NetcdfPointCloudDataSource(DataSourceDescriptor descriptor, String[] sources, Hashtable properties) throws VisADException Create a new NetcdfPointCloudDataSource- Parameters:
descriptor- data source descriptorsources- sources of data (filename/URL)properties- extra properties for initialization- Throws:
VisADException- problem creating the data
-
NetcdfPointCloudDataSource
public NetcdfPointCloudDataSource(DataSourceDescriptor descriptor, List sources, Hashtable properties) throws VisADException Create a new NetcdfPointCloudDataSource- Parameters:
descriptor- data source descriptorsources- List source of data (filenames/URLs)properties- extra properties for initialization- Throws:
VisADException- problem creating the data
-
-
Method Details
-
doMakeDataset
_more_- Overrides:
doMakeDatasetin classNetcdfPointDataSource- Parameters:
file- _more_- Returns:
- _more_
-
makeObs
protected FieldImpl makeObs(DataChoice dataChoice, DataSelection subset, ucar.unidata.geoloc.LatLonRect bbox, boolean sample) throws Exception make the obs- Overrides:
makeObsin classNetcdfPointDataSource- Parameters:
dataChoice- the datachoicesubset- teh data selectionbbox- the bboxsample- just a taste?- Returns:
- the obs
- Throws:
Exception- on badness
-
doMakeDataChoices
public void doMakeDataChoices()_more_- Overrides:
doMakeDataChoicesin classPointDataSource
-
getAllDateTimes
Get all the times for the given DataChoice- Specified by:
getAllDateTimesin interfaceDataSource- Overrides:
getAllDateTimesin classDataSourceImpl- Parameters:
dataChoice- DataChoice in question- Returns:
- List of all times for that choice
-
getAllDateTimes
Try to merge children up into parents of only one child- Specified by:
getAllDateTimesin interfaceDataSource- Overrides:
getAllDateTimesin classDataSourceImpl- Returns:
- array of DateTimes (may be null)
-
getSelectedTimes
-
getDataInner
protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException _more_- Overrides:
getDataInnerin classPointDataSource- Parameters:
dataChoice- _more_category- _more_dataSelection- _more_requestProperties- _more_- Returns:
- _more_
- Throws:
RemoteException- _more_VisADException- _more_
-
makeField
public static FlatField makeField(MathType rangeType, float[][] pts) throws VisADException, RemoteException - Throws:
VisADExceptionRemoteException
-
getUniqueTimes
- Throws:
VisADExceptionRemoteException
-