ucar.nc2.ft.point.standard.plug
Class CdmDirect

java.lang.Object
  extended by ucar.nc2.ft.point.standard.TableConfigurerImpl
      extended by ucar.nc2.ft.point.standard.plug.CdmDirect
All Implemented Interfaces:
TableConfigurer

public class CdmDirect
extends TableConfigurerImpl

CDM direct, used when we are implementing the IOSP.

Since:
Dec 30, 2010
Author:
caron

Constructor Summary
CdmDirect()
           
 
Method Summary
 TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog)
          Create a TableConfig for this dataset.
protected  TableConfig getStationConfig(NetcdfDataset ds, Formatter errlog)
           
protected  TableConfig getStationProfileConfig(NetcdfDataset ds, Formatter errlog)
           
 boolean isMine(FeatureType wantFeatureType, NetcdfDataset ds)
          Determine if this is a dataset that can be opened as a point obs dataset.
 
Methods inherited from class ucar.nc2.ft.point.standard.TableConfigurerImpl
findNameVariableWithStandardNameAndDimension, findVariableWithStandardNameAndDimension, findVariableWithStandardNameAndNotDimension, findZAxisNotStationAlt, getConvName, getConvUsed, isEffectivelyScaler, matchAxisTypeAndDimension, matchAxisTypeAndDimension, matchAxisTypeAndDimension, setConvName, setConvUsed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdmDirect

public CdmDirect()
Method Detail

isMine

public boolean isMine(FeatureType wantFeatureType,
                      NetcdfDataset ds)
Description copied from interface: TableConfigurer
Determine if this is a dataset that can be opened as a point obs dataset.

Parameters:
wantFeatureType - want this FeatureType
ds - for this dataset
Returns:
true if it can be opened as a wantFeatureType dataset

getConfig

public TableConfig getConfig(FeatureType wantFeatureType,
                             NetcdfDataset ds,
                             Formatter errlog)
                      throws IOException
Description copied from interface: TableConfigurer
Create a TableConfig for this dataset.

Parameters:
wantFeatureType - want this FeatureType
ds - for this dataset, which has already passed isMine() test
errlog - put error messages here, may be null.
Returns:
TableConfig for this dataset
Throws:
IOException - on read error

getStationConfig

protected TableConfig getStationConfig(NetcdfDataset ds,
                                       Formatter errlog)
                                throws IOException
Throws:
IOException

getStationProfileConfig

protected TableConfig getStationProfileConfig(NetcdfDataset ds,
                                              Formatter errlog)
                                       throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.