public abstract class SoundingAdapterImpl extends InvisiblePropertiedBean
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
debug
Debug flag 
 | 
protected Defaults | 
defaults
Defaults for parameters 
 | 
protected boolean | 
haveInitialized
Initialization flag 
 | 
protected java.util.List<SoundingOb> | 
soundings
List of soundings 
 | 
protected java.util.List<SoundingStation> | 
stations
List of stations 
 | 
protected java.util.List<visad.DateTime> | 
times
List of times 
 | 
| Constructor and Description | 
|---|
SoundingAdapterImpl(java.lang.String name)
Construct an empty AddeSoundingAdapter 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
checkInit()
Check to see if we have been initialized. 
 | 
protected void | 
dbPrint(java.lang.String s)
If we are in debug mode then print the string 
 | 
protected java.lang.String | 
getDflt(java.lang.String prefix,
       java.lang.String name,
       java.lang.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 
 | 
visad.DateTime[] | 
getSoundingTimes()
Retrieve an array of the sounding times available in the dataset. 
 | 
java.util.List<visad.DateTime> | 
getSoundingTimes(SoundingStation station)
Retrieves a list of the times in the dataset for a given station. 
 | 
java.util.List<SoundingStation> | 
getStations()
Retrieves a list of the stations in the dataset. 
 | 
java.util.List<SoundingStation> | 
getStations(visad.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 
 | 
addProperty, addPropertyChangeListener, addPropertyChangeListener, disablePropertyChangeEvents, enablePropertyChangeEvents, getTitle, removePropertyChangeListener, removePropertyChangeListener, setTitleprotected boolean haveInitialized
protected boolean debug
protected Defaults defaults
protected java.util.List<SoundingStation> stations
protected java.util.List<SoundingOb> soundings
protected java.util.List<visad.DateTime> times
public SoundingAdapterImpl(java.lang.String name)
name - name for this adapterprotected void init()
             throws java.lang.Exception
java.lang.Exception - problem initializingprotected void checkInit()
protected java.lang.String getDflt(java.lang.String prefix,
                                   java.lang.String name,
                                   java.lang.String dflt)
prefix - prefix for propertyname - name of propertydflt - default valueprotected void dbPrint(java.lang.String s)
s - string to printpublic java.util.List<SoundingStation> getStations()
public java.util.List<SoundingStation> getStations(visad.DateTime time)
time - time of observationpublic abstract SoundingOb initSoundingOb(SoundingOb so)
so - ob to initializepublic SoundingOb getSoundingOb(SoundingStation station)
station - station to look forpublic SoundingOb[] getSoundingObs()
public visad.DateTime[] getSoundingTimes()
public java.util.List<visad.DateTime> getSoundingTimes(SoundingStation station)
station - station of observation