ucar.nc2.ft.point.standard
Class TableAnalyzer

java.lang.Object
  extended by ucar.nc2.ft.point.standard.TableAnalyzer

public class TableAnalyzer
extends Object

Analyzes the coordinate systems of a dataset to try to identify the Feature Type and the structure of the data. Used by PointDatasetStandardFactory.

Since:
Mar 20, 2008
Author:
caron

Method Summary
static TableAnalyzer factory(TableConfigurer tc, FeatureType wantFeatureType, NetcdfDataset ds)
          Create a TableAnalyser for this dataset with the given TableConfigurer
 boolean featureTypeOk(FeatureType ftype, Formatter errlog)
           
 void getDetailInfo(Formatter sf)
           
 String getErrlog()
           
 FeatureType getFirstFeatureType()
           
 List<NestedTable> getFlatTables()
           
 String getImplementationName()
           
 String getName()
           
 NetcdfDataset getNetcdfDataset()
           
static TableConfigurer getTableConfigurer(FeatureType wantFeatureType, NetcdfDataset ds)
          Find a TableConfigurer for this dataset, if there is one.
 String getUserAdvice()
           
static void main(String[] args)
           
static void registerAnalyzer(String conventionName, Class c, ucar.nc2.ft.point.standard.TableAnalyzer.ConventionNameOk match)
           
 void showCoordAxes(Formatter sf)
           
 void showCoordSys(Formatter sf)
           
 void showNestedTables(Formatter sf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerAnalyzer

public static void registerAnalyzer(String conventionName,
                                    Class c,
                                    ucar.nc2.ft.point.standard.TableAnalyzer.ConventionNameOk match)

getTableConfigurer

public static TableConfigurer getTableConfigurer(FeatureType wantFeatureType,
                                                 NetcdfDataset ds)
                                          throws IOException
Find a TableConfigurer for this dataset, if there is one.

Parameters:
wantFeatureType - want this FeatureType
ds - for this dataset
Returns:
TableConfigurer or null if not found
Throws:
IOException - on read error

factory

public static TableAnalyzer factory(TableConfigurer tc,
                                    FeatureType wantFeatureType,
                                    NetcdfDataset ds)
                             throws IOException
Create a TableAnalyser for this dataset with the given TableConfigurer

Parameters:
tc - TableConfigurer, may be null.
wantFeatureType - want this FeatureType
ds - for this dataset
Returns:
TableAnalyser
Throws:
IOException - on read error

getFlatTables

public List<NestedTable> getFlatTables()

featureTypeOk

public boolean featureTypeOk(FeatureType ftype,
                             Formatter errlog)

getName

public String getName()

getFirstFeatureType

public FeatureType getFirstFeatureType()

getNetcdfDataset

public NetcdfDataset getNetcdfDataset()

getUserAdvice

public String getUserAdvice()

getErrlog

public String getErrlog()

showCoordSys

public void showCoordSys(Formatter sf)

showCoordAxes

public void showCoordAxes(Formatter sf)

showNestedTables

public void showNestedTables(Formatter sf)

getImplementationName

public String getImplementationName()

getDetailInfo

public void getDetailInfo(Formatter sf)

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


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