Class NcmlCollectionReader


  • public class NcmlCollectionReader
    extends Object
    Convert NcML into a CollectionManager. Must have aggregation and scan/scanFmrc element. Tracks inner and outer ncml modifications.
    Since:
    Feb 24, 2010
    • Method Detail

      • readNcML

        @Deprecated
        public static NcmlCollectionReader readNcML​(String ncmlString,
                                                    Formatter errlog)
                                             throws IOException
        Read an NcML file from a String, and construct a NcmlCollectionReader from its scan or scanFmrc element.
        Parameters:
        ncmlString - the NcML to construct the reader from
        errlog - put error messages here
        Returns:
        the resulting NetcdfDataset
        Throws:
        IOException - on read error, or bad referencedDatasetUri URI
      • readNcml

        public static NcmlCollectionReader readNcml​(String ncmlString,
                                                    Formatter errlog)
                                             throws IOException
        Read an NcML file from a String, and construct a NcmlCollectionReader from its scan or scanFmrc element.
        Parameters:
        ncmlString - the NcML to construct the reader from
        errlog - put error messages here
        Returns:
        the resulting NetcdfDataset
        Throws:
        IOException - on read error, or bad referencedDatasetUri URI
      • open

        public static NcmlCollectionReader open​(String ncmlLocation,
                                                Formatter errlog)
                                         throws IOException
        Read an NcML file from a URL location, and construct a NcmlCollectionReader from its scan or scanFmrc element.
        Parameters:
        ncmlLocation - the URL location string of the NcML document
        errlog - put error messages here
        Returns:
        the resulting NetcdfDataset
        Throws:
        IOException - on read error, or bad referencedDatasetUri URI
      • getNcmlOuter

        public org.jdom2.Element getNcmlOuter()
      • getNcmlInner

        public org.jdom2.Element getNcmlInner()