public class NetcdfSweepfileAdapter 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 |
---|
NetcdfSweepfileAdapter()
Zero-argument constructor for construction via unpersistence.
|
NetcdfSweepfileAdapter(DataSourceImpl source,
java.lang.String location)
Construct a new DORADE adapter.
|
NetcdfSweepfileAdapter(java.lang.String location)
Create a new NetcdfSweepfileAdapter
|
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
NetcdfSweepfileAdapter is equal to
the object in question. |
visad.DateTime |
getBaseTime()
Get the nominal time (time of first radial)
|
visad.DataImpl |
getData()
Get the Data object that this adapter represents
|
visad.DataImpl |
getData(DataChoice dataChoice,
DataSelection subset,
java.util.Hashtable requestProperties)
Get the data for the given DataChoice and selection criteria.
|
visad.DataImpl |
getField(visad.RealType type)
Deprecated.
Use getData(DataChoice, DataSelection, Hashtable)
|
java.lang.String |
getName()
Get the name of this adapter
|
protected visad.RealType[] |
getParams()
Get the parameters for this adapter
|
int |
hashCode()
Get the hash code for this object.
|
protected void |
init()
Initialize this adapter
|
public NetcdfSweepfileAdapter()
public NetcdfSweepfileAdapter(java.lang.String location) throws visad.VisADException
location
- location of data (filename or URL)visad.VisADException
- VisAD problempublic NetcdfSweepfileAdapter(DataSourceImpl source, java.lang.String location) throws visad.VisADException
source
- DataSource (may be null)location
- location of data (filename or URL)visad.VisADException
- problem creating dataprotected void init() throws java.lang.Exception
java.lang.Exception
- problem initializing adapterpublic void clearCachedData()
clearCachedData
in interface RadarAdapter
public visad.DataImpl getData()
public visad.DateTime getBaseTime()
getBaseTime
in interface RadarAdapter
public visad.DataImpl getField(visad.RealType type)
type
- RealType of the momentpublic 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)
NetcdfSweepfileAdapter
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
protected visad.RealType[] getParams()
public java.lang.String getName()
getName
in interface RadarAdapter
public void doRemove()
doRemove
in interface RadarAdapter