public class CMASoundingAdapter extends SoundingAdapterImpl implements SoundingAdapter
debug, defaults, haveInitialized, soundings, stations, times| Constructor and Description |
|---|
CMASoundingAdapter()
Constructor for reflection based construction
|
CMASoundingAdapter(java.io.File file)
Read a file of decoded soundings from CMA
|
CMASoundingAdapter(java.lang.String filename)
Read a file of decoded soundings from CMA.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSource()
Get the filename for this adapter.
|
protected void |
init()
Read a file of decoded soundings from CMA.
|
protected void |
initold()
Read a file of decoded soundings from CMA.
|
SoundingOb |
initSoundingOb(SoundingOb sound)
Check to see if the RAOB has any data
|
static void |
main(java.lang.String[] args)
Test it out
|
protected void |
setRAOBData(SoundingOb so,
java.util.List<ucar.unidata.data.sounding.SoundingLevelData> levels)
Set the data in the RAOB.
|
void |
setSource(java.lang.String s)
Set the source for this data
|
void |
update()
Update the adapter (re-read the data)
|
checkInit, dbPrint, getDflt, getSoundingOb, getSoundingObs, getSoundingTimes, getSoundingTimes, getStations, getStationsaddProperty, addPropertyChangeListener, addPropertyChangeListener, disablePropertyChangeEvents, enablePropertyChangeEvents, getTitle, removePropertyChangeListener, removePropertyChangeListener, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSoundingObs, getSoundingTimes, getSoundingTimes, getStations, getStationspublic CMASoundingAdapter()
public CMASoundingAdapter(java.lang.String filename)
throws java.lang.Exception
filename - the fully qualified path and name of the file
to be adapted.java.lang.Exception - problem reading filepublic CMASoundingAdapter(java.io.File file)
throws java.lang.Exception
file - File to readjava.lang.Exception - problem encounteredpublic void update()
update in interface SoundingAdapterprotected void init()
throws java.lang.Exception
init in class SoundingAdapterImpljava.lang.Exception - problem reading the fileprotected void initold()
throws java.lang.Exception
java.lang.Exception - problem reading the fileprotected void setRAOBData(SoundingOb so, java.util.List<ucar.unidata.data.sounding.SoundingLevelData> levels)
so - the SoundingOblevels - list of SoundingLevelDatapublic SoundingOb initSoundingOb(SoundingOb sound)
initSoundingOb in interface SoundingAdapterinitSoundingOb in class SoundingAdapterImplsound - sounding to checkpublic java.lang.String getSource()
getSource in interface SoundingAdapterpublic void setSource(java.lang.String s)
setSource in interface SoundingAdapters - new sourcepublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - filenamejava.lang.Exception - problem opening or decoding the file