Class NetcdfDatasetInfo

java.lang.Object
ucar.nc2.dataset.NetcdfDatasetInfo
All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated public class NetcdfDatasetInfo extends Object implements Closeable
Deprecated.
This will move to another package.
Helper class for obtaining information about a NetcdfDataset. Creates a "netcdfDatasetInfo" XML document, used by the TDS "Common Data Model Coordinate System Validation".
  • Constructor Details

  • Method Details

    • close

      public void close() throws IOException
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • getParseInfo

      public String getParseInfo()
      Deprecated.
      Detailed information when the coordinate systems were parsed
      Returns:
      String containing parsing info
    • getUserAdvice

      public String getUserAdvice()
      Deprecated.
      Specific advice to a user about problems with the coordinate information in the file.
      Returns:
      String containing advice to a user about problems with the coordinate information in the file.
    • getConventionUsed

      public String getConventionUsed()
      Deprecated.
      Get the name of the CoordSysBuilder that parses this file.
      Returns:
      the name of the CoordSysBuilder that parses this file.
    • writeXML

      public String writeXML()
      Deprecated.
      Write the information as an XML document
      Returns:
      String containing netcdfDatasetInfo XML
    • getGridCoordSys

      public ucar.nc2.dt.grid.GridCoordSys getGridCoordSys(VariableEnhanced ve)
      Deprecated.
    • writeXML

      public void writeXML(OutputStream os) throws IOException
      Deprecated.
      Throws:
      IOException
    • makeDocument

      public org.jdom2.Document makeDocument()
      Deprecated.
      Create an XML document from this info
      Returns:
      netcdfDatasetInfo XML document