ucar.nc2.ncml
Class NcmlConstructor
java.lang.Object
ucar.nc2.ncml.NcmlConstructor
public class NcmlConstructor
- extends Object
Populate a NetcdfFile directly from NcML, can be used by IOSPs.
All ncml elements are new, not modified.
- Since:
- Feb 26, 2011
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NcmlConstructor
public NcmlConstructor()
getErrlog
public Formatter getErrlog()
populateFromResource
public boolean populateFromResource(String resourceLocation,
NetcdfFile target)
throws IOException
- Parameters:
resourceLocation
- eg "resources/nj22/iosp/ghcnm.ncml"target
- populate this file
- Returns:
- true if success
- Throws:
IOException
- on error
populate
public boolean populate(String ncml,
NetcdfFile target)
throws IOException
- Throws:
IOException
populate
public boolean populate(InputStream ncml,
NetcdfFile target)
throws IOException
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.