|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.FilesDataSource
ucar.unidata.data.point.PointDataSource
ucar.unidata.data.point.TextPointDataSource
ucar.unidata.data.point.GNOMETextPointDataSource
public class GNOMETextPointDataSource
Datasource for the GNOME SPLOTS (General NOAA Operational Modeling Environement SPill DOTS") files. It consists of a series of 3 files with extensions .ms3, .ms4, .ms5
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.data.point.TextPointDataSource |
|---|
TextPointDataSource.Metadata |
| Nested classes/interfaces inherited from class ucar.unidata.data.point.PointDataSource |
|---|
PointDataSource.PlotModelSelectionComponent |
| Field Summary | |
|---|---|
static String |
DATA_FILE_SUFFIX
Suffix for the file containing the data |
static String |
HEADER
Header for the contents public static final String HEADER = "(index) -> (Time, Longitude, Latitude, LE, Type(Text), " + "Pollutant(Text), Depth, mass, density, age, status(Text))\n" + "Time[colspan=\"2\" fmt=\"HH:mm MM/dd/yyy\"], Longitude[unit=\"degrees_east\"], " + "Latitude[unit=\"degrees_north\"], LE, Type(Text), Pollutant(Text), " + "Depth[unit=\"m\"], mass, density[unit=\"kg/m3\"], " + "age[unit=\"hr\"], status(Text)\n"; |
static String |
LOCATION_FILE_SUFFIX
Suffix for the file containing the locations |
static String |
TIME_FILE_SUFFIX
Suffix for the file containing the time |
static String |
VALIDFOR
Date line identifier |
| Fields inherited from class ucar.unidata.data.point.TextPointDataSource |
|---|
BLANK_DELIM, COMMA_DELIM, 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 |
| Fields 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, STATION_DATA, STATION_PLOT |
| Fields inherited from class ucar.unidata.data.FilesDataSource |
|---|
adapters, oldSourceFromBundles, sources |
| Fields inherited from class ucar.unidata.data.DataSourceImpl |
|---|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES |
| Fields 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_TITLE |
| Constructor Summary | |
|---|---|
GNOMETextPointDataSource()
Default ctor |
|
GNOMETextPointDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
Create a new GNOME data source |
|
GNOMETextPointDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
Create a new GNOME data source |
|
GNOMETextPointDataSource(String source)
Create a GNOME data source for the specified file |
|
| Method Summary | |
|---|---|
protected String |
getContents(String sourceFile,
boolean sampleIt)
Get the contents. |
String |
getDescription()
Get the description for this data source |
| Methods inherited from class ucar.unidata.data.FilesDataSource |
|---|
getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterCreation, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, saveDataToLocalDisk, setNewFiles, setSources, sourcesChanged, updateState |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Field Detail |
|---|
public static final String TIME_FILE_SUFFIX
public static final String LOCATION_FILE_SUFFIX
public static final String DATA_FILE_SUFFIX
public static final String VALIDFOR
public static final String HEADER
| Constructor Detail |
|---|
public GNOMETextPointDataSource()
throws VisADException
VisADException - gotta throw something I guess
public GNOMETextPointDataSource(String source)
throws VisADException
source - the source file
VisADException - problem making the file
public GNOMETextPointDataSource(DataSourceDescriptor descriptor,
List sources,
Hashtable properties)
throws VisADException
descriptor - the data source descriptorsources - the list of sourcesproperties - the properties
VisADException - problem making data
public GNOMETextPointDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
throws VisADException
descriptor - the data source descriptorsource - the sourceproperties - the properties
VisADException - problem making data| Method Detail |
|---|
public String getDescription()
getDescription in interface DataSourcegetDescription in class DataSourceImpl
protected String getContents(String sourceFile,
boolean sampleIt)
throws Exception
getContents in class TextPointDataSourcesourceFile - the source filesampleIt - true to sample
Exception - problem reading the files
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||