ucar.nc2.dataset
Class NetcdfDatasetInfo

java.lang.Object
  extended by ucar.nc2.dataset.NetcdfDatasetInfo

public class NetcdfDatasetInfo
extends java.lang.Object

Helper class for obtaining information about a NetcdfDataset. Creates a "netcdfDatasetInfo" XML document, used by the TDS "Common Data Model Coordinate System Validation".

Author:
john caron

Method Summary
 java.lang.String getCoordSysBuilderName()
          Get the name of the COordSysBuilder that parses this file.
 GridCoordSys getGridCoordSys(VariableEnhanced ve)
           
 java.lang.StringBuffer getParseInfo()
          Detailed information when the coordinate systems were parsed
 java.lang.StringBuffer getUserAdvice()
          Specific advice to a user about problems with the coordinate information in the file.
static void main(java.lang.String[] args)
          debug
 org.jdom.Document makeDocument()
          Create an XML document from this info
 java.lang.String writeXML()
          Write the information as an XML document
 void writeXML(java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParseInfo

public java.lang.StringBuffer getParseInfo()
Detailed information when the coordinate systems were parsed


getUserAdvice

public java.lang.StringBuffer getUserAdvice()
Specific advice to a user about problems with the coordinate information in the file.


getCoordSysBuilderName

public java.lang.String getCoordSysBuilderName()
Get the name of the COordSysBuilder that parses this file.


writeXML

public java.lang.String writeXML()
Write the information as an XML document


getGridCoordSys

public GridCoordSys getGridCoordSys(VariableEnhanced ve)

writeXML

public void writeXML(java.io.OutputStream os)
              throws java.io.IOException
Throws:
java.io.IOException

makeDocument

public org.jdom.Document makeDocument()
Create an XML document from this info


main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
debug

Throws:
java.io.IOException