|
||||||||||
| 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
ucar.unidata.data.sounding.NetcdfSoundingAdapter
public class NetcdfSoundingAdapter
This class creates VisAD compatible data objects from a netCDF file of upper air soundings.
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.data.sounding.SoundingAdapterImpl |
|---|
debug, defaults, haveInitialized, soundings, stations, times |
| Constructor Summary | |
|---|---|
NetcdfSoundingAdapter()
Constructor for reflection based construction |
|
NetcdfSoundingAdapter(File file)
Read a netCDF file of decoded soundings |
|
NetcdfSoundingAdapter(String filename)
Read a netCDF file of decoded soundings. |
|
| Method Summary | |
|---|---|
protected String |
getDflt(String name,
String dflt)
Get a default value using this Adapter's prefix |
String |
getSource()
Get the filename for this adapter. |
protected void |
init()
Read a netCDF file of decoded soundings. |
SoundingOb |
initSoundingOb(SoundingOb sound)
Check to see if the RAOB has any data |
void |
setSource(String s)
Set the source for this data |
void |
update()
Update the adapter (re-read the data) |
| Methods inherited from class ucar.unidata.data.sounding.SoundingAdapterImpl |
|---|
checkInit, dbPrint, getDflt, getSoundingOb, getSoundingObs, getSoundingTimes, getSoundingTimes, getStations, getStations |
| 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 |
| Methods inherited from interface ucar.unidata.data.sounding.SoundingAdapter |
|---|
getSoundingObs, getSoundingTimes, getSoundingTimes, getStations, getStations |
| Constructor Detail |
|---|
public NetcdfSoundingAdapter()
public NetcdfSoundingAdapter(String filename)
throws Exception
filename - the fully qualified path and name of the file
to be adapted.
Exception - problem reading file
public NetcdfSoundingAdapter(File file)
throws Exception
file - File to read
Exception - problem encountered| Method Detail |
|---|
public void update()
update in interface SoundingAdapter
protected void init()
throws Exception
init in class SoundingAdapterImplException - problem reading the filepublic String getSource()
getSource in interface SoundingAdapterpublic void setSource(String s)
setSource in interface SoundingAdapters - new sourcepublic SoundingOb initSoundingOb(SoundingOb sound)
initSoundingOb in interface SoundingAdapterinitSoundingOb in class SoundingAdapterImplsound - sounding to check
protected String getDflt(String name,
String dflt)
name - name of property keydflt - default value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||