public class NetcdfDatasetInfo
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
NetcdfDatasetInfo(NetcdfDataset ds) |
NetcdfDatasetInfo(java.lang.String location) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getConventionUsed()
Get the name of the CoordSysBuilder that parses this file.
|
GridCoordSys |
getGridCoordSys(VariableEnhanced ve) |
java.lang.String |
getParseInfo()
Detailed information when the coordinate systems were parsed
|
java.lang.String |
getUserAdvice()
Specific advice to a user about problems with the coordinate information in the file.
|
static void |
main(java.lang.String[] args)
debug
|
org.jdom2.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) |
public NetcdfDatasetInfo(java.lang.String location)
throws java.io.IOException
java.io.IOExceptionpublic NetcdfDatasetInfo(NetcdfDataset ds) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.String getParseInfo()
public java.lang.String getUserAdvice()
public java.lang.String getConventionUsed()
public java.lang.String writeXML()
public GridCoordSys getGridCoordSys(VariableEnhanced ve)
public void writeXML(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic org.jdom2.Document makeDocument()
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException