//--- ISO: gmd:keywords
boolean foundNetcdfInfo = false;
if (!globalAttributes && !isCollection) {
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;
} else {
if(log.isDebugEnabled()) log.debug("Coordinate system convention is not recognized");
}
ncDI.close();
} catch (Exception e) {
log.info("Exception raised in netcdfDatasetInfo ops: "+e);
e.printStackTrace();
}
}