Package ucar.nc2.ncml

Class NcMLGWriter

    • Constructor Detail

      • NcMLGWriter

        public NcMLGWriter()
        Deprecated.
    • Method Detail

      • writeXML

        public void writeXML​(NetcdfDataset ncd,
                             OutputStream os,
                             boolean showCoords,
                             String uri)
                      throws IOException
        Deprecated.
        Write a NetcdfDataset as an NcML-G document to the specified stream.
        Parameters:
        ncd - write this dataset; should have opened with "add coordinates".
        os - write to this OutputStream
        showCoords - show 1D coordinate values
        uri - use this url, if null use getLocation()
        Throws:
        IOException - on io error