public class CDMProfilerDataSource extends FilesDataSource
adapters, oldSourceFromBundles, sourceschangeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESDATAPATH_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 | 
|---|
CDMProfilerDataSource()
No argument XML persistence constructor 
 | 
CDMProfilerDataSource(DataSourceDescriptor descriptor,
                     java.util.List files,
                     java.util.Hashtable properties)
Create a new FrontDataSource 
 | 
CDMProfilerDataSource(DataSourceDescriptor descriptor,
                     java.lang.String source,
                     java.util.Hashtable properties)
Create a new CDMProfilerDataSource 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
applyProperties()
Apply properties components 
 | 
void | 
doMakeDataChoices()
Called by DataSourceImpl to make the actual DataChoice(s) and add them
 to a list of Datachoices; the DataSourceImpl
 then checks to see if any derived
 datachoices are possible to derive from these, and shows them if so. 
 | 
boolean | 
equals(java.lang.Object o)
Check to see if this CDMProfilerDataSource is equal to the object
 in question. 
 | 
protected visad.Data | 
getDataInner(DataChoice dataChoice,
            DataCategory category,
            DataSelection dataSelection,
            java.util.Hashtable requestProperties)
Actually get the data identified by the given DataChoce. 
 | 
java.util.List<java.lang.String> | 
getFileNameOrUrls()
Get the FileNameOrUrl property. 
 | 
protected java.util.List | 
getLocationsForPolling()
Get the location where we poll. 
 | 
void | 
getPropertiesComponents(java.util.List comps)
Add the gui components into the list for the properties dialog 
 | 
int | 
hashCode()
Return the hashcode for this object 
 | 
void | 
initAfterUnpersistence()
Extends method in DataSourceImpl to call local initProfiler () 
 | 
boolean | 
isMadis(ucar.nc2.constants.FeatureType wantFeatureType,
       ucar.nc2.NetcdfFile ds)
_more_ 
 | 
boolean | 
isWPDN(ucar.nc2.constants.FeatureType wantFeatureType,
      ucar.nc2.NetcdfFile ds)
_more_ 
 | 
static void | 
main(java.lang.String[] args)
Test by running "java ucar.unidata.data.profiler.CDMProfilerDataSource  
 | 
void | 
newFileFromPolling(java.io.File f)
If we are polling some directory this method gets called when
 there is a new file. 
 | 
protected visad.FieldImpl | 
recastProfilerMultiStationData(visad.FieldImpl input,
                              int obInt)
Change the data into a field that includes lat/lon info 
 | 
protected visad.FieldImpl | 
recastProfilerSingleStationData(visad.FieldImpl input,
                               int obInt)
_more_ 
 | 
void | 
setFileNameOrUrls(java.util.List<java.lang.String> value)
Set the FileNameOrUrl property. 
 | 
doRemove, getDataFileExtension, getDataPaths, getFilePath, getFullDescription, getInputStreams, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSource, setSources, sourcesChanged, updateStateaddActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, 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, 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, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, 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, writeFieldMaskFileapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUniqueIdpublic CDMProfilerDataSource()
                      throws visad.VisADException
visad.VisADException - problem in VisADvisad.VisADException - _more_public CDMProfilerDataSource(DataSourceDescriptor descriptor, java.lang.String source, java.util.Hashtable properties) throws visad.VisADException, java.io.IOException
descriptor - description of sourcesource - source of the dataproperties - extra propertiesjava.io.IOException - _more_visad.VisADException - problem accessing datapublic CDMProfilerDataSource(DataSourceDescriptor descriptor, java.util.List files, java.util.Hashtable properties) throws visad.VisADException, java.io.IOException
descriptor - Descriptor for this DataSourcefiles - List of files or urlsproperties - Extra data source propertiesjava.io.IOException - _more_visad.VisADException - _more_public void initAfterUnpersistence()
initAfterUnpersistence in interface DataSourceinitAfterUnpersistence in class FilesDataSourcepublic void newFileFromPolling(java.io.File f)
newFileFromPolling in class DataSourceImplf - new File to use.protected java.util.List getLocationsForPolling()
getLocationsForPolling in class FilesDataSourcepublic boolean isMadis(ucar.nc2.constants.FeatureType wantFeatureType,
                       ucar.nc2.NetcdfFile ds)
wantFeatureType - _more_ds - _more_public boolean isWPDN(ucar.nc2.constants.FeatureType wantFeatureType,
                      ucar.nc2.NetcdfFile ds)
wantFeatureType - _more_ds - _more_public void doMakeDataChoices()
doMakeDataChoices in class DataSourceImplprotected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner in class DataSourceImpldataChoice - 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.java.rmi.RemoteException - Java RMI problemjava.rmi.RemoteException - _more_visad.VisADException - VisAD problemprotected visad.FieldImpl recastProfilerSingleStationData(visad.FieldImpl input,
                                                          int obInt)
                                                   throws visad.VisADException
input - _more_obInt - _more_visad.VisADException - _more_protected visad.FieldImpl recastProfilerMultiStationData(visad.FieldImpl input,
                                                         int obInt)
                                                  throws visad.VisADException,
                                                         java.rmi.RemoteException
input - _more_obInt - _more_java.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic boolean equals(java.lang.Object o)
equals in class FilesDataSourceo - object in questionpublic int hashCode()
hashCode in class java.lang.Objectpublic static void main(java.lang.String[] args)
                 throws java.lang.Exception
args - filenamejava.lang.Exception - problem running thispublic void setFileNameOrUrls(java.util.List<java.lang.String> value)
value - The new value for FileNameOrUrlpublic java.util.List<java.lang.String> getFileNameOrUrls()
public void getPropertiesComponents(java.util.List comps)
getPropertiesComponents in class DataSourceImplcomps - List of componentspublic boolean applyProperties()
applyProperties in class DataSourceImpl