Package ucar.nc2.ft.point.standard
Class TableAnalyzer
- java.lang.Object
-
- 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableAnalyzerfactory(TableConfigurer tc, FeatureType wantFeatureType, NetcdfDataset ds)Create a TableAnalyser for this dataset with the given TableConfigurerbooleanfeatureTypeOk(FeatureType ftype, Formatter errlog)voidgetDetailInfo(Formatter sf)StringgetErrlog()FeatureTypegetFirstFeatureType()List<NestedTable>getFlatTables()StringgetImplementationName()StringgetName()NetcdfDatasetgetNetcdfDataset()static TableConfigurergetTableConfigurer(FeatureType wantFeatureType, NetcdfDataset ds)Find a TableConfigurer for this dataset, if there is one.StringgetUserAdvice()static voidregisterAnalyzer(String conventionName, Class c, ucar.nc2.ft.point.standard.TableAnalyzer.ConventionNameOk match)voidshowNestedTables(Formatter sf)
-
-
-
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)
Find a TableConfigurer for this dataset, if there is one.- Parameters:
wantFeatureType- want this FeatureTypeds- for this dataset- Returns:
- TableConfigurer or null if not found
-
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 FeatureTypeds- 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()
-
showNestedTables
public void showNestedTables(Formatter sf)
-
getImplementationName
public String getImplementationName()
-
getDetailInfo
public void getDetailInfo(Formatter sf)
-
-