public class NcMLGWriter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
schemaLocation |
| Constructor and Description |
|---|
NcMLGWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] arg) |
void |
writeXML(NetcdfDataset ncd,
java.io.OutputStream os,
boolean showCoords,
java.lang.String uri)
Write a NetcdfDataset as an NcML-G document to the specified stream.
|
protected static final java.lang.String schemaLocation
public void writeXML(NetcdfDataset ncd, java.io.OutputStream os, boolean showCoords, java.lang.String uri) throws java.io.IOException
ncd - write this dataset; should have opened with "add coordinates".os - write to this OutputStreamshowCoords - show 1D coordinate valuesuri - use this url, if null use getLocation()java.io.IOException - on io errorpublic static void main(java.lang.String[] arg)