Package ucar.nc2.dataset

Examples of ucar.nc2.dataset.NetcdfDatasetInfo.makeDocument()


          log.info("No global attributes describing metadata so opening dataset to get coordinate systems");
          try {
            NetcdfDatasetInfo ncDI = new NetcdfDatasetInfo("thredds:"+ds.getCatalogUrl());
            log.info("Coordinate systems builder is "+ncDI.getConventionUsed());
            if (!ncDI.getConventionUsed().equals("None")) {
              Document doc = ncDI.makeDocument();
              Element coords = doc.detachRootElement();
              log.info("Coordinate systems of dataset are: \n"+Xml.getString(coords));
              setCoordsStyleSheet(isCollection);
              addKeywordsAndDataParams(coords, md);
              foundNetcdfInfo = true;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.