Class 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 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 FeatureType
        ds - 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 FeatureType
        ds - for this dataset
        Returns:
        TableAnalyser
        Throws:
        IOException - on read error
      • getName

        public String getName()
      • getFirstFeatureType

        public FeatureType getFirstFeatureType()
      • getUserAdvice

        public String getUserAdvice()
      • getErrlog

        public String getErrlog()
      • showNestedTables

        public void showNestedTables​(Formatter sf)
      • getImplementationName

        public String getImplementationName()
      • getDetailInfo

        public void getDetailInfo​(Formatter sf)