// extract NcML metadata, if available
if (datasetMet.containsKey(ThreddsMetadataExtractor.SERVICE_TYPE_NCML)) {
// retrieve URL of NcML document, previously stored
final String ncmlUrl = datasetMet.getMetadata(ThreddsMetadataExtractor.SERVICE_TYPE_NCML);
MetadataExtractor ncmlExtractor = new NcmlMetadataExtractor(ncmlUrl);
ncmlExtractor.extract(datasetMet, conf);
}
// debug: write out all metadata entries
for (String key : datasetMet.getAllKeys()) {
LOG.log(Level.FINER, "Metadata key="+key+" value="+datasetMet.getMetadata(key));