|
||||||||||
| 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.profiler.AddeProfilerDataSource
public class AddeProfilerDataSource
A data source for Profiler Network data from an ADDE server. Can handle three types of Profiler data requests - for station time/heihgt plots of wind, plan views of wind at a level above MSL, and 3D plots of multistation wind at all levels.
| Field Summary | |
|---|---|
static String |
PARAMS_ALL
set of all params to request |
static String |
PARAMS_SINGLE
set of params for a single station |
static String |
PROFILER_12MIN
12 minute profiler data identifier |
static String |
PROFILER_1HR
1 hour profiler data identifier |
static String |
PROFILER_30MIN
30 minute profiler data identifier |
static String |
PROFILER_6MIN
6 minute profiler data identifier |
static String |
PROFILER_DATAINT
Data source interval identifier |
static String |
PROFILER_INT
Data interval identifier |
static String |
PROFILER_NAME
Profile name |
static String |
PROFILER_SERVER
Profiler server identifier |
static String |
PROFILER_SERVER_INT_6MIN
6 minute server interval identifier |
static String |
PROFILER_SERVER_INT_HR
Hourly server interval identifier |
static String |
PROFILER_STATIONS
Profiler stations identifier |
static String |
PROFILER_TIMES
Profiler times |
| 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 | |
|---|---|
AddeProfilerDataSource()
No argument XML persistence constructor |
|
AddeProfilerDataSource(DataSourceDescriptor descriptor,
ArrayList stations,
Hashtable properties)
Create a new AddeProfilerDataSource |
|
| Method Summary | |
|---|---|
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(Object o)
Check to see if this AddeProfilerDataSource is equal to the object in question. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Actually get the data identified by the given DataChoce. |
List |
getSelectedStations()
Get the SelectedStations property. |
int |
hashCode()
Return the hashcode for this object |
void |
initAfterUnpersistence()
Extends method in DataSourceImpl to call local initProfiler () |
protected static FieldImpl |
recastProfilerMultiStationData(FieldImpl input,
int obInt)
Take a FieldImpl of National Profiler Network data obtained from the PointDataAdapter.getData() call based on an ADDE source request, and turn it into a FieldImpl of data of different FunctionType. |
protected static FieldImpl |
recastProfilerSingleStationData(FieldImpl input,
int obInt)
Take a FieldImpl of National Profiler Network data obtained from the PointDataAdapter.getData() call based on an ADDE source request, and turn it into a FieldImpl of data of different FunctionType. |
void |
setSelectedStations(List value)
Set the SelectedStations property. |
| 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 PARAMS_ALL
public static final String PARAMS_SINGLE
public static final String PROFILER_NAME
public static final String PROFILER_TIMES
public static final String PROFILER_INT
public static final String PROFILER_DATAINT
public static final String PROFILER_STATIONS
public static final String PROFILER_SERVER
public static final String PROFILER_6MIN
public static final String PROFILER_12MIN
public static final String PROFILER_30MIN
public static final String PROFILER_1HR
public static final String PROFILER_SERVER_INT_6MIN
public static final String PROFILER_SERVER_INT_HR
| Constructor Detail |
|---|
public AddeProfilerDataSource()
throws VisADException
VisADException - problem in VisAD
public AddeProfilerDataSource(DataSourceDescriptor descriptor,
ArrayList stations,
Hashtable properties)
throws VisADException
descriptor - description of sourcestations - stations to getproperties - extra properties
VisADException - problem accessing data| Method Detail |
|---|
public void initAfterUnpersistence()
initAfterUnpersistence in interface DataSourceinitAfterUnpersistence in class DataSourceImplpublic void doMakeDataChoices()
doMakeDataChoices in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
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.
RemoteException - Java RMI problem
VisADException - VisAD problem
protected static FieldImpl recastProfilerSingleStationData(FieldImpl input,
int obInt)
throws VisADException
input - a FieldImpl of NOAA National Profiler Network data
obtained from the PointDataAdapter.getData()
call based on an ADDE source request.obInt - an int how many time values to skip to get desired interval
VisADException
protected static FieldImpl recastProfilerMultiStationData(FieldImpl input,
int obInt)
throws VisADException,
RemoteException
(DateTime -> ((lat,lon,z)->(dir,spd)) )suitable for display by a Unidata windBarbDisplayable.
Skip some ob times depending on whether have 1 hourly or 6 minute data, and whether want 1 hour, 30 min, 12 min, or 6 min intervals in the displayed data.
level filtering accepts date in altitude range zlevel +/- 125 meters
input - a FieldImpl of NOAA National Profiler Network data
obtained from the PointDataAdapter.getData()
call based on an ADDE source request.obInt - an int how many time values to skip to get desired interval
RemoteException
VisADExceptionpublic void setSelectedStations(List value)
value - The new value for SelectedStationspublic List getSelectedStations()
public boolean equals(Object o)
equals in class DataSourceImplo - object in question
public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||