public class DoradeAdapter extends java.lang.Object implements RadarAdapter
AZIMUTH_ANGLE_TYPE, AZIMUTH_TYPE, ELEVATION_ANGLE_TYPE, RANGE_TYPE
AZIMUTH, AZIMUTH_ANGLE, ELEVATION_ANGLE, PROP_2DOR3D, PROP_ANGLE, PROP_ANGLES, PROP_AZIMUTH, PROP_AZIMUTHS, PROP_CAPPI_LEVEL, PROP_CAPPI_LEVELS, PROP_TIMEHEIGHT, PROP_VCS, PROP_VCS_END, PROP_VCS_START, 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 and Description |
---|
DoradeAdapter()
Zero-argument constructor for construction via unpersistence.
|
DoradeAdapter(DataSourceImpl source,
java.lang.String fileName)
Construct a new DORADE adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
clearCachedData()
Implement the interce.
|
void |
doRemove()
Clean up whatever we need to when we are removed.
|
boolean |
equals(java.lang.Object o)
Check to see if this
DoradeDataSource is equal to the object
in question. |
visad.DateTime |
getBaseTime()
Get the base time for this sweep
|
visad.DataImpl |
getData(DataChoice dataChoice,
DataSelection subset,
java.util.Hashtable requestProperties)
Get the data for the given DataChoice and selection criteria.
|
java.lang.String |
getName()
Return the name of the file
|
protected visad.RealType[] |
getParams()
Get the parameters for this adapter
|
ucar.atd.dorade.ScanMode |
getScanMode()
Get the scan mode for this sweep
|
int |
hashCode()
Get the hash code for this object.
|
boolean |
isPPI()
Is this sweep in ppi mode
|
boolean |
isRHI()
Is this sweep in rhi mode
|
boolean |
isSurvey()
Is this sweep in survey mode
|
static void |
main(java.lang.String[] args)
Test main
|
java.lang.String |
toString()
to String.
|
public DoradeAdapter()
public DoradeAdapter(DataSourceImpl source, java.lang.String fileName) throws visad.VisADException
source
- DataSource (may be null)fileName
- name of the DORADE file to readvisad.VisADException
- problem creating datapublic void clearCachedData()
clearCachedData
in interface RadarAdapter
public visad.DataImpl getData(DataChoice dataChoice, DataSelection subset, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getData
in interface RadarAdapter
dataChoice
- DataChoice for selectionsubset
- subsetting criteriarequestProperties
- extra request propertiesjava.rmi.RemoteException
- couldn't create a remote data objectvisad.VisADException
- couldn't create the datapublic boolean equals(java.lang.Object o)
DoradeDataSource
is equal to the object
in question.equals
in class java.lang.Object
o
- object in questionpublic int hashCode()
hashCode
in class java.lang.Object
public visad.DateTime getBaseTime()
getBaseTime
in interface RadarAdapter
protected visad.RealType[] getParams()
public boolean isPPI()
public boolean isRHI()
public boolean isSurvey()
public ucar.atd.dorade.ScanMode getScanMode()
public java.lang.String getName()
getName
in interface RadarAdapter
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- cmd line argsjava.lang.Exception
- when bad things happenpublic void doRemove()
doRemove
in interface RadarAdapter