Class GeodasDataSource

All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class GeodasDataSource extends DataSourceImpl
Class GeodasDataSource tmop
Version:
$Revision: 1.9 $
Author:
IDV Development Team
  • Constructor Details

    • GeodasDataSource

      public GeodasDataSource()
      Dummy constructor so this object can get unpersisted.
    • GeodasDataSource

      public GeodasDataSource(DataSourceDescriptor descriptor, String source, Hashtable properties) throws VisADException
      Create a GeodasDataSource from the specification given.
      Parameters:
      descriptor - description of the source
      source - of file filename
      properties - extra properties
      Throws:
      VisADException - VisAD problem
  • Method Details

    • doMakeDataChoices

      protected void doMakeDataChoices()
      Make the DataChoices associated with this source.
      Overrides:
      doMakeDataChoices in class DataSourceImpl
    • getDataInner

      protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException
      Actually get the data identified by the given DataChoce. The default is to call the getDataInner that does not take the requestProperties. This allows other, non unidata.data DataSource-s (that follow the old API) to work.
      Overrides:
      getDataInner in class DataSourceImpl
      Parameters:
      dataChoice - The data choice that identifies the requested data.
      category - The data category of the request.
      dataSelection - Identifies any subsetting of the data.
      requestProperties - Hashtable that holds any detailed request properties.
      Returns:
      The visad.Data object
      Throws:
      RemoteException - Java RMI problem
      VisADException - VisAD problem
    • doMakeDateTimes

      protected List doMakeDateTimes()
      Make the list of available times for this data source.
      Overrides:
      doMakeDateTimes in class DataSourceImpl
      Returns:
      list of available data times
    • testit

      public void testit() throws Exception
      test code
      Throws:
      Exception - On badness