|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.radar.Level2Adapter
public class Level2Adapter
Adapt an Archive Level II file to a VisAD data structure.
| Field Summary |
|---|
| Fields inherited from interface ucar.unidata.data.radar.RadarAdapter |
|---|
AZIMUTH_TYPE, ELEVATION_ANGLE_TYPE, RANGE_TYPE |
| Fields inherited from interface ucar.unidata.data.radar.RadarConstants |
|---|
AZIMUTH, ELEVATION_ANGLE, PROP_2DOR3D, PROP_ANGLE, PROP_ANGLES, PROP_AZIMUTH, PROP_CAPPI_LEVEL, PROP_CAPPI_LEVELS, PROP_TIMEHEIGHT, PROP_VCS, PROP_VOLUMEORSWEEP, PROP_VWP, RADAR_MOST_RECENT, RADIAL_VELOCITY_NAME, RANGE, REFLECTIVITY, REFLECTIVITY_NAME, SPECTRUM_WIDTH, SPECTRUM_WIDTH_NAME, STATION_LOCATION, VALUE_2D, VALUE_3D, VALUE_SWEEP, VALUE_VOLUME, VELOCITY |
| Constructor Summary | |
|---|---|
Level2Adapter(DataSourceImpl source,
String filename)
Construct a new Level2Adapter |
|
Level2Adapter(DataSourceImpl source,
String filename,
EarthLocation radarLocation)
Construct a new Level2Adapter for the radar location given |
|
| Method Summary | |
|---|---|
void |
clearCachedData()
Implement the interce. |
double[] |
getAngles()
Get the array of sweep tilts in this files volume scan. |
DateTime |
getBaseTime()
Get the starting time of this Volume |
FieldImpl |
getCAPPI(int moment,
Real level)
Get a CAPPI for the given moment at the given level |
FlatField |
getCut(int moment,
double elevation)
Get a 2D sweep of a particular moment at the specified elevation angle. |
FlatField |
getCut(int moment,
double elevation,
boolean want3D)
Get a 2D sweep of a particular moment at the specified elevation angle. |
DataImpl |
getData(DataChoice choice,
DataSelection ds,
Hashtable requestProperties)
Get the data for this DataChoice |
static String |
getMomentName(int moment)
Print out the name of the moment. |
String |
getName()
Return the name of the file |
FieldImpl |
getRHI(int moment,
double rhiAz)
Get an RHI for the given azimuth |
static NamedStationTable |
getStations()
Read in the nexrad stations from the idv/resources/nexradstns.xml resource |
FlatField |
getVolume(int moment)
Makes a field of all data from one level II file (one volume scan); which is composed of severla azimuthal sweeps at different angles (titls, elevations) above the horizontal. |
FlatField |
getVWP(double altitudeLimit)
Make a data object to display in the IDV as a VAD Wind Profile. |
void |
setRadarLocation(EarthLocation el)
Set the radar location |
String |
toString()
String representation of this adapter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Level2Adapter(DataSourceImpl source,
String filename)
throws VisADException,
RemoteException,
IOException
source - DataSource for cachingfilename - path of file
VisADException - couldn't create VisAD object
RemoteException - couldn't create remote object
IOException - problem opening or reading file
public Level2Adapter(DataSourceImpl source,
String filename,
EarthLocation radarLocation)
throws VisADException,
RemoteException,
IOException
source - DataSource for cachingfilename - path of fileradarLocation - location of the radar
VisADException - couldn't create VisAD object
RemoteException - couldn't create remote object
IOException - problem opening or reading file| Method Detail |
|---|
public void clearCachedData()
clearCachedData in interface RadarAdapterpublic DateTime getBaseTime()
getBaseTime in interface RadarAdapterpublic double[] getAngles()
public void setRadarLocation(EarthLocation el)
throws VisADException,
RemoteException
el - location of the radar
VisADException - couldn't create VisAD object
RemoteException - couldn't create remote object
public DataImpl getData(DataChoice choice,
DataSelection ds,
Hashtable requestProperties)
throws VisADException,
RemoteException
getData in interface RadarAdapterchoice - choice describing the datads - sub-selection criteriarequestProperties - extra request criteria (e.g, used to get
RHI azimuth)
VisADException - couldn't create VisAD object
RemoteException - couldn't create remote object
public FlatField getCut(int moment,
double elevation)
throws VisADException,
RemoteException
moment - moment (REFLECTIVITY, VELOCITY, SPECTRUM_WIDTH) of dataelevation - elevation angle
RemoteException - couldn't create remote object
VisADException - couldn't create VisAD object
public FlatField getCut(int moment,
double elevation,
boolean want3D)
throws VisADException,
RemoteException
moment - moment (REFLECTIVITY, VELOCITY, SPECTRUM_WIDTH) of dataelevation - elevation anglewant3D - true if you want this as a 3-D field
RemoteException - couldn't create remote object
VisADException - couldn't create VisAD object
public FlatField getVWP(double altitudeLimit)
throws VisADException,
RemoteException
altitudeLimit - typically 10 to 15 km; highest wind used.
RemoteException - couldn't create remote object
VisADException - couldn't create VisAD object
public FieldImpl getRHI(int moment,
double rhiAz)
throws VisADException,
RemoteException
moment - moment (REFLECTIVITY, VELOCITY, SPECTRUM_WIDTH) of datarhiAz - azimuth for the RHI
RemoteException - couldn't create remote object
VisADException - couldn't create VisAD object
public FieldImpl getCAPPI(int moment,
Real level)
throws VisADException,
RemoteException
moment - moment (REFLECTIVITY, VELOCITY, SPECTRUM_WIDTH) of datalevel - level (Altitude)
RemoteException - couldn't create remote object
VisADException - couldn't create VisAD objectpublic String toString()
toString in class Objectpublic String getName()
getName in interface RadarAdapter
public FlatField getVolume(int moment)
throws VisADException,
RemoteException
moment - moment (REFLECTIVITY, VELOCITY, SPECTRUM_WIDTH) of data
RemoteException - couldn't create remote object
VisADException - couldn't create VisAD objectpublic static NamedStationTable getStations()
NamedStation-spublic static String getMomentName(int moment)
moment - radar moment (ex: REFLECTIVITY)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||