ucar.nc2.ft.point.standard
Class TableAnalyzer
java.lang.Object
ucar.nc2.ft.point.standard.TableAnalyzer
public class TableAnalyzer
- extends java.lang.Object
Analyzes the coordinate systems of a dataset to try to identify the Feature Type.
- Since:
- Mar 20, 2008
- Author:
- caron
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tc
protected TableConfigurer tc
ds
protected NetcdfDataset ds
tableFind
protected java.util.Map<java.lang.String,TableConfig> tableFind
tableSet
protected java.util.Set<TableConfig> tableSet
joins
protected java.util.List<TableConfig.JoinConfig> joins
leaves
protected java.util.List<NestedTable> leaves
ft
protected FeatureType ft
userAdvice
protected java.util.Formatter userAdvice
errlog
protected java.util.Formatter errlog
conventionName
protected java.lang.String conventionName
stationInfo
protected TableAnalyzer.StationInfo stationInfo
TableAnalyzer
protected TableAnalyzer(NetcdfDataset ds,
TableConfigurer tc)
registerAnalyzer
public static void registerAnalyzer(java.lang.String conventionName,
java.lang.Class c)
factory
public static TableAnalyzer factory(FeatureType ftype,
NetcdfDataset ds)
throws java.io.IOException
- Throws:
java.io.IOException
getFlatTables
public java.util.List<NestedTable> getFlatTables()
featureTypeOk
public boolean featureTypeOk(FeatureType ftype)
getNetcdfDataset
public NetcdfDataset getNetcdfDataset()
getUserAdvice
public java.lang.String getUserAdvice()
setConventionUsed
protected void setConventionUsed(java.lang.String convName)
analyze
protected void analyze()
throws java.io.IOException
- Throws:
java.io.IOException
makeTables
protected void makeTables(boolean structAdded)
throws java.io.IOException
- Throws:
java.io.IOException
findNestedStructures
protected void findNestedStructures(Structure s,
TableConfig structTable)
addTable
protected void addTable(TableConfig t)
addTableRecurse
protected void addTableRecurse(TableConfig t)
getStructVars
protected java.util.List<Variable> getStructVars(java.util.List<Variable> vars,
Dimension dim)
makeNestedTables
protected void makeNestedTables()
findVariableWithAttribute
protected Variable findVariableWithAttribute(java.util.List<Variable> list,
java.lang.String name,
java.lang.String value)
showCoordSys
public void showCoordSys(java.util.Formatter sf)
showCoordAxes
public void showCoordAxes(java.util.Formatter sf)
showNestedTables
public void showNestedTables(java.util.Formatter sf)
getDetailInfo
public void getDetailInfo(java.util.Formatter sf)
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException