Package ucar.nc2.dataset
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 Summary
Constructors Constructor Description NetcdfDatasetInfo(String location)
Deprecated.NetcdfDatasetInfo(NetcdfDataset ds)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.String
getConventionUsed()
Deprecated.Get the name of the CoordSysBuilder that parses this file.GridCoordSys
getGridCoordSys(VariableEnhanced ve)
Deprecated.String
getParseInfo()
Deprecated.Detailed information when the coordinate systems were parsedString
getUserAdvice()
Deprecated.Specific advice to a user about problems with the coordinate information in the file.org.jdom2.Document
makeDocument()
Deprecated.Create an XML document from this infoString
writeXML()
Deprecated.Write the information as an XML documentvoid
writeXML(OutputStream os)
Deprecated.
-
-
-
Constructor Detail
-
NetcdfDatasetInfo
public NetcdfDatasetInfo(String location) throws IOException
Deprecated.- Throws:
IOException
-
NetcdfDatasetInfo
public NetcdfDatasetInfo(NetcdfDataset ds) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- 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 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
-
-