thredds.inventory
Class NcmlCollectionReader
java.lang.Object
thredds.inventory.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
- Author:
- caron
Field Summary |
static org.jdom.Namespace |
ncNS
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ncNS
public static final org.jdom.Namespace ncNS
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 documenterrlog
- put error messages here
- Returns:
- the resulting NetcdfDataset
- Throws:
IOException
- on read error, or bad referencedDatasetUri URI
getNcmlOuter
public org.jdom.Element getNcmlOuter()
getNcmlInner
public org.jdom.Element getNcmlInner()
getDatasetManager
public DatasetCollectionManager getDatasetManager()
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.