|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.beans.InvisiblePropertiedBean
ucar.unidata.data.sounding.SoundingAdapterImpl
public abstract class SoundingAdapterImpl
Class for retrieving upper air data from an ADDE remote server. Creates a SoundingOb for each of the stations on the remote server for the latest available data.
| Field Summary | |
|---|---|
protected boolean |
debug
Debug flag |
protected Defaults |
defaults
Defaults for parameters |
protected boolean |
haveInitialized
Initialization flag |
protected List |
soundings
List of soundings |
protected List |
stations
List of stations |
protected List |
times
List of times |
| Constructor Summary | |
|---|---|
SoundingAdapterImpl(String name)
Construct an empty AddeSoundingAdapter |
|
| Method Summary | |
|---|---|
protected void |
checkInit()
Check to see if we have been initialized. |
protected void |
dbPrint(String s)
If we are in debug mode then print the string |
protected String |
getDflt(String prefix,
String name,
String dflt)
Get a property value from the Defaults |
SoundingOb |
getSoundingOb(SoundingStation station)
Retrieve the first sounding observation found for the given station. |
SoundingOb[] |
getSoundingObs()
Retrieve all the sounding observations in the dataset |
DateTime[] |
getSoundingTimes()
Retrieve an array of the sounding times available in the dataset. |
List |
getSoundingTimes(SoundingStation station)
Retrieves a list of the times in the dataset for a given station. |
List |
getStations()
Retrieves a list of the stations in the dataset. |
List |
getStations(DateTime time)
Retrieves a list of the stations in the dataset for a given time. |
protected void |
init()
Initialize the adapter. |
abstract SoundingOb |
initSoundingOb(SoundingOb so)
Initialize a sounding ob |
| Methods inherited from class ucar.unidata.beans.InvisiblePropertiedBean |
|---|
addProperty, addPropertyChangeListener, addPropertyChangeListener, disablePropertyChangeEvents, enablePropertyChangeEvents, getTitle, removePropertyChangeListener, removePropertyChangeListener, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean haveInitialized
protected boolean debug
protected Defaults defaults
protected List stations
protected List soundings
protected List times
| Constructor Detail |
|---|
public SoundingAdapterImpl(String name)
name - name for this adapter| Method Detail |
|---|
protected void init()
throws Exception
Exception - problem initializingprotected void checkInit()
protected String getDflt(String prefix,
String name,
String dflt)
prefix - prefix for propertyname - name of propertydflt - default value
protected void dbPrint(String s)
s - string to printpublic List getStations()
public List getStations(DateTime time)
time - time of observation
public abstract SoundingOb initSoundingOb(SoundingOb so)
so - ob to initialize
public SoundingOb getSoundingOb(SoundingStation station)
station - station to look for
public SoundingOb[] getSoundingObs()
public DateTime[] getSoundingTimes()
public List getSoundingTimes(SoundingStation station)
station - station of observation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||